diff --git a/src/Bundle/ChillMainBundle/Serializer/Normalizer/DateNormalizer.php b/src/Bundle/ChillMainBundle/Serializer/Normalizer/DateNormalizer.php index 9ee8bf158..e17c0120c 100644 --- a/src/Bundle/ChillMainBundle/Serializer/Normalizer/DateNormalizer.php +++ b/src/Bundle/ChillMainBundle/Serializer/Normalizer/DateNormalizer.php @@ -74,12 +74,14 @@ class DateNormalizer implements ContextAwareNormalizerInterface, DenormalizerInt $formatterLong = \IntlDateFormatter::create( $locale, \IntlDateFormatter::LONG, - $hasTime ? \IntlDateFormatter::SHORT : \IntlDateFormatter::NONE + $hasTime ? \IntlDateFormatter::SHORT : \IntlDateFormatter::NONE, + $date->getTimezone(), ); $formatterShort = \IntlDateFormatter::create( $locale, \IntlDateFormatter::SHORT, - $hasTime ? \IntlDateFormatter::SHORT : \IntlDateFormatter::NONE + $hasTime ? \IntlDateFormatter::SHORT : \IntlDateFormatter::NONE, + $date->getTimezone(), ); return [