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 587752 - Clock does not default to format specified in LC_Time
Clock does not default to format specified in LC_Time
Status: RESOLVED INCOMPLETE
Product: gnome-panel
Classification: Other
Component: clock
2.26.x
Other All
: Normal normal
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-04 15:16 UTC by Paul Grave
Modified: 2010-04-09 17:51 UTC
See Also:
GNOME target: ---
GNOME version: 2.25/2.26



Description Paul Grave 2009-07-04 15:16:00 UTC
Please describe the problem:
In a fresh install of Ubuntu, I'll set my local to en_GB.UTF8.  The Clock applet should default to time format to that specified by LC_Time.  This problem also affects the welcome/login screen.

Steps to reproduce:
1.  Install Ubuntu 9.04
2.  Set the local to en_GB.UTF8



Actual results:
Clock defaults the displayed time to 12hr format

Expected results:
Clock should default the displayed time format to 24hr

Does this happen every time?
Yes.

Other information:
paul@ubuntu:/usr/share/i18n/locales$ locale
LANG=en_GB.UTF-8
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=

paul@ubuntu:/usr/share/i18n/locales$ locale LC_TIME
Sun;Mon;Tue;Wed;Thu;Fri;Sat
Sunday;Monday;Tuesday;Wednesday;Thursday;Friday;Saturday
Jan;Feb;Mar;Apr;May;Jun;Jul;Aug;Sep;Oct;Nov;Dec
January;February;March;April;May;June;July;August;September;October;November;December
AM;PM
%a %d %b %Y %T %Z
%d/%m/%y
%T
%l:%M:%S %P %Z






0
S
7
19971201
4
1
1
1

%a %b %e %H:%M:%S %Z %Y
UTF-8
Comment 1 Gioele Barabucci 2009-10-26 17:56:11 UTC
I can confirm this in version 2.28.0 of the Clock applet.

My LC_TIME is set to it_IT.UTF8, nevertheless Sunday is displayed as first day of the week while it should be Monday.
Comment 2 Vincent Untz 2010-01-14 01:29:39 UTC
(In reply to comment #1)
> I can confirm this in version 2.28.0 of the Clock applet.
> 
> My LC_TIME is set to it_IT.UTF8, nevertheless Sunday is displayed as first day
> of the week while it should be Monday.

This sounds like a bug in the locale -- many locales were broken wrt this.

(In reply to comment #0)
> Steps to reproduce:
> 1.  Install Ubuntu 9.04
> 2.  Set the local to en_GB.UTF8
> Actual results:
> Clock defaults the displayed time to 12hr format
> Expected results:
> Clock should default the displayed time format to 24hr

What's the time format in the clock preferences?
Also, can you attach a screenshot of the clock configuration in gconf? I'd like
Comment 3 Tobias Mueller 2010-04-09 17:51:38 UTC
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for.
Thanks!