diff --git a/e107_handlers/Shims/Internal/StrftimeTrait.php b/e107_handlers/Shims/Internal/StrftimeTrait.php index 5d062a6eb1..2245e4df05 100644 --- a/e107_handlers/Shims/Internal/StrftimeTrait.php +++ b/e107_handlers/Shims/Internal/StrftimeTrait.php @@ -71,12 +71,12 @@ protected static function date_format($datetime, $format) self::getSensibleLocale(), \IntlDateFormatter::NONE, \IntlDateFormatter::NONE, - $timezone, // More accurate timezone. @see https://stackoverflow.com/questions/31707395/why-php-intldateformatter-returns-wrong-date-1-hour + null, // More accurate timezone. @see https://stackoverflow.com/questions/31707395/why-php-intldateformatter-returns-wrong-date-1-hour null, $format ); - // datefmt_set_timezone($formatter, $timezone); + datefmt_set_timezone($formatter, $timezone); return $formatter->format($datetime); }