I am getting this message:
Invalid datetime "2017-11-07T19:46:57.118Z", expected format Y-m-d\\TH:i:sP.
When using JMS Serializer and the config:
jms_serializer:
handlers:
datetime:
default_format: 'Y-m-d\\TH:i:sP'
I think that my supplied date is in the correct format, but apparently not. Is it something that is wrong with the date?
Y-m-d\TH:i:sP'
– Nagpur.118
. it seems to be microsecond – Nagpurdefault_format: "c"
? – Villainage