I have been struggling with timezones in my application as well. I've
looked into using the PyTZ module from http://pytz.sourceforge.net/
PyTZ is basically an implementation for the tzinfo parameter of the
datetime module.
It can do some pretty neat things, such as taking a naive datetime (a
datetime without a timezone) and localizing it for a given timezone
(takes care of daylight savings time automatically).

That's the most I have done with it so far, but I'm sure it can do more
so it might be worth looking into.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to