Time in Kubuntu

Nils Kassube kassube at gmx.net
Tue Oct 18 18:18:46 UTC 2016


Teimuraz Abashidze wrote:
> I've got the same issue. Kubuntu 16.04, time in system tray is 4 hours
> different from system time. Before it it was always OK.
> Also as I had set it to show time in 24 hour format, it didn't, just
> showing e.g. 10:20 (or 10:20 AM if I swithc 24 hours showing off).

So you have found even more errors than Igor.

> After number of swith on/swith off and other experiments, now it shows
> correct time in stsrem tray, even 24 hours format- 22:21. but system
> time is:
> 
> Mon Oct 17 06:21:37 +04 2016
> 
> My timezone is really +4 Tbilisi/Asia, but local time is actually
> 22:21. It seems that it shows UTC time as local in console.

You mean with the "date" command?

> And also:
> 
> # hwclock
> hwclock: Warning: unrecognized third line in adjtime file
> (Expected: `UTC' or `LOCAL' or nothing.)
> Mon 17 Oct 2016 10:23:34 AM +04  .901510 seconds
> 
> Maybe that is the reason? I've checked /etc/adjtime:
> 
> # cat /etc/adjtime
> 0.0 0 0.0
> 0
> LOCAL
> 
> It seems that this is correct, isn't it? So what can be the reason of
> such strange behavior?

Maybe there is a missing newline or an additional space at the end of 
the third line. Both would give the error message above.

But I can't imagine that it would be the reason for the wrong display 
because on my system the adjtime file is OK. Still if I set the time 
zone to Tbilisi or Kiev, the system tray clock is wrong, like you and 
Igor explained.

My conclusion: Either the fault is caused by some bad time zone files 
which came with the recent update of the tzdata package, or there is a 
bug in the way the clock widget (or some other component of KDE) reads 
those files.

As a workaround you could revert the update of the tzdata package or you 
could set a different time zone which has the same offset from UTC as 
your time zone (until a future update corrects the fault).


Nils





More information about the kubuntu-users mailing list