After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 320156 - Clock shouldn't offer 12 hour clock if strftime("%p") == ""
Clock shouldn't offer 12 hour clock if strftime("%p") == ""
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: clock
git master
Other Linux
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2005-10-29 09:05 UTC by Crispin Flowerday (not receiving bugmail)
Modified: 2015-03-24 13:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Crispin Flowerday (not receiving bugmail) 2005-10-29 09:05:06 UTC
In the en_GB locale, strftime("%p") returns "" this means that if the clock is
set to display 12 hour time, it will return useless times like "07:00" to mean
7am and 7pm.

Instead, 12 hour time should not be in the drop-down list, and if it is set to
that, in gconf, it should display 24 hour time anyway.
Comment 1 Vincent Untz 2005-12-15 08:14:38 UTC
Good point.
Comment 2 Vincent Untz 2006-01-22 17:23:23 UTC
Fixed in HEAD.