diff options
Diffstat (limited to 'application/Utils.php')
-rw-r--r-- | application/Utils.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/application/Utils.php b/application/Utils.php index 952378ab..c5cd884b 100644 --- a/application/Utils.php +++ b/application/Utils.php | |||
@@ -323,6 +323,7 @@ function format_date($date, $time = true, $intl = true) | |||
323 | IntlDateFormatter::LONG, | 323 | IntlDateFormatter::LONG, |
324 | $time ? IntlDateFormatter::LONG : IntlDateFormatter::NONE | 324 | $time ? IntlDateFormatter::LONG : IntlDateFormatter::NONE |
325 | ); | 325 | ); |
326 | $formatter->setTimeZone($date->getTimezone()); | ||
326 | 327 | ||
327 | return $formatter->format($date); | 328 | return $formatter->format($date); |
328 | } | 329 | } |