Re: [Zope] insane Central Daylight Time, Zope 2.2.2
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'.
But what's "current local" mean on the web? The webserver's timezone? What I've found works ok is to put the date/time in UTC, but also include something like 21:34 10 April 2001 (3 hours ago) The system's current time is 0:45, 11 April 2001. This is what pretty much all the date/time stuff on the ekit site does - seems to work not too badly. Anthony.
Anthony Baxter wrote:
For storage and logic I agree. But for display, users like to see the time in reference to 'current local'.
But what's "current local" mean on the web? The webserver's timezone?
Point of reference. 98.9999999999% of Zope users are building WWW sites, in that case I would think they would want to use GMT from the server and maybe JS to get the client time in some cases. ??? I'm using it for a web enabled application that is used locally. I would also think that intranet developers would be concerned with local time as well? At least the smaller ones. -- Tim Cook, President - FreePM,Inc. http://www.FreePM.com Office: (901) 884-4126 ONLINE DEMO: http://www.freepm.org:8080/FreePM
On Wed, 11 Apr 2001, Tim Cook wrote:
I'm using it for a web enabled application that is used locally. I would also think that intranet developers would be concerned with local time as well? At least the smaller ones.
I certainly am. I use local time a lot on the school district Web site that I manage. Of course, I don't expect a lot of traffic from other time zones. -Tim -- Tim Wilson | Visit Sibley online: | Check out: Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/ W. St. Paul, MN | | http://slashdot.org/ wilson@visi.com | <dtml-var pithy_quote> | http://linux.com/
participants (3)
-
Anthony Baxter -
Tim Cook -
Timothy Wilson