mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-12 13:24:25 +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':
|
case 'json':
|
||||||
return [
|
return [
|
||||||
'datetime' => $date->format(DateTimeInterface::ISO8601),
|
'datetime' => $date->format(DateTimeInterface::ISO8601),
|
||||||
|
'datetime8601' => $date->format(DateTimeInterface::ATOM),
|
||||||
];
|
];
|
||||||
|
|
||||||
case 'docgen':
|
case 'docgen':
|
||||||
|
Loading…
x
Reference in New Issue
Block a user