Bug 402067

Summary: Digital Clock widget doesn't show the right time
Product: [Plasma] plasmashell Reporter: Najjar <abderrahman.najjar>
Component: Digital Clock widgetAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: major CC: kde, nate
Priority: NOR    
Version First Reported In: 5.14.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Digital Clock Settings - Time Zones
Digital Clock - Calendar

Description Najjar 2018-12-12 19:33:11 UTC
Created attachment 116882 [details]
Digital Clock Settings - Time Zones

After the recent 5.14.4 upgrade the Digital Clock plasmoid stopped working as expected.
 
The plasmoid shows local time correctly (set to UTC), but additional time-zones aren't.
My locale is set to en_US.UTF-8.

Here's the output of $ timedatectl:

               Local time: Wed 2018-12-12 19:10:34 UTC
           Universal time: Wed 2018-12-12 19:10:34 UTC
                 RTC time: Wed 2018-12-12 19:10:34
                Time zone: Etc/UTC (UTC, +0000)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no

The current time shown in various custom time-zones in the plasmoid are in the year 2086! Attached is a screenshot that includes different zones.

arch 4.19.8-arch1-1-ARCH x86_64 GNU/Linux
KDE Plasma Version: 5.14.4-2 
KDE Frameworks Version: 5.53.0-1
Qt Version: 5.12.0-1
Comment 1 David Edmundson 2018-12-12 19:56:27 UTC
is it just the popup that's wrong? in other words when you mousewheel that clock do the correct times appear in the panel for the other timezones?
Comment 2 Najjar 2018-12-12 20:45:40 UTC
No, the pop-up is just for demonstration. It's not showing correctly with the scrollwheel too
Comment 3 Najjar 2019-01-13 19:31:25 UTC
I've just discovered that it's not just the clock itself, but the entire widget. The calendar is also wrong (see image attached below)
Comment 4 Najjar 2019-01-13 19:33:10 UTC
Created attachment 117445 [details]
Digital Clock - Calendar

January 1, 2019 is selected. 19 January 2087 is showing instead
Comment 5 Nate Graham 2020-10-18 14:41:56 UTC
I seem to recall that this was caused by a Qt issue. Is it still happening to you with Qt 5.14 or 5.15?
Comment 6 Bug Janitor Service 2020-11-02 04:33:32 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2020-11-17 04:33:50 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!