Bug 477139

Summary: Locale settings for time are ignored while setting an alarm
Product: [Applications] KClock Reporter: Andrea Ippolito <andrea.ippo>
Component: GeneralAssignee: Devin Lin <espidev>
Status: RESOLVED FIXED    
Severity: normal CC: hanyoung
Priority: NOR    
Version First Reported In: 23.08.3   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: time picker not respecting 24-hour format
region and language settings showing 24-hour format
alarm list respecting 24-hour format
date&time KCM not respecting 24-hour format

Description Andrea Ippolito 2023-11-17 12:47:02 UTC
Created attachment 163234 [details]
time picker not respecting 24-hour format

SUMMARY
When creating an alarm via KClock, my locale settings for date/time are ignored. The clock widget to pick the hour and minute for my alarm is showing the selected values with an AM/PM toggle next to them, although my system is configured to use the 24-hour format.

Furthermore, once the alarm is created, it shows up in the expected 24-hour format in the alarms list.

The Date&Time KCM also does not respect the 24-hour setting, by the way.

Thanks!

Operating System: openSUSE Tumbleweed 20231115
KDE Plasma Version: 5.27.9
KDE Frameworks Version: 5.112.0
Qt Version: 5.15.11
Kernel Version: 6.6.1-1-default (64-bit)
Graphics Platform: Wayland
Processors: 8 × 11th Gen Intel® Core™ i7-1165G7 @ 2.80GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Dell Inc.
Product Name: XPS 13 9305
Comment 1 Andrea Ippolito 2023-11-17 12:47:49 UTC
Created attachment 163235 [details]
region and language settings showing 24-hour format
Comment 2 Andrea Ippolito 2023-11-17 12:48:20 UTC
Created attachment 163236 [details]
alarm list respecting 24-hour format
Comment 3 Andrea Ippolito 2023-11-17 12:48:44 UTC
Created attachment 163237 [details]
date&time KCM not respecting 24-hour format
Comment 4 Devin Lin 2023-11-18 18:37:52 UTC
This should be fixed with released with Plasma 6, which has the new time picker that supports 12 and 24 hour formats