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