Created attachment 125388 [details] 12 vs 24 hour SUMMARY I am using zh_CN.UTF-8 locale. This locale should use a 24-hour time format, as the command line utility `date` uses. The locale definition file in `/usr/share/i18n/locales/zh_CN` shows 24-hour, too. But all date/time in KDE applications (dolphin, sddm, etc) uses 12-hour format, which is strange for Chinese users. I am aware of the 12/24 hour switch in the digital clock plasmoid, but that doesn't control the whole KDE. All other Chinese locales (zh_TW, yue_HK, etc) use 12-hour in KDE. But the Japanese (ja_JP) uses 24-hour correctly. Per my understanding, KDE should define the time format in each locale as the same in other Linux utilities. STEPS TO REPRODUCE 1. 2. 3. OBSERVED RESULT EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Sorry for the missing information: STEPS TO REPRODUCE 1. set locale environment variables to zh_CN.UTF-8 2. open "System Settings" and then "Regional" 3. open a terminal and run `date` OBSERVED RESULT KDE uses 12-hour while `date` uses 24-hour format. EXPECTED RESULT Both should use 24-hour format.
KDE uses the Qt locale classes, which in turn use data from the CLDR. The UNIX locale databases are not used, because they lack many entries needed by Qt. I suggest to report the issue to CLDR developers.
Yep. :)