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

            Bug ID: 495301
           Summary: setting TZ environment variable knackers digital clock
                    widget
    Classification: Plasma
           Product: plasmashell
           Version: 5.18.8
          Platform: Ubuntu
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Digital Clock
          Assignee: plasma-b...@kde.org
          Reporter: l...@royal.net
  Target Milestone: 1.0

SUMMARY
If TZ environment variable is set at plasma startup, digital clock widget shows
nothing at all and uses all available free space on the panel for local time
("Your system time zone" on the Time Zone tab of the Digital Clock settings),
and treats local time as UTC when explicit time zone is selected on the Time
Zone tab, i.e. selecting time zone UTC+1 shows local time +1hr. My KDE is
ancient, but I found no similar bugs - open or closed.

STEPS TO REPRODUCE
1. set TZ=MSK-3 before starting plasma - I did it in /etc/environment
2. start plasma/reboot
3. add digital clock widget to a panel, ensure that it shows local time
4. switch to UTC+0 timezone

OBSERVED RESULT
3. clock uses all available space on the panel and is blank
4. clock shows local time, not GMT (assuming you are not in the UK - then they
are the same)

EXPECTED RESULT
3. clock shows time and uses no more space than needed
4. clock shows GMT

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:
KDE Plasma Version:  5.18.8
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION

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

Reply via email to