mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-20 14:43:49 +00:00
add true iso8601 format to date normalizer
This commit is contained in:
@@ -72,6 +72,7 @@ class DateNormalizer implements ContextAwareNormalizerInterface, DenormalizerInt
|
||||
case 'json':
|
||||
return [
|
||||
'datetime' => $date->format(DateTimeInterface::ISO8601),
|
||||
'datetime8601' => $date->format(DateTimeInterface::ATOM),
|
||||
];
|
||||
|
||||
case 'docgen':
|
||||
|
Reference in New Issue
Block a user