GNOME Bugzilla – Bug 782930
util: Always use 12h format if requested
Last modified: 2017-05-22 13:42:10 UTC
See patch. Unlike both the other components mentioned in the commit message, we don't actually query the locale for AM/PM support, so our check already picks up the GDateTime change correctly. But then it doesn't make sense for us to include a condition that non-obviously always evaluates to true ...
Created attachment 352315 [details] [review] util: Always use 12h format if requested Whether we show times in 12h format currently depends on: - the 'clock-format' desktop setting - the locale support for AM/PM This was consist with other GNOME components, however both the WallClock[0] and the Date+Time Settings panel[1] dropped the second check after GDateTime started supporting AM/PM independently from the locale, so we should follow suite. [0] https://git.gnome.org/browse/gnome-desktop/commit?id=226fe725ef2cb2 [1] https://git.gnome.org/browse/gnome-control-center/commit?id=85cd910af
Review of attachment 352315 [details] [review]: yep
Attachment 352315 [details] pushed as 817ff52 - util: Always use 12h format if requested