Summary: | Switch between 24 and 12-hours time formats | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | Cade <ahx2323> |
Component: | Digital Clock | Assignee: | Martin Klapetek <mklapetek> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | kde, tkedwards |
Priority: | NOR | ||
Version: | 5.0.0 | ||
Target Milestone: | 1.0 | ||
Platform: | Mint (Ubuntu based) | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Cade
2014-07-18 05:49:46 UTC
Time format depends on the selected locale. If you right click the clock -> configure formats -> select a region which uses 24h or 12h clock. This is because we use Qt directly for giving us the time and that uses those locale variables. Currently we don't plan to add separate option to the clock settings, sorry. It'd be nice to have this feature, I live in Australia but have had to set my 'Time' format to United Kingdom to get 24-hour time. This is a bit silly, I've lived in both countries and I wouldn't really say that one really uses 24-hour time more than the other. So it's a very arbitrary decision the Qt devs have made to say Australians always use 12-hour time. > it's a very arbitrary decision the Qt devs have made
It's not their decision, iirc the data is taken from CLDR, the Common Locale Data Repository. This contains all countries' date and time formats and settings etc, Qt does have an internal copy of that data, but does not maintain their own database.
So either the Unicode guys have it wrong in their CLDR data or your Time region/locale was not eu_AU.
It's not about one format being wrong or right, it's a personal preference whether to use 12 or 24-hour time. Most applications/apps/OSes have it as a settings option (even the KDE Plasma clock app has it as a setting). I was hoping that was possible in KDE5 but if it can't be done because of the way Qt is used then that's it. I'm not disagreeing, I'm simply letting you know the Qt devs didn't make any "very arbitrary decision .. to say Australians always use 12-hour time"; Qt is using common locale data for your country. Once Qt actually supports customizing locale settings, then there will be a simple switch available. Understood, thanks for clarifying. Hopefully Qt will support customising the settings soon. *** This bug has been marked as a duplicate of bug 345378 *** |