My time is Europe/Samara. It is UTC +04:00. It is all correctly displayed in system's date command, in timedatectl, in Date and Tyme in System Settings, everywhere, but widgets. Analog clock shows UTC time, Digital Clock shows UTC-04:00. When I choose another UTC +04:00 timezone (Tbilisi or Yerevan), the result is the same as with Europe/Samara. Dubai, Muscat, Mahe and Maurikius timezones are ok. Reproducible: Always Steps to Reproduce: 1. Set local timezone to Samara or Tbilisi or Yerevan. 2. Add analog clock widget and/or digital clock widget with local (system) timezone. 3. See the time Actual Results: Times are UTC-4 for digital and UTC for analog clock Expected Results: UTC+4 $ timedatectl Local time: Wed 2016-10-05 22:44:07 +04 Universal time: Wed 2016-10-05 18:44:07 UTC RTC time: Wed 2016-10-05 18:44:07 Time zone: Europe/Samara (+04, +0400) Network time on: yes NTP synchronized: yes RTC in local TZ: no $ date Wed Oct 5 22:44:11 +04 2016 $ cat ~/.kde/share/config/ktimezonedrc [TimeZones] LocalZone=Europe/Samara ZoneinfoDir=/usr/share/zoneinfo Zonetab=/usr/share/zoneinfo/zone.tab ZonetabCache=
I have the same issue. My timezone is Europe/Minsk +03. Analog clock shows UTC time (-3 hours). Digital clock shows time in timezone -03 (-6 hours).
Created attachment 101495 [details] Digital (-6 hours) and analog (-3 hours) clock
Created attachment 101498 [details] Fix digital clock offset
KDE Plasma 5.6.5 KDE Frameworks 5.23.0 Qt 5.5.1 h@le5530:~$ date Ср окт 12 15:23:40 +05 2016 h@le5530:~$ cat ~/.kde/share/config/ktimezonedrc [TimeZones] LocalZone=Asia/Yekaterinburg ZoneinfoDir=/usr/share/zoneinfo Zonetab=/usr/share/zoneinfo/zone.tab ZonetabCache= h@le5530:~$ timedatectl Local time: Ср 2016-10-12 15:24:33 +05 Universal time: Ср 2016-10-12 10:24:33 UTC RTC time: Ср 2016-10-12 10:24:33 Time zone: Asia/Yekaterinburg (+05, +0500) Network time on: yes NTP synchronized: yes RTC in local TZ: no digital clock show 5:24 - 10 hours, because timezone +5 patch of VIC fixed time in digital clock panel, but not fixed in hover box, if selected more than one timezone
Urgh, yeah - your patch is right. It just needs to be in Tooltip.qml too
Bug also in DataEngine "time" / DataSource "Local" / key "Offset" is always 0 (Zero).
Edit: Your patch isn't universally right - it's making mine (which was previously correct) off. I'll try and look into it, and ideally just move all this logic out of the JS space
(In reply to vic from comment #6) > Bug also in DataEngine "time" / DataSource "Local" / key "Offset" is always > 0 (Zero). https://bugreports.qt.io/browse/QTBUG-53071 "QTimeZone mishandles tzdata 2016b and later in Russia, Kazakhstan"
So with that, is everything fine?
Bug only in Qt. My patch is a temporary workaround for numeric timezones as Europe/Minsk, Europe/Samara, Asia/Yekaterinburg and etc. Close it!
I have exactly the same situation on my Fedora 24. Timezone is Asia/Tbilisi.
Fix is in Qt 5.6.2, 5.7.1 If you still have the problem after upgrading to those Qt versions please reopen this bug.
*** Bug 371198 has been marked as a duplicate of this bug. ***
*** Bug 370408 has been marked as a duplicate of this bug. ***
*** Bug 370989 has been marked as a duplicate of this bug. ***
*** Bug 371401 has been marked as a duplicate of this bug. ***
*** Bug 371512 has been marked as a duplicate of this bug. ***
*** Bug 373709 has been marked as a duplicate of this bug. ***
When Qt version upgraded to 5.7.1 to the Neon/user?