Bug 299321 - locale first_weekday is wrong for en_GB
Summary: locale first_weekday is wrong for en_GB
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: glibc
Version: 9
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Jakub Jelinek
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-09-20 21:22 UTC by John Haxby
Modified: 2008-09-17 13:07 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2008-09-17 13:07:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description John Haxby 2007-09-20 21:22:24 UTC
Description of problem:

This problem shows up in the gtk calendar widget, among others, this widget uses
the locale's first_weekday to determine the first weekday for the calendar. 
This shows Sunday as the first day of the week, but UK calendars, diaries and so
on always show Monday as the first day of the week (indeed, it is not uncommon
in diaries to run Saturday and Sunday together into a single entry at the end of
the week.

Version-Release number of selected component (if applicable): glibc-2.6-4


How reproducible: Always


Steps to Reproduce:
1.  Look at a GTK calendar widget, note that Monday is not the first day of the
week.
2.  Alternatively, note that "locale first_weekday" reports 1, not 2.
  
Actual results:

The first day of the week is shown as Sunday


Expected results:

The first day of the week should be Monday for en_GB.


Additional info:

At first sight I thought this was just an annoyance.  I can put up with Sunday
being the first day of the week can't I?   Well, no, I can't.  It's very
difficult to switch to a calendar format that is different to every calendar and
every diary you've seen all your life.  It's awkward; it's like trying to read
mirror writing, not hard, but awkward and occasionally very confusing.

Comment 1 Ulrich Drepper 2007-09-30 18:25:03 UTC
Changed in upstream cvs.

Comment 2 Jakub Jelinek 2007-10-04 07:30:00 UTC
In glibc-2.6.90-17 in rawhide.

Comment 3 Nicola Soranzo 2008-07-04 15:33:52 UTC
The fix

http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/localedata/locales/en_GB.diff?r1=1.14&r2=1.15&cvsroot=glibc

was wrong. As said by the original reporter, it should be:

first_weekday 2
first_workday 2


Comment 4 Ulrich Drepper 2008-09-17 13:07:37 UTC
Changed upstream.  Will show up in rawhide at some point.


Note You need to log in before you can comment on or make changes to this bug.