MRAB wrote: > On Jun 13, 7:31 am, Paul Sijben <[EMAIL PROTECTED]> wrote: >> I ran into an internationalization issue. I need a consistent idea about >> the timezone my application is running on. However when I run the following: >> >>> import time >> >>> time.tzname >> >> I get back ('West-Europa (standaardtijd)', 'West-Europa (zomertijd)') >> which is in dutch (the language of the host machine) and verbose. >> I wanted to get ('CEST','CET') or something international so I can work >> with itin the same way on all platforms. >> >> That is the right way to find out the timezone in a consistent way >> across platforms (windows/linux/mac) and languages? >> > Well, time.timezone will return the timezone as an integer. > true, I am wondering if that is enough for my app. (with some of the odd timezones in the world and DTS issues and all....
-- http://mail.python.org/mailman/listinfo/python-list