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

Alex Merry huntedhacker at tiscali.co.uk
Sun Dec 16 16:24:20 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 huntedhacker tiscali co uk  2007-12-16 16:24 -------
That's... really bizarre.  It's figuring out that /etc/timezone doesn't have anything useful in it (that's checkTimezone(): local = false).  Then it, for some reason, decides that the file at /etc/localtime corresponds to the time zone "/etc/localtime", which is just weird.

Can you give the output of "ls -l /etc/localtime"?

Unfortunately, you can't compile in the patch using Kubuntu packages.

The reason it shows the correct time first and then an incorrect time thereafter is that there are two different methods called, one when first switching to a new timezone, and another on every minute change after that.  These two methods previously calculated the time in two different ways (for some reason).

I've now changed it so that they both calculate it in the same way: the method that worked on your system.

I suspect that putting "Australia/Sydney" into your /etc/timezone then rebooting (so that the init scripts update /etc/localtime) will fix your problems in the meantime.  If that works, I suggest we close this as INVALID, on the basis it is almost certainly a system configuration problem.


More information about the Panel-devel mailing list