This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE wrong time after DST change

Tags: None
(comma "," separated)
jnerin
Registered Member
Posts
3
Karma
0

KDE wrong time after DST change

Mon Nov 05, 2018 9:55 am
Hello,

I'm using Ubuntu 18.04.1 LTS fully updated, living in Ireland, /etc/localtime is a symlink to /usr/share/zoneinfo/Europe/Dublin, date in the command line is correct, so are timedatectl, the adjust Date & Time System Settings Module and xclock, but the widgets are all wrong:
  • Digital Clock is two hours behind
  • Analog Clock is two hours ahead
  • Fuzzy Clock is two hours ahead too

Code: Select all
jnerin@jnerin-vbox-kubuntu:~$ lsb_release -a
No LSB modules are available.
Distributor ID:   Ubuntu
Description:   Ubuntu 18.04.1 LTS
Release:   18.04
Codename:   bionic
jnerin@jnerin-vbox-kubuntu:~$ timedatectl
                      Local time: Mon 2018-11-05 09:29:48 GMT
                  Universal time: Mon 2018-11-05 09:29:48 UTC
                        RTC time: Mon 2018-11-05 09:29:50
                       Time zone: Europe/Dublin (GMT, +0000)
       System clock synchronized: yes
systemd-timesyncd.service active: yes
                 RTC in local TZ: no
jnerin@jnerin-vbox-kubuntu:~$ sudo timedatectl
                      Local time: Mon 2018-11-05 09:29:51 GMT
                  Universal time: Mon 2018-11-05 09:29:51 UTC
                        RTC time: Mon 2018-11-05 09:29:53
                       Time zone: Europe/Dublin (GMT, +0000)
       System clock synchronized: yes
systemd-timesyncd.service active: yes
                 RTC in local TZ: no
jnerin@jnerin-vbox-kubuntu:~$ date ; sudo date
Mon Nov  5 09:29:56 GMT 2018
Mon Nov  5 09:29:56 GMT 2018
jnerin@jnerin-vbox-kubuntu:~$ ls -l /etc/localtime
lrwxrwxrwx 1 root root 33 Oct 31 07:43 /etc/localtime -> /usr/share/zoneinfo/Europe/Dublin


See a screenshot of the situation:
https://i.imgur.com/PWZK2Zk.png (Ignore the differences in minutes while I setup everything for the screenshot, minutes are right, it's hours the ones that differ)

I've tried removing the widgets, even the panels, even rebooting with no panels and adding them back later.

Does anyone have any idea?

Thank you.
macplaxton
Registered Member
Posts
2
Karma
0

Re: KDE wrong time after DST change

Sun Dec 16, 2018 5:57 pm
jnerin wrote:[*] Digital Clock is two hours behind
[*] Analog Clock is two hours ahead
[*] Fuzzy Clock is two hours ahead too[/list]

[snip]

Does anyone have any idea?


I've just "upgraded" from openSUSE 42.2 to openSUSE Leap 15 with the default KDE. Whilst I can't pinpoint that it went went haywire with the DST change, it may have been wonky when I did the intermediate upgrade from 42.2 to 42.3. Like yourself, the system time is correct and everything. The login screen shows the correct time, as does the clock in the adjustment settings, but not the actual clock in the corner of the desktop. The digital clock is -2h (GMT -2) and the Analogue and Fuzzy clocks are +2h (GMT +2).

If I change the time zone to London in the digital clock settings, it is still slow at -1h (GMT -1). If I change it to Paris, I get the correct CET time (GMT +1). If I then change from Paris to London, I get the correct UK time (GMT). Then change from London to Dublin it is only one hour slow (GMT -1), but after about a minute or so after applying the change it falls back another hour to get me back to where I started being -2h out.
macplaxton
Registered Member
Posts
2
Karma
0

Re: KDE wrong time after DST change

Mon Dec 17, 2018 7:55 am
I now have correct time on all three clocks in the correct timezone.

Latest openSUSE package for "timezone" was 2018g, so I rolled back to 2018d. The 2018d (May 2018) version is the one before changes to were made to Ireland's timezone data.

In the release notes for 2018e:
+ * Ireland's standard time is in the summer, with negative DST
+offset to standard time used in Winter (bsc#1073299)


The affected clock(s) must be misbehaving due to the negative DST offset. I think it's a case of fixing one thing has broken another :-)

ETA: https://bugzilla.suse.com/show_bug.cgi?id=1114570


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]