Bug 465337

Summary: Datetime settings show wrong time format for Arabic users
Product: [Applications] korganizer Reporter: Amr K. <akkk33>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: REPORTED ---    
Severity: normal CC: sh.yaron
Priority: NOR Keywords: rtl
Version: 5.22.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: A screenshot visualizing the issue, with English labels

Description Amr K. 2023-02-05 20:25:08 UTC
Created attachment 155977 [details]
A screenshot visualizing the issue, with English labels

SUMMARY
Arabic users see 6:00 AM as 00:6 AM in the date/time settings.

STEPS TO REPRODUCE
1. Set locale to ar_EG
2. Open Korganizer (You may use Arabic letters , so it's called منظمك) - (this may be affected by this bug https://bugs.kde.org/show_bug.cgi?id=465333)
3. Open the application settings
4. Go to the second section Date/time (الوقت والتاريخ)
5. Observe the first setting (Day starting at:)

OBSERVED RESULT
The value is reversed, so instead of ٦:٠٠ ص which translates to (6:00 AM) , it's displayed as ٠٠:٦ ص (tranlated to 00:6 AM).

EXPECTED RESULT
The time values in that section should be reversed for RTL layout.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch linux
(available in About System)
KDE Plasma Version: 5.26.90
KDE Frameworks Version: 5.102.0
Qt Version: 5.15.8

ADDITIONAL INFORMATION