Bug 1384553 - Problem with timezones after tzdata update
Summary: Problem with timezones after tzdata update
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: qt5-qtbase
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-13 14:20 UTC by Vitaly
Modified: 2016-12-14 21:31 UTC (History)
6 users (show)

Fixed In Version: qt5-qtbase-5.7.0-6.fc25
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-12-14 21:31:02 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Qt Bug Tracker QTBUG-53071 0 None None None 2016-10-13 21:12:58 UTC

Description Vitaly 2016-10-13 14:20:19 UTC
Description of problem:
After update of tzdata package to version tzdata-2016g-1.fc24, all KDE time widgets shows incorrect time for system timezone.

Version-Release number of selected component (if applicable):
KDE version: 16.08.1-1.fc24.
KF5 version: 5.26.0-1.fc24.

How reproducible:
Update tzdata package, then log out of system.


Steps to Reproduce:
1. Update tzdata package to tzdata-2016g-1.fc24.
2. Set system timezone to Asia/Yekaterinburg.
3. Log out of KDE or restart system.


Actual results:
Normal timezone time: 19:13, KDE time widget shows 9:13, screen lock shows 14:13.


Expected results:
Time: 19:13.


Additional info:
Console date tool shows correct time and timezone, so it's KDE bug.

Comment 1 Igor Gnatenko 2016-10-13 14:21:47 UTC
I tried this in GNOME and its clocks shows proper date/time.

Setting timezone is done by $ timedatectl set-timezone Asia/Yekaterinburg.

Comment 2 Rex Dieter 2016-10-13 14:26:38 UTC
hrm, I cannot reproduce this.

$ rpm -q tzdata
tzdata-2016g-1.fc24.noarch


$ timedatectl 
      Local time: Thu 2016-10-13 09:24:59 CDT
  Universal time: Thu 2016-10-13 14:24:59 UTC
        RTC time: Thu 2016-10-13 14:24:59
       Time zone: America/Chicago (CDT, -0500)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

and clock/lockscreen displays expected values for me (9:24am)


I wonder if this is timezone specific?  I'll try some others (like Asia/Yekaterinburg later)

Comment 3 Vitaly 2016-10-13 14:54:04 UTC
$ timedatectl with tzdata-2016g-1.fc24:
      Local time: Чт 2016-10-13 19:49:25 +05
  Universal time: Чт 2016-10-13 14:49:25 UTC
        RTC time: Чт 2016-10-13 14:49:25
       Time zone: Asia/Yekaterinburg (+05, +0500)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

$ timedatectl with tzdata-2016d-1.fc24 (downgraded via dnf downgrade tzdata):
      Local time: Чт 2016-10-13 19:52:28 YEKT
  Universal time: Чт 2016-10-13 14:52:28 UTC
        RTC time: Чт 2016-10-13 14:52:28
       Time zone: Asia/Yekaterinburg (YEKT, +0500)
 Network time on: yes
NTP synchronized: yes
 RTC in local TZ: no

Comment 4 Rex Dieter 2016-10-13 20:26:44 UTC
OK, so this probably has something to do with it:

before (2016d):
Asia/Yekaterinburg (YEKT, +0500)

after (2016g):
Asia/Yekaterinburg (+05, +0500)

Comment 5 Rex Dieter 2016-10-13 21:12:59 UTC
OK, appears to be a Qt bug, QTBUG-53071 , should be fixed in qt 5.6.2 coming soon.

Comment 6 Vitaly 2016-11-25 12:09:25 UTC
Problem still in Fedora 25 because it fixed only in 5.6.2 and 5.7.1. So qt5-qtbase in F25 needs to be updated to 5.7.1.

Comment 7 Rex Dieter 2016-11-25 20:15:34 UTC
This bug is against f24

Comment 8 Rex Dieter 2016-12-13 16:04:23 UTC
Confirmed fixed in f24 qt-5.6.2. update, will retarget f25

Comment 9 Rex Dieter 2016-12-13 16:04:39 UTC
%changelog
* Mon Dec 12 2016 Vitaly Zaitsev <vitaly> - 5.7.0-6
- Backported QTBUG-53071 patch to resolve problem with latest tzdata.

Comment 10 Fedora Update System 2016-12-13 16:06:11 UTC
qt5-qtbase-5.7.0-6.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2016-3a8c33253d

Comment 11 Fedora Update System 2016-12-14 02:25:25 UTC
qt5-qtbase-5.7.0-6.fc25 has been pushed to the Fedora 25 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-3a8c33253d

Comment 12 Fedora Update System 2016-12-14 21:31:02 UTC
qt5-qtbase-5.7.0-6.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.