[Dev] Re: Time zones in Chandler
yuppie
y.2004_ at wcm-solutions.de
Fri Jun 18 10:49:18 PDT 2004
Hi!
Anthony Baxter wrote:
> You really, really, really don't want to be storing timestamps as
> anything other than UTC (GMT). Timezones are a presentation thing.
[...]
> In summary: Timezones suck. We should all just use UTC for
> everything <wink>
The problem is: People don't use UTC. They use local time. And there is
no chance to convert local time to UTC without introducing errors.
See e.g. this page for some information about timezone irregularities:
<http://webexhibits.org/daylightsaving/f.html>
If I'm forced to use UTC to store an event in Chandler and lawmakers
change daylight time, I might come one hour too early or too late to my
appointment.
Maybe you want to store birth dates in Chandler, including the exact
time? And not just of living persons, but also of your grandparents? Do
you always know the correct timezone? How do you convert these dates to UTC?
These are border cases. But I think Chandler should be able to handle
border cases, not just the usual cases where timezone conversion works.
Cheers,
Yuppie
More information about the Dev
mailing list