Your datetime is converted to ISO8601 format. "1931-09-07T22:00:00.000Z" is a datetime in UTC time zone. In .net to deserialize it correctly use datetimeoffset
ISO8601 http://en.wikipedia.org/wiki/ISO_8601 On Monday, May 28, 2012 8:21:21 AM UTC-5, E_lexy wrote: > > I have a datepicker that does not play nice with my backend. > > My backend (http://jmsyst.com/bundles/JMSSerializerBundle) serializes php > DateTime objects like this: > "1923-10-07T22:00:00+0000" > This gets interpreted by Angular just fine. > > When I implement the > datepicker<https://github.com/petebacondarwin/angular-ui/blob/master/modules/directives/date/src/date.js>the > date is not seen in the picker and what is sent back changes to this > format: > "1931-09-07T22:00:00.000Z" > > Which my server doesn't understand. > > What is the right way to do this? > -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
