mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-27 20:46:14 +00:00
Fix date normalization: use the same timezone consistently
This commit is contained in:
parent
40fec3c530
commit
b59b4a644b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user