On Sun, 2007-08-19 at 19:54 +1000, Malcolm Tredinnick wrote: [...] > So, either use something like "CET-2" or use the more descriptive names. > These names used to be in the PostgreSQL documentation, but I just > noticed that they have been removed in the latest version. So check a > slightly older version of the PostgreSQL documentation (using a similar > link to that in settings.py above TIME_ZONE) for some examples.
Probably the best list at the moment is http://en.wikipedia.org/wiki/List_of_tz_zones_by_name with an explanation at http://en.wikipedia.org/wiki/Zoneinfo One thing I forgot to mention and it's important: A big advantage of using the zoneinfo name for your timezone is the underlying C library will then return the daylight-saving-aware version of the time. Whereas if you use something like 'XYZ-1' it will *always* be one hour ahead of UTC, since it is a location-independent specification -- no daylight savings rules come into play. So, as a general rule, use the zoneinfo form (Europe/Vienna, etc). Regards, Malcolm -- On the other hand, you have different fingers. http://www.pointy-stick.com/blog/ --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---