Bug 9835 - Wrong first_weekday and first_workday for en_GB
Summary: Wrong first_weekday and first_workday for en_GB
Status: RESOLVED DUPLICATE of bug 7068
Alias: None
Product: glibc
Classification: Unclassified
Component: localedata (show other bugs)
Version: unspecified
: P2 normal
Target Milestone: ---
Assignee: GNU C Library Locale Maintainers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-10 22:00 UTC by Aurelien Jarno
Modified: 2014-07-01 20:55 UTC (History)
2 users (show)

See Also:
Host: x86_64-unknown-linux-gnu
Target: x86_64-unknown-linux-gnu
Build: x86_64-unknown-linux-gnu
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***