On 1 juin 2012, at 20:56, Artem Andreev wrote: > seems as a lot of systems expect datetime naive
Yes, that's unfortunate. All hope is not lost. 10 years ago, lots of systems expected ASCII and choked on UTF-8; some have improved since then. > I should converts a lot of manually, which increases the possibility of > error. Maybe this is just my experience. You should be able to control this problem with a function or class that handles all you AJAX responses. When you say "AJAX", I suppose you're returning JSON. This function would walk through the datastructure, find datetimes, and convert them to local time, before serializing in JSON. Best regards, -- Aymeric. -- You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.