GNOME Bugzilla – Bug 647320
Don't show a leading zero for the clock hours
Last modified: 2014-11-07 18:18:42 UTC
Don't show a leading zero for the clock hours, because it is useless and clutters the information. I've checked the time formats but there doesn't seem to be a preset without leading zeros, so it will have to be removed manually somehow.
I agree.
glibc provides the - (dash) flag character extension which causes a leading zero not to be printed (so with %-d one gets "4" on 4th of a month). Perhaps gnome-shell should allow using this glibc extension in the .po files? Now if one tries to use it gnome-shell crashes. Thanks.
we use g_date_time_format() for this. I added a note to bug 648678
They actually have a use (12h vs. 24h formats), see bug 658675 for details. Not marking as a duplicate as the other was about the calendar, and this one about the clock specifically.
(In reply to comment #4) > Not marking as a duplicate as the other was about the calendar, and this one > about the clock specifically. In case someone wants to reopen the discussion, please move the bug to gnome-desktop which defines the format nowadays.