[Panel-devel] [Bug 154102] timezone assumed to be UTC in clock, no way to tell it otherwise

jamese james.ellis at gmail.com
Sun Dec 16 01:45:55 CET 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=154102         




------- Additional Comments From james.ellis gmail com  2007-12-16 01:45 -------
Hi

Thanks for the feedback

I created a new KDE4 user as I thought KDE3.5 might be fooling with something.

Checked .xsession-errors with the following results:

$ grep "local zone" .xsession-errors

korgac(12020)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "/etc/localtime"
plasma(12004)/kdecore (K*TimeZone*) KSystemTimeZonesPrivate::readConfig: readConfig(): local zone= "/etc/localtime"

/etc/localtime is a binary file, have no idea how to check what the contents are.


k4 box:~$ date
Sun Dec 16 11:24:23 EST 2007

k4 box:~$ date -R
Sun, 16 Dec 2007 11:24:28 +1100

k4 box:~$ date -u
Sun Dec 16 00:24:31 UTC 2007


So here is how I can reproduce it with my new k4 user:
1. Panel clock says: "11:29 Sunday Local"
2. Add a Digital Clock widget
3. Hit the spanner to Configure
4. Appearance > Check show timezone > Apply > OK
5. New clock on desktop says 11:29 Sunday Local
6. Configure again
7. Timezones > America/New York > Apply > OK
8. Time in clock changes to *correct* time in New York, 19:29 Saturday America/New York, confirmed by
http://www.google.com.au/search?q=time+in+new+york
9. About 10 seconds later it changes to 06:29 Sunday America/New York, which is correct for 5 hours behind 11:29 Sunday UTC

What would be the log to tail to find out why the swap is happening ?

The only other thing to add is that it would be nice for the timezone to be written in as Australia/Sydney rather than "Local" - if I fly to Australia/Perth - "Local" is not the correct thing to have as its meaning changes but the time stays the same, plus a UTC selection in the timezones list would be nice - I guess I can open a "wish".

I'm not dual booting and the maths should be simple enough to handle a system clock in "X" timezone.

Hope this helps, let me know if I can be of more assistance.
James


More information about the Panel-devel mailing list