Bug 407265 - Digital clock shows local time zone although this is not selected
Summary: Digital clock shows local time zone although this is not selected
Status: RESOLVED NOT A BUG
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (show other bugs)
Version: 5.12.8
Platform: Other Linux
: NOR minor
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-05-06 09:48 UTC by imaginator
Modified: 2019-05-06 15:21 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
screenshot of dig. clock showing time zone although option not selected (39.08 KB, image/png)
2019-05-06 09:48 UTC, imaginator
Details
screenshot: timezone, system time, digital-clock-time (104.06 KB, image/png)
2019-05-06 10:18 UTC, imaginator
Details

Note You need to log in before you can comment on or make changes to this bug.
Description imaginator 2019-05-06 09:48:29 UTC
Created attachment 119863 [details]
screenshot of dig. clock showing time zone although option not selected

The digital clock shows the local time zone although this option is not selected (see attached screenshot).
Comment 1 David Edmundson 2019-05-06 09:52:53 UTC
The timezone will still show if the clock is displaying a fixed timezone instead of the non local one.

Please include a screenshot of the "timezones" tab and confirm only the topmost checkbox is ticked.
Comment 2 imaginator 2019-05-06 10:18:48 UTC
Created attachment 119865 [details]
screenshot: timezone, system time, digital-clock-time

Alright, the screenshot shows what I get if only UTC is selected: the timezone in parentheses is gone but as you can see the digital clock is two hours behind local time. 


When I select "Berlin" *only*, the time is right but "(CEST)" is shown.
Comment 3 David Edmundson 2019-05-06 11:17:36 UTC
So we're not reading your local timezone correctly. 

That will cause other issues and is the issue that needs rectifying. 

How did you set it?

Can I see the output of: timedatectl show
Comment 4 imaginator 2019-05-06 13:34:52 UTC
(In reply to David Edmundson from comment #3)
> So we're not reading your local timezone correctly. 
> 
> That will cause other issues and is the issue that needs rectifying. 
> 
> How did you set it?
The time is set via a script in /etc/sysconfig. The hw-clock *is* set to UTC.

> 
> Can I see the output of: timedatectl show
"timedatectl show" is systemd, I guess? I'm a bit retro in this respect, so I think the equivalent on my system would be:

sudo hwclock --show
2019-05-06 15:26:00.264926+0200

At that time the digital clock stood at 15:26 (CEST).
Comment 5 David Edmundson 2019-05-06 14:13:05 UTC
What's relevant is where the symlink /etc/localtime points to.
Comment 6 imaginator 2019-05-06 14:54:23 UTC
(In reply to David Edmundson from comment #5)
> What's relevant is where the symlink /etc/localtime points to.
OK, my bad - /etc/localtime didn't point anywhere.
Creating the symlink to /usr/share/zoneinfo/Europe/Berlin put things right. 
The setting of "Show local timezone" is being respected now.

Thanks a lot! And I hope I didn't take too much of your time.
Comment 7 David Edmundson 2019-05-06 15:21:10 UTC
r
Comment 8 David Edmundson 2019-05-06 15:21:15 UTC
no problem