[patch] KTimezone tests
David Jarvie
lists at astrojar.org.uk
Sat Dec 31 09:13:23 GMT 2005
On Thursday 29 December 2005 22:56, Brad Hards wrote:
> 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.
I was inaccurate in this - it's actually the libc variables tzname[0] and
tzname[1], not the environment variable TZ, which are used.
> > 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.
--
David Jarvie.
KAlarm author and maintainer.
http://www.astrojar.org.uk/linux/kalarm.html
More information about the kde-core-devel
mailing list