tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: [OT] Displaying Time Zones for user preferences
Date Thu, 22 Dec 2011 22:04:43 GMT
Hash: SHA1


On 12/22/11 3:51 PM, André Warnier wrote:
> As Konstantin points out separately, if you are going to use the
> local timezone for anything "serious", then you could get yourself
> into a lot of complications.

No, he's just saying "once a timezone, always a timezone".

> And who says the users are going to go though the trouble of
> selecting the right zone anyway?

Mine are. We have had complaints that all our timestamps are in "New
York" time. Actually, the real complaint was that we were displaying
timestamps without a time zone /at all/ and we had to tell them that
everything was in America/New_York.

Since I had to do a crapload of work just to get "EST" or "EDT"
displayed after our timestamps (because we convert from java.util.Date
- -> xs:dateTime -> on-screen format... it's a horrible mess of
poorly-compatible APIs, etc.), I figured I may as well make it
user-selectable. Now that it's user-selectable, we may as well allow
the user to, well, select it. :)

> and what if the user indeed spends his time traveling and making
> the life of the site designer difficult, like you above ? And what
> about users who are connecting first to their corporation's VPN
> from wherever they are, and of which all subsequent accesses appear
> to come from that corporation's firewall.

They can set their time zone to anything they want. And they can
change it. Or they can leave everything set to the default

> Oh wait, that was an argument against using GeoIP, wasn't it ?


- -chris
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools -
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message