[Zope3-dev] The Date Time and TimeZone question

Lennart Regebro lennart@torped.se
Sun, 17 Mar 2002 00:13:16 +0100


>If you leave it up to the platform, then the answers you get depend on the
>platform you happen to be using

Only if one of the platforms are incorrect. That incorrectness will more
likely than not be because the time zone information on one of the systems
is not updated. That can happen even if the two systems use the time system.
And if one uses a private system that noone else is using, it is even more
likely that the information will be incorrect. And I guess that the system
admins will be *very* surprised when they update their operating systems
zone information and python/zope ignores that update.

> If by "solved" you mean someone has come up with a specific system and
> claimed to have solved the problem thereby, sure, it's been solved
hundreds
> of times.

I don't like arguing, and I dislike fighting. I have shared my thoughts on
the subject, and unless somebody can tell me exactly what problem nobody has
solved before that need somebody to reinvent the wheel yet another time,
then my views on the subject have not changed.

Summary and famouts last (ha!) words on this matter:

I think Guidos proposal are excellent, except for two things.
1. I don't think adding 24 hours and adding 1 day should amount to the same
thing on DST boundaries.
2. I don't see the problem with asking the operating system for time zone
information when converting between local time an UTC.