FS#17005 - [glibc] start of week (monday vs sunday) wrong in de_CH

Attached to Project: Arch Linux
Opened by Jan Rüegg (rggjan) - Wednesday, 04 November 2009, 14:05 GMT
Last edited by Dan Griffiths (Ghost1227) - Monday, 19 April 2010, 21:11 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Jan de Groot (JGC)
Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I have the following locale set:

LANG=en_US
LC_CTYPE=de_CH.utf8
LC_NUMERIC=de_CH.utf8
LC_TIME=de_CH.utf8
LC_COLLATE=de_CH.utf8
LC_MONETARY=de_CH.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=de_CH.utf8
LC_NAME=de_CH.utf8
LC_ADDRESS=de_CH.utf8
LC_TELEPHONE=de_CH.utf8
LC_MEASUREMENT=de_CH.utf8
LC_IDENTIFICATION=de_CH.utf8
LC_ALL=

Now the gnome clock applet calendar shows the start of the week on Sunday instead of Monday. To fix this, I had to add these three lines to /usr/share/i18n/locales/de_CH :

week 7;19971130;4
first_weekday 2
first_workday 2

somewhere between "LC_TIME" and "END LC_TIME". (I got them from /usr/share/i18n/locales/de_DE).
Now it works! Monday at the beginning, as it should be...


Additional info:
* core/glibc 2.10.1-5 [installed] (base)
This task depends upon

Closed by  Dan Griffiths (Ghost1227)
Monday, 19 April 2010, 21:11 GMT
Reason for closing:  Upstream
Comment by Andreas Radke (AndyRTR) - Wednesday, 04 November 2009, 17:33 GMT
Has this been introduced by a recent glibc update? Is the behavior with glibc 2.11 from testing the same? I know Debian does a hell of patching just for correct beginning of the week. Fedora's (=upstream) doesn't.

But maybe this is even a Gnome specific issue?
Comment by Laszlo Papp (djszapi) - Saturday, 07 November 2009, 04:40 GMT
It's wrong in hu_HU too.
Comment by Gerardo Exequiel Pozzi (djgera) - Saturday, 07 November 2009, 18:08 GMT
  • Field changed: Summary (start of week (monday vs sunday) wrong in de_CH → [glibc] start of week (monday vs sunday) wrong in de_CH)
  • Field changed: Category (Packages: Core → Upstream Bugs)
Many locales decay in this issue.
The previous and most recent report here was:  FS#16293  - [glibc] Wrong first day of the week in the Italian calendar of DMs
Comment by Jan Rüegg (rggjan) - Monday, 19 April 2010, 21:10 GMT
Here I filed the upstream bug report:

http://sources.redhat.com/bugzilla/show_bug.cgi?id=11520

(This is no request for re-open, just a comment)
Comment by Dan Griffiths (Ghost1227) - Monday, 19 April 2010, 21:11 GMT
Reopened to add last comment (upstream bug report).

Loading...