Bug 9835

Summary: Wrong first_weekday and first_workday for en_GB
Product: glibc Reporter: Aurelien Jarno <aurelien>
Component: localedataAssignee: GNU C Library Locale Maintainers <libc-locales>
Status: RESOLVED DUPLICATE    
Severity: normal CC: glibc-bugs, rggjan
Priority: P2 Flags: fweimer: security-
Version: unspecified   
Target Milestone: ---   
Host: x86_64-unknown-linux-gnu Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu Last reconfirmed:

Description Aurelien Jarno 2009-02-10 22:00:57 UTC
In Great Britain, the first day of the week is monday. Giveen that week equals 
7;19971201;4, that is a monday, first_weekday and first_workday should be 1.

The patch below fixes the problem.

2009-01-10  Aurelien Jarno  <aurel32@debian.org>

        * locales/en_GB: Set first weekday and workday to 1.

--- localedata.orig/locales/en_GB
+++ localedata/locales/en_GB
@@ -122,8 +122,8 @@ 
date_fmt    "<U0025><U0061><U0020><U0025><U0062><U0020><U0025><U0065>/
 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
 <U0025><U005A><U0020><U0025><U0059>"
 week    7;19971201;4
-first_weekday 2
-first_workday 2
+first_weekday 1
+first_workday 1
 END LC_TIME

 LC_MESSAGES
Comment 1 Jan Rüegg 2009-11-22 16:05:52 UTC
Same problem for de_CH, see here:

http://bugs.archlinux.org/task/17005#comment52780
Comment 2 Petr Baudis 2009-11-22 19:12:35 UTC
Please open a separate bug for de_CH.

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