Skip to content

Commit 9ac7c8a

Browse files
committed
small fix but need refactor
1 parent 78b2b63 commit 9ac7c8a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

core/src/Core.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4689,6 +4689,8 @@ public function toDateFormat($timestamp = 0, $mode = '')
46894689
$strTime = strftime($dateFormat, $timestamp);
46904690
} elseif ($mode === 'formatOnly') {
46914691
$strTime = $dateFormat;
4692+
} elseif ($mode === 'timeOnly') {
4693+
$strTime = $dateFormat;
46924694
}
46934695
}
46944696

0 commit comments

Comments
 (0)