GNOME Bugzilla – Bug 88695
should drop leading zeros
Last modified: 2004-12-22 21:47:04 UTC
Package: gnome-panel Severity: normal Version: 2.0.2 Synopsis: should drop leading zeros Bugzilla-Product: gnome-panel Bugzilla-Component: clock applet Description: "01:04 PM" is ugly. It should at least be an option to drop leading zeros in time and date. ------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-07-20 13:07 ------- Reassigning to the default owner of the component, gnome-panel-maint@bugzilla.gnome.org.
*** Bug 88681 has been marked as a duplicate of this bug. ***
In Sweden and Germany at least, all times in print and on watches etc. are usually written with a leading zero. So I find times written *without* the leading zero hard to read. If this change gets in, it should probably only affect en_US locale (unless there are other ones where times are usually written without leading zeros).
I haven't verified this, but I think the use of leading zeros might have something to do with whether 12 hour clock is used or not. With 12 hour clock, a time can always be distinguished because it has an "am" or "pm". With 24 hour clock, you don't have this and it's more important to standardize the way of writing time so that it always is written in the same notion. In any case, it is and should be locale-dependant.
This is a problem indeed. maybe we can drop the leading zero in case the 12 hours mode is used.. The other solution is having a config option which probably is crack for such a small thing.. how should we do this guys ?
Created attachment 9992 [details] [review] Trivial patch changing format to strftime to use space instead of leading zero
This is locale specific, and is fixed by translating the clock format surely ? *** This bug has been marked as a duplicate of 88498 ***
Wrong bug # for the dup *** This bug has been marked as a duplicate of 87872 ***