mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 08:03:49 +00:00
Fix date normalization: use the same timezone consistently
This commit is contained in:
@@ -89,6 +89,8 @@ class DateNormalizer implements ContextAwareNormalizerInterface, DenormalizerInt
|
||||
'long' => $formatterLong->format($date),
|
||||
];
|
||||
}
|
||||
|
||||
throw new UnexpectedValueException("format not supported: {$format}");
|
||||
}
|
||||
|
||||
public function supportsDenormalization($data, $type, $format = null): bool
|
||||
|
Reference in New Issue
Block a user