JMS Serializer DateTime not deserializing?
问题 I have a sort of special setup of Symfony2, FOSRestBundle and JMSSerializerBundle, due to a legacy DB in the background. I'm struggling to get a PUT request working, including the deserialization of a DateTime property. First things first. This is a model snippet, notice the DateTime format: /** * @var \DateTime * * @ORM\Column(name="sys_lastmodifieddate", type="datetime", nullable=true) * * @Type("DateTime<'Y-m-d\TH:i:sP'>") * * @Expose */ private $sysLastmodifieddate; I have built a Form