diff --git a/e107_handlers/Shims/Internal/StrftimeTrait.php b/e107_handlers/Shims/Internal/StrftimeTrait.php index 387eb8ef0..5d062a6eb 100644 --- a/e107_handlers/Shims/Internal/StrftimeTrait.php +++ b/e107_handlers/Shims/Internal/StrftimeTrait.php @@ -66,7 +66,7 @@ trait StrftimeTrait } - $timezone = 'GMT'.date('O'); + $timezone = 'GMT'.date('P'); $formatter = new \IntlDateFormatter( self::getSensibleLocale(), \IntlDateFormatter::NONE, @@ -76,6 +76,8 @@ trait StrftimeTrait $format ); + // datefmt_set_timezone($formatter, $timezone); + return $formatter->format($datetime); }