Bug 500763 - Unable to set timezone to UTC- or UTC+ timezones in System Settings
Summary: Unable to set timezone to UTC- or UTC+ timezones in System Settings
Status: RESOLVED DOWNSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_clock (show other bugs)
Version: 6.3.1
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-26 08:41 UTC by Matt Fagnani
Modified: 2025-03-15 19:02 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matt Fagnani 2025-02-26 08:41:16 UTC
SUMMARY

I booted the Fedora Rawhide KDE live image Fedora-KDE-Desktop-Live-Rawhide-20250226.n.0.x86_64.iso on bare metal. Plasma 6.3.1 on Wayland started. The time was set to UTC. I right-clicked on the clock in the system tray and clicked on Adjust Date and Time. System Settings started. I selected the Time Zone tab in the Date & Time page. I selected the timezone with UTC-5:00 in the Area column and clicked Apply. An error message Unable to set timezone was shown. The journal showed the error systemsettings[4036]: Failed to set timezone "org.freedesktop.DBus.Error.InvalidArgs" "Invalid or not installed time zone 'UTC-05:00'"

I selected the America/Toronto (EST) timezone which is equivalent to UTC-05:00, and the time was updated properly.  I selected various other UTC- or UTC+ timezones, and they had the same errors Unable to set timezone. The problem seemed to be with the timezones starting UTC- and UTC+.

STEPS TO REPRODUCE
1. Download the Fedora Rawhide KDE live image Fedora-KDE-Desktop-Live-Rawhide-20250226.n.0.x86_64.iso from https://koji.fedoraproject.org/koji/buildinfo?buildID=2666595
2. Boot Fedora-KDE-Desktop-Live-Rawhide-20250226.n.0.x86_64.iso on bare metal or in a VM. 
3. right-click on the clock in the system tray 
4. click on Adjust Date and Time in the context menu. 
5. select the Time Zone tab in the Date & Time page in System Settings. 
6. select the timezone with UTC-5:00 in the Area column 
7. click Apply.
 
OBSERVED RESULT
Unable to set timezone to UTC- or UTC+ timezones in System Settings

EXPECTED RESULT
The timezone should've changed to the UTC-05:00

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Fedora Rawhide/43
KDE Plasma Version: 6.3.1
KDE Frameworks Version: 6.11.0
Qt Version: 6.8.2

ADDITIONAL INFORMATION
Comment 1 John Kizer 2025-03-15 18:22:29 UTC
Hi - I tested this with the live ISOs for KDE Neon and EndeavourOS, and was able to correctly set the time zone on both live systems. This would appear to be an issue with how the Fedora live ISOs are put together. If you're interested, the following thread might be related: https://discussion.fedoraproject.org/t/fedora-live-version-should-be-more-i8n-frendly-and-less-en-us-eastern-centric/118728

But ultimately, this appears to be something that would need addressed by the Fedora folks.

Thanks!
Comment 2 Matt Fagnani 2025-03-15 19:02:42 UTC
The UTC- and UTC+ time zones weren't in the Fedora time zone data according to 
timedatectl list-timezones | grep UTC
Etc/UTC
UTC

I'd expect that those UTC- and UTC+ time zones wouldn't be shown in System Settings since they weren't in the time zone data, or choosing one of them would use an equivalent time zone. I reported this problem at https://bugzilla.redhat.com/show_bug.cgi?id=2348379 Thanks.