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 88695 - should drop leading zeros
should drop leading zeros
Status: RESOLVED DUPLICATE of bug 87872
Product: gnome-panel
Classification: Other
Component: clock
2.0.x
Other other
: Normal enhancement
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 88681 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-07-20 17:06 UTC by Jacob Elder
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Trivial patch changing format to strftime to use space instead of leading zero (326 bytes, patch)
2002-07-21 19:53 UTC, maren
none Details | Review

Description Jacob Elder 2002-07-20 17:07:05 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.

Comment 1 Andrew Sobala 2002-07-20 18:41:45 UTC
*** Bug 88681 has been marked as a duplicate of this bug. ***
Comment 2 Christian Rose 2002-07-20 19:40:53 UTC
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).
Comment 3 Christian Rose 2002-07-21 00:48:48 UTC
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.
Comment 4 Dennis 2002-07-21 02:45:09 UTC
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 ?

Comment 5 maren 2002-07-21 19:53:52 UTC
Created attachment 9992 [details] [review]
Trivial patch changing format to strftime to use space instead of leading zero
Comment 6 Mark McLoughlin 2002-08-11 12:55:16 UTC
This is locale specific, and is fixed by translating the clock format
surely ?



*** This bug has been marked as a duplicate of 88498 ***
Comment 7 Mark McLoughlin 2002-08-11 22:15:18 UTC
Wrong bug # for the dup

*** This bug has been marked as a duplicate of 87872 ***