Hi, What should the JSON serialization format for DateTime objects ? I am a bit confused, since the DateTimeField representation uses ISO-8601, and the JSONEncoder uses ECMA-262, which is slightly different (microseconds are truncated to milliseconds).
I would have expected that the DateTimeField representation would pass down a `datetime` object, to be encoded by an encoder, and the JSONEncoder would use ECMA-262, not just passing through a ISO string representation. This is anyhow the documented behaviour http://www.django-rest-framework.org/api-guide/fields/. Is this a bug or I am missing something ? Cheers, Alex -- You received this message because you are subscribed to the Google Groups "Django REST framework" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
