Bug 393537 - Can't turn off timezone display
Summary: Can't turn off timezone display
Status: RESOLVED DOWNSTREAM
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock (show other bugs)
Version: 5.12.1
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-26 11:45 UTC by groot
Modified: 2018-05-17 11:12 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
config file (4.26 KB, text/plain)
2018-05-17 09:19 UTC, groot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description groot 2018-04-26 11:45:41 UTC
My system has the system clock set to UTC. In the Plasma digital clock, Digital Clock Settings -> Appearance has *use 24 hour clock* checked. Not checked are *show date* *show seconds* and *show local time zone*. In the tab * Time Zones*, exactly one timezone is checked: Amsterdam (CEST).

The digital clock displays the time as *13:43 (CEST)* -- so with the timezone, even though I didn't ask for it. If I uncheck all the timezones so that "UTC / Local" is automatically selected, then the timezone is no longer displayed, but I get 11:43 which isn't correct either (well, that **is** the time in UTC, but not what I wanted).

If only one timezone is selected, and *show local timezone* is off (I assume it means "display the tz label") then no timezone indicator should be shown.
Comment 1 David Edmundson 2018-04-30 09:45:02 UTC
Please attach your ~/.config/plasma-org.kde.plasma.desktop-appletsrc

Reset bug status to unconfirmed when replying
Comment 2 Christoph Feck 2018-05-17 00:59:05 UTC
If you can provide the information requested in comment #1, please add it.
Comment 3 groot 2018-05-17 09:19:24 UTC
Created attachment 112703 [details]
config file

This is the requested config file (I missed David's original question from april 30th).
Comment 4 groot 2018-05-17 09:20:05 UTC
-> unconfirmed, as requested
Comment 5 groot 2018-05-17 11:12:29 UTC
It's actually a Qt bug(-ish), not related to Plasma. Qt wants /etc/localtime to be a symlink, not a file. On FreeBSD, it is normally a file (copied from somewhere under /usr/share/zoneinfo). Replacing /etc/localtime with a symlink to the source file resolves the issue. I think we'll have to improve documentation on the FreeBSD side and/or work harder in the Qt port to remove that assumption (about the symlink-ness of /etc/localtime).