Le mardi 31 juillet 2012 22:34:46 UTC+2, Tejinder Singh a écrit : > > Django 1.4 does not store aware times for TimeField, it only does for > DateTimeField. Its really annoying, as python datetime.time object does > support TZINFO just like datetime.datetime objects. I wonder if it is a > bug? Btw i have tested it on postgres 9.1 database server
This is a design choice documented here: https://docs.djangoproject.com/en/dev/topics/i18n/timezones/#naive-and-aware-datetime-objects (see the last note of this section). Sorry for answering so late. -- Aymeric. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/OYB9qpXk5d0J. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.