pytz has so many timezones!

Diez B. Roggisch deets at nospam.web.de
Tue Oct 9 09:34:35 EDT 2007


mensanator at aol.com wrote:

> On Oct 8, 1:03 pm, Carsten Haese <cars... at uniqsys.com> wrote:
>> On Mon, 2007-10-08 at 10:41 -0700, mensana... at aol.com wrote:
>> > For example, Windows has seperate listings for
>>
>> > Central America
>> > Central Time (US & Canada)
>> > Guadalahara, Mexico City, Monterry - New
>> > Guadalahara, Mexico City, Monterry - Old
>> > Saskatchewan
>>
>> > but they are all GMT-6
>>
>> But they could have different rules for Daylight Saving Time.
> 
> Which only matters if you're setting your clock.

That's BS. If I'm supposed to be attending a video-conference that spans a
few continents which is scheduled using a web-app, it's VITAL that I get
the invitation and reminder rendered in MY local timezone, DST included.

And for the matter of 

"""
There are only 25 timezones: -12, -11, ... -1, 0 (GMT), +1, ... +11,
+12.
"""

who says that timezones have to be separated by one hour each? Why aren't
they separated by 30minutes, or 20, or 10? Or 2 hours? Or why don't we have
a global time?

Your 25 timezones are an abstraction the same way as are the 400 apparently
in use by people all over the world - and last time I checked, there was no
fundamental law in physics or such that limited the allowed or sensible
number of timezones...

Diez



More information about the Python-list mailing list