https://bugs.kde.org/show_bug.cgi?id=405288

            Bug ID: 405288
           Summary: Digital Clock shows incorrect time
           Product: plasmashell
           Version: 5.14.5
          Platform: Debian testing
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Digital Clock
          Assignee: plasma-b...@kde.org
          Reporter: newsletterb...@gmail.com
  Target Milestone: 1.0

SUMMARY

I'm in EST(UTC-05:00) timezone. It's March 9th 2019 19:02 EST right now. My
Digital Clock widget shows my time in EST. It shows it correctly.

However, I have added a Tokyo timezone (aka JST) in "Configure Digital
Clock..." -> "Time Zones" -> "Tokyo", so that whenever I hover my mouse over
the Digital Clock widget it shows a tooltip with the time in JST. The time in
JST is incorrect. The Digital Clock widget shows that it's currently 10:02 in
JST. It's currently 09:02 in JST though. I have double checked this online,
also if you calculate the time difference between -5 and +9 timezones you will
get 14, and 19:02 + 14h is 09:02, not 10:02.

There is a timezone switch happening in 7 or so hours, EST (UTC-05:00) changes
to EDT (UTC-04:00) on March 10th 02:00 EST. However, JST is UTC+09:00 all year
round. Perhaps there is some bug with time change happening? But even if the
clock thought I was currently in EDT, which it shouldn't until the time
actually changes in 7h but let's assume it does think so, 19:02 EDT would be
08:02 JST, not 10:02 JST, so something funky is going on.

Interestingly enough, if I add UTC timezone to the Digital Clock widget, it
displays 00:02 UTC in the tooltip correctly. It still keeps displaying 10:02
JST though, even though JST is UTC+09:00 all year around, Japan doesn't change
clocks to daylight savings.

My tzdata is up to date.


STEPS TO REPRODUCE
1. Set system time to March 9th 2019, 19:02 EST
2. Add UTC and Tokyo timezones to Digital Clock widget
3. Check UTC and JST clocks in Digital Clock widget's tool tip

OBSERVED RESULT
EST: 19:02:00
UTC: 00:02:00
JST: 10:02:00

EXPECTED RESULT
EST: 19:02:00
UTC: 00:02:00
JST: 09:02:00

SOFTWARE/OS VERSIONS
Linux: Debian Testing amd64, Linux 4.19.0-2
KDE Plasma Version: 5.14.5
KDE Frameworks Version: 5.54.0
Qt Version: 5.11.3

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to