Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 587732 - dev-qt/qtcore: incorrect time for Kazakhstan cities in plasma 5 with >=timezone-data-2016d
Summary: dev-qt/qtcore: incorrect time for Kazakhstan cities in plasma 5 with >=timezo...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: https://bugreports.qt.io/browse/QTBUG...
Whiteboard: fixed in Qt 5.6.2
Keywords:
Depends on:
Blocks:
 
Reported: 2016-07-01 20:09 UTC by Samat
Modified: 2016-08-18 20:12 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
zdump -v /etc/localtime (file_587732.txt,9.86 KB, text/plain)
2016-07-01 20:09 UTC, Samat
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samat 2016-07-01 20:09:45 UTC
Created attachment 439356 [details]
zdump -v /etc/localtime

After updating to timezone-data-2016d I have strangeness with time settings in plasma 5 for any Kazakhstan cities.

My timezone is Asia/Oral

The system show correct time:
Sat Jul  2 00:26:31 +05 2016

Plasma clock widget show 2:26pm. But when I click to "Adjust Date and Time" in "Date and Time" tab displayed correct time, local timezone is correct Asia\Oral. When I lock screen I see 7:26pm. 
So at the moment I have 3 different time:
 2:26pm -5 GMT in the plasma clock widget
 0:26am +5 GMT in the system (correct)
 7:26pm  GMT in the Breeze lock screen and sddm.

For testing I change timezone settings to Asia/Almaty and Asia/Aqtau and got same results - 3 different time.

As I can see in file Asia from tzdata2016d.tar.gz, LMT was changed from lettering (ORAT, AQTT, ALMT, etc) to timezone (+05, +04, +06), seems it may be source of problem. 

With previous sys-lib/timezone-data-2016c all is correct - system, clock widget, lock screen and sddm show correct time.
Comment 1 Mike Gilbert gentoo-dev 2016-07-01 20:17:50 UTC
Giving this to KDE initially.
Comment 2 Johannes Huber (RETIRED) gentoo-dev 2016-07-01 20:22:45 UTC
What is the packaging issue here?
Comment 3 Mike Gilbert gentoo-dev 2016-07-01 20:34:41 UTC
(In reply to Johannes Huber from comment #2)
> What is the packaging issue here?

Probably none. It seems like it might be a bug in some KDE component(s).
Comment 4 Johannes Huber (RETIRED) gentoo-dev 2016-07-01 21:19:11 UTC
Please report this to bugs.kde.org.
Comment 5 Samat 2016-07-01 23:48:00 UTC
(In reply to Johannes Huber from comment #4)
> Please report this to bugs.kde.org.

Bug is already reported. 
https://bugs.kde.org/show_bug.cgi?id=362452

Is it possible to return ebuild for sys-lib/timezone-data-2016c to the portage tree?

As I can see it is deleted.

eix -s timezone-data
[I] sys-libs/timezone-data
     Available versions:  2016d ~2016e {leaps_timezone nls ELIBC="FreeBSD"}

According link below:
https://mm.icann.org/pipermail/tz-announce/2016-April/000038.html

"Many corrections to historical time in Kazakhstan from 1991
 through 2005.  (Thanks to Stepan Golosunov.)  Replace Kazakhstan's
 invented time zone abbreviations with numeric abbreviations."

I am just afraid that this global changes may be affected not KDE only.
Comment 6 SpanKY gentoo-dev 2016-07-04 05:45:59 UTC
i'm not seeing this as a bug in timezone-data.  if KDE is using the old timezone names, then it needs to update.
Comment 7 Andreas Sturmlechner gentoo-dev 2016-08-02 23:26:43 UTC
<thiago> hmm... there was a bug in parsing timezone files for some regions in Russia
[...]
<thiago> this problem existed for years, but wasn't triggered until the "2016d" update of the timezone data
Comment 8 Samat 2016-08-05 04:11:13 UTC
(In reply to Andreas Sturmlechner from comment #7)
> <thiago> hmm... there was a bug in parsing timezone files for some regions
> in Russia
> [...]
> <thiago> this problem existed for years, but wasn't triggered until the
> "2016d" update of the timezone data

After latest update I have:

dev-qt/qtcore-5.6.1
sys-libs/timezone-data-2016e

And problem seems has been resolved. The system, plasma clock widget, sddm show correct time.

Thank you!
Comment 9 Michael Palimaka (kensington) gentoo-dev 2016-08-18 20:12:24 UTC
(In reply to Samat from comment #8)
> (In reply to Andreas Sturmlechner from comment #7)
> > <thiago> hmm... there was a bug in parsing timezone files for some regions
> > in Russia
> > [...]
> > <thiago> this problem existed for years, but wasn't triggered until the
> > "2016d" update of the timezone data
> 
> After latest update I have:
> 
> dev-qt/qtcore-5.6.1
> sys-libs/timezone-data-2016e
> 
> And problem seems has been resolved. The system, plasma clock widget, sddm
> show correct time.
> 
> Thank you!

Thanks a lot for the feedback, marking as resolved.