I have just submitted a proposal on Trac <http://
code.djangoproject.com/ticket/10587> regarding how Django should
handle datetimes.

Quick summary:

1. PostgreSQL should not have time zone set, or have time zone set to
'UTC'.

2. Django should store all datetime on DB backends as '''naive UTC'''
datetime.

3. `settings.TIME_ZONE` becomes a site-wide runtime typecast
directive. This way `settings.TIME_ZONE` can be optional if someone
doesn't care about time zones in their application. In that case it
feels more natural to operate in the timezone of the server hosting
Django.

I chose to post it to Trac because of formatting issues, so a more
thorough description is there:
<http://code.djangoproject.com/ticket/10587>

--
George
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/django-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to