Timezones now in use

Jonathan Lennox lennox at cs.columbia.edu
Tue Mar 27 14:18:41 UTC 2007


On Tuesday, March 27 2007, "Stuart Bishop" wrote to "Timezone mailing list" saying:

> Hi.
> 
> In the pytz Python library, I provide a list of common time zones. This list
> can be used to generate lists of available time zones for a user to select from.
> 
> I'm currently generating this list simply by taking all timezones and removing:
> 	- Those listed in the backwards file
> 	- Those that have a single path component except GMT and UTC
> 	- Those that start with Etc/
> 	- Those that start with SystemV/
> 
> This still leaves some false positives though, such as US/Pacific-New.
> 
> Is there a better way I should be generating this list? Or do I just need to
> blacklist irrelevant time zones as they are reported?

You're probably better off using the zones listed in the file zone.tab. This
also provides user-friendly descriptions of what geographic area each zone
covers.

-- 
Jonathan Lennox
lennox at cs.columbia.edu



More information about the tz mailing list