Summary: | RFE: provide 24 hour option in system settings | ||
---|---|---|---|
Product: | [Applications] systemsettings | Reporter: | rlk |
Component: | general | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | wishlist | CC: | nate |
Priority: | NOR | ||
Version: | 5.21.90 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
rlk
2021-05-28 18:26:02 UTC
You have to set a locale that uses 24-hour time in the "Time:" combobox. Unfortunately this means you're stuck with the other time-related settings for that locale. Hope you like them! :/ This is a limitation of Qt's QLocale component which unfortunately is rather dumb. We can at least make it easier to select specific formats visually rather than requiring that you be telepathic and know the settings for every locale already. For that, see Bug 394698. That's the only actionable thing here from the KDE side, so I'm marking the bug report as a duplicate of it. *** This bug has been marked as a duplicate of bug 394698 *** ...or, presumably, edit my current locale somehow. This isn't the only completely braindead thing Qt has done with date/time; completely unrelated, comparing two QDateTimes is extremely slow because they don't want to add another 8 bytes to allow the time in milliseconds since the epoch to be cached, so every time I want to compare them, the date and time have to be converted into said milliseconds, involving locale lookups and timezone calculations. I had fun fixing that in KPhotoAlbum. Grr. |