Re: [Zope] insane Central Daylight Time, Zope 2.2.2
Using the short form of timezone names (e.g. "EST", "PST", &c.) is a good way to get yourself really, really, _really_ confused. Use the fuller 'Australia/Victoria' or 'United States/Pacific' forms. Or just use UTC/GMT. If your system writes down any records with datestamps in them, you may find horrible things happen to you as you switch on and off daylight savings. Anthony
Tim Cook wrote Brian Lloyd wrote:
:( The problem is that DT is probably trying to do too much with magical timezone recognition. At some point, some bonehead (and I suspect it probably was me) accepted a request to add CDT to the mapping without noticing that it is a good example of an ambiguous timezone name.
Not a solution, but for part of the history, see http://lists.zope.org/pipermail/zope-dev/1999-April/000323.html where Martijn Pieters writes about a change to DT
Hmm - ok then, (because there is no specific defender of 'CDT' - the mapping was copied from some perl library) I propose to just remove it altogether (in which case the right thing should happen for both cases).
Could you do a quick test and verify if things are sane for you if 'CDT' is simply removed from the mapping?
CDT is not ambiguous at least in the US <g>. I think there was just a mistake made in the map. Didn't Dieter report that the two designations for Central European Time are CET & CEST?
-- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (901) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
_______________________________________________ Zope maillist - Zope@zope.org http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope-dev )
-- Anthony Baxter <anthony@interlink.com.au> It's never too late to have a happy childhood.
Anthony Baxter wrote:
Using the short form of timezone names (e.g. "EST", "PST", &c.) is a good way to get yourself really, really, _really_ confused. Use the fuller 'Australia/Victoria' or 'United States/Pacific' forms.
Good point, but I'm lazy and a very poor typist. :-)
Or just use UTC/GMT. If your system writes down any records with datestamps in them, you may find horrible things happen to you as you switch on and off daylight savings.
For storage and logic I agree. But for display, users like to see the time in reference to 'current local'. -- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (901) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
participants (2)
-
Anthony Baxter -
Tim Cook