[kde-linux] clock off by an hour
Philipp Paul
bobbor.pap at googlemail.com
Wed Oct 28 11:44:10 UTC 2009
i was quite surprised as well, but there really seems to exist a folder
named "US" in the zoneinfo directory in gentoo.
Could this problem have anything to do with daylight savings? since cancun
and chicago are both GMT-6 but only chicago has +1hour dalight saving time
so if you choose US/Central you get the right timezone but no daylight
changes. and since Cancun is a city where there seems to be no daylight
changes at all (correct me if i'm wrong), KDE chooses Cancun automatically
2009/10/28 David Jarvie <djarvie at kde.org>
> On Wed, October 28, 2009 3:28 am, tsuraan wrote:
> > Ok, so it looks like the probem was a conflict between my
> > /etc/localtime and KDE4's idea of what valid timezones are. I noticed
> > that system preferences doesn't list any of the US/* items that are in
> > the zoneinfo, while my actual /etc/localtime is linked to
> > /usr/share/zoneinfo/US/Central. I guess that the discrepancy between
> > KDE's idea of valid timezones and my current time zone was breaking
> > things, so it decided to put me in Cancun. I think there's probably a
> > more graceful way to handle that case, but setting my /etc/localtime
> > to America/Chicago instead of US/Central let KDE remember my timezone,
> > which is good enough for me (although it is a few hundred miles off
> > :).
>
> In the standard time zone database on Linux, all time zones are named in
> the form continent/city. So there are no US/... time zones - only
> America/... ones. America/Chicago happens to be the name which is used in
> the database for US central time, so that's the correct zone to choose
> whether you live in Chicago or in Arkansas, Mississippi, etc.
>
> When /etc/localtime pointed to US/Central, it wouldn't point to any valid
> time zone data - it's strange that the system allowed the invalid link to
> US/Central to be set up in the first place. Why it settled on Cancun, I
> don't know, but it's not surprising that it had some unwanted effects.
>
> --
> David Jarvie.
> KDE developer.
> KAlarm author & maintainer.
> http://www.astrojar.org.uk/kalarm
>
> ___________________________________________________
> This message is from the kde-linux mailing list.
> Account management: https://mail.kde.org/mailman/listinfo/kde-linux.
> Archives: http://lists.kde.org/.
> More info: http://www.kde.org/faq.html.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-linux/attachments/20091028/b1122aee/attachment.html>
More information about the kde-linux
mailing list