[patch] KTimezone tests

Brad Hards bradh at frogmouth.net
Thu Dec 29 22:56:11 GMT 2005


On Friday 30 December 2005 07:13 am, Shaheed wrote:
> On Thursday 29 December 2005 13:34, David Jarvie wrote:
> > It looks like KSystemTimezones::local() for some reason isn't finding a
> > match between your /etc/localtime and any of the files in
> > /usr/share/zoneinfo. (The file should have the same contents as one of
> > the zoneinfo files.) This presumably is due either to there being no
> > matching file, or due to it not being listed in
> > /usr/share/zoneinfo/zone.tab. After failing to find a match, the value of
> > the TZ environment variable is used as a fallback. This ('EST')
> > translates to a UTC offset of -5 hours (the -18000 which the test
> > reports).
There is no TZ environmental variable set.

> P.S. Is there a reason you prefer to use "EST" rather than
> "America/New_York"? Note that if you use the kcmshell clock to select the
> system timezone, it will always use an entry from zone.tab, and you will
> not have this problem.
It isn't America/New_York. It would be "Australia/Sydney", but I just left it 
the way FC4 set it up.

Brad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20051230/76ba1d02/attachment.sig>


More information about the kde-core-devel mailing list