about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>2012-06-04 18:15:08 +0200
committerPetr Baudis <pasky@ucw.cz>2012-06-04 18:15:08 +0200
commit03b6242320cb4758ed79fa248b114f0cc745d2db (patch)
tree309a8e9947add06a3912df48803e17cf27abb448
parentb17347ecff23ed4fd4a8dc377a4948558db43644 (diff)
downloadglibc-03b6242320cb4758ed79fa248b114f0cc745d2db.tar.gz
glibc-03b6242320cb4758ed79fa248b114f0cc745d2db.tar.xz
glibc-03b6242320cb4758ed79fa248b114f0cc745d2db.zip
[PATCH] Fix first_weekday/first_workday for EU locales
The following URL shows an official response to a question about
locale dates within the EU.  Basically they adopted ISO 8601:

http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:C:2004:78E:0447:0447:EN:PDF

ISO 8601:

http://dotat.at/tmp/ISO_8601-2004_E.pdf

2.2.8 calendar week
time interval of seven calendar days starting with a Monday

The pt_PT locale change has been removed from the patch by
Petr Baudis since Sunday seems to be the first day there
in daily usage.
-rw-r--r--NEWS2
-rw-r--r--localedata/ChangeLog10
-rw-r--r--localedata/locales/an_ES2
-rw-r--r--localedata/locales/ast_ES1
-rw-r--r--localedata/locales/br_FR2
-rw-r--r--localedata/locales/cy_GB2
-rw-r--r--localedata/locales/de_BE2
-rw-r--r--localedata/locales/de_LU2
-rw-r--r--localedata/locales/el_GR2
-rw-r--r--localedata/locales/en_IE2
-rw-r--r--localedata/locales/eu_ES2
-rw-r--r--localedata/locales/fr_LU2
-rw-r--r--localedata/locales/fy_NL2
-rw-r--r--localedata/locales/ga_IE2
-rw-r--r--localedata/locales/gd_GB2
-rw-r--r--localedata/locales/gl_ES2
-rw-r--r--localedata/locales/gv_GB2
-rw-r--r--localedata/locales/it_IT2
-rw-r--r--localedata/locales/kw_GB2
-rw-r--r--localedata/locales/lij_IT2
-rw-r--r--localedata/locales/lt_LT2
-rw-r--r--localedata/locales/lv_LV2
-rw-r--r--localedata/locales/mt_MT2
-rw-r--r--localedata/locales/nl_BE2
-rw-r--r--localedata/locales/oc_FR2
-rw-r--r--localedata/locales/tr_CY2
-rw-r--r--localedata/locales/wa_BE4
27 files changed, 60 insertions, 3 deletions
diff --git a/NEWS b/NEWS
index 7d83217e5e..c4ae9f1421 100644
--- a/NEWS
+++ b/NEWS
@@ -29,7 +29,7 @@ Version 2.16
   13968, 13970, 13973, 13979, 13983, 13986, 14012, 14027, 14033, 14034,
   14036, 14040, 14043, 14044, 14048, 14049, 14053, 14055, 14059, 14064,
   14075, 14080, 14083, 14103, 14104, 14109, 14112, 14122, 14123, 14153,
-  14183, 14188
+  14183, 14188, 14199
 
 * Support for the x32 ABI on x86-64 added.  The x32 target is selected by
   configuring glibc with:
diff --git a/localedata/ChangeLog b/localedata/ChangeLog
index 975e59fff0..90e2a50a1f 100644
--- a/localedata/ChangeLog
+++ b/localedata/ChangeLog
@@ -1,3 +1,13 @@
+2012-06-01  Jeff Law  <law@redhat.com>
+
+	[BZ#14199]
+	* locales/en_ES: Fix first_weekday and first_workday.
+	* locales/{ast_ES, br_FR, cy_GB, de_DE, de_LU}: Likewise.
+	* locales/{el_GR, en_IE, eu_ES, fr_LU, fy_NL}: Likewise.
+	* locales/{ga_IE, gd_GB, gl_ES, gv_GB, it_IT}: Likewise.
+	* locales/{kw_GB, lij_IT, lt_LT, lv_LV, mt_MT}: Likewise.
+	* locales/{nl_BE, oc_FR, tr_CY, wa_BE}: Likewise.
+
 2012-04-20  Chandan Kumar  <chandankumar.093047@gmail.com>
 
 	[BZ#13968]
diff --git a/localedata/locales/an_ES b/localedata/locales/an_ES
index a9722c5dac..2a50c12ef9 100644
--- a/localedata/locales/an_ES
+++ b/localedata/locales/an_ES
@@ -103,6 +103,8 @@ t_fmt_ampm ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/ast_ES b/localedata/locales/ast_ES
index eb048d5bbb..2817c1accc 100644
--- a/localedata/locales/ast_ES
+++ b/localedata/locales/ast_ES
@@ -109,6 +109,7 @@ t_fmt_ampm ""
 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>"
+first_workday 2
 first_weekday 2
 END LC_TIME
 
diff --git a/localedata/locales/br_FR b/localedata/locales/br_FR
index 3ca47ccd49..3f477fbb04 100644
--- a/localedata/locales/br_FR
+++ b/localedata/locales/br_FR
@@ -141,6 +141,8 @@ d_fmt   "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0059>"
 t_fmt   "<U0025><U0054>"
 am_pm   "<U0020>";"<U0020>"
 t_fmt_ampm "<U0025><U0049><U0065><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/cy_GB b/localedata/locales/cy_GB
index aaffde9f76..3005a63e0a 100644
--- a/localedata/locales/cy_GB
+++ b/localedata/locales/cy_GB
@@ -253,6 +253,8 @@ t_fmt_ampm  "<U0025><U006C><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U00
 date_fmt    "<U0025><U0061><U0020><U0025><U0065><U0020><U0025><U0062>/
 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
 <U0025><U005A><U0020><U0025><U0059>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/de_BE b/localedata/locales/de_BE
index 3e7f11d088..f313e544b5 100644
--- a/localedata/locales/de_BE
+++ b/localedata/locales/de_BE
@@ -119,6 +119,8 @@ t_fmt_ampm ""
 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>"
+first_weekday 2
+first_workday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/de_LU b/localedata/locales/de_LU
index 66baf3fb6d..f398ddc040 100644
--- a/localedata/locales/de_LU
+++ b/localedata/locales/de_LU
@@ -119,6 +119,8 @@ t_fmt_ampm ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/el_GR b/localedata/locales/el_GR
index bb1db143f3..e4d61d6df9 100644
--- a/localedata/locales/el_GR
+++ b/localedata/locales/el_GR
@@ -139,6 +139,8 @@ t_fmt_ampm "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U002
 %
 % Appropriate date representation (date(1))   "%a %d %b %Y %r %Z"
 date_fmt "<U0025><U0061><U0020><U0025><U0064><U0020><U0025><U0062><U0020><U0025><U0059><U0020><U0025><U0072><U0020><U0025><U005A>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/en_IE b/localedata/locales/en_IE
index 171e3b16b7..5b544754d2 100644
--- a/localedata/locales/en_IE
+++ b/localedata/locales/en_IE
@@ -115,6 +115,8 @@ t_fmt_ampm  ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/eu_ES b/localedata/locales/eu_ES
index f433aed75f..c65f167d17 100644
--- a/localedata/locales/eu_ES
+++ b/localedata/locales/eu_ES
@@ -131,6 +131,8 @@ t_fmt_ampm ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/fr_LU b/localedata/locales/fr_LU
index 8cb90b3611..210027707a 100644
--- a/localedata/locales/fr_LU
+++ b/localedata/locales/fr_LU
@@ -120,6 +120,8 @@ t_fmt_ampm ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/fy_NL b/localedata/locales/fy_NL
index b0cde4b271..0855a55602 100644
--- a/localedata/locales/fy_NL
+++ b/localedata/locales/fy_NL
@@ -92,6 +92,8 @@ t_fmt_ampm ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_NUMERIC
diff --git a/localedata/locales/ga_IE b/localedata/locales/ga_IE
index a8086a605f..aa95d7ecdb 100644
--- a/localedata/locales/ga_IE
+++ b/localedata/locales/ga_IE
@@ -117,6 +117,8 @@ t_fmt_ampm  ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/gd_GB b/localedata/locales/gd_GB
index a83839c56d..4d422840bc 100644
--- a/localedata/locales/gd_GB
+++ b/localedata/locales/gd_GB
@@ -122,6 +122,8 @@ d_fmt       "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0079>"
 t_fmt       "<U0025><U0054>"
 am_pm       "";""
 t_fmt_ampm  ""
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/gl_ES b/localedata/locales/gl_ES
index 4efe5c1829..8414fff3f0 100644
--- a/localedata/locales/gl_ES
+++ b/localedata/locales/gl_ES
@@ -121,6 +121,8 @@ t_fmt_ampm ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/gv_GB b/localedata/locales/gv_GB
index 16efd8d27e..f83ddeabbb 100644
--- a/localedata/locales/gv_GB
+++ b/localedata/locales/gv_GB
@@ -131,6 +131,8 @@ t_fmt_ampm  ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/it_IT b/localedata/locales/it_IT
index 31acd53595..47ee18199e 100644
--- a/localedata/locales/it_IT
+++ b/localedata/locales/it_IT
@@ -124,6 +124,8 @@ t_fmt_ampm ""
 date_fmt       "<U0025><U0061><U0020><U0025><U0065><U0020><U0025>/
 <U0062><U0020><U0025><U0059><U002C><U0020><U0025><U0048><U002E>/
 <U0025><U004D><U002E><U0025><U0053><U002C><U0020><U0025><U005A>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/kw_GB b/localedata/locales/kw_GB
index 35d7c83b25..f4003a3352 100644
--- a/localedata/locales/kw_GB
+++ b/localedata/locales/kw_GB
@@ -123,6 +123,8 @@ t_fmt_ampm  ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/lij_IT b/localedata/locales/lij_IT
index 1ee99788b7..cac3ae5c39 100644
--- a/localedata/locales/lij_IT
+++ b/localedata/locales/lij_IT
@@ -93,6 +93,8 @@ t_fmt_ampm ""
 date_fmt       "<U0025><U0061><U0020><U0025><U0065><U0020><U0025>/
 <U0062><U0020><U0025><U0059><U002C><U0020><U0025><U0048><U002E>/
 <U0025><U004D><U002E><U0025><U0053><U002C><U0020><U0025><U005A>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/lt_LT b/localedata/locales/lt_LT
index b709d83f9e..5b529e1c42 100644
--- a/localedata/locales/lt_LT
+++ b/localedata/locales/lt_LT
@@ -2191,6 +2191,8 @@ t_fmt_ampm ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/lv_LV b/localedata/locales/lv_LV
index fdf0f372a6..aedce02596 100644
--- a/localedata/locales/lv_LV
+++ b/localedata/locales/lv_LV
@@ -2183,6 +2183,8 @@ t_fmt_ampm  ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
diff --git a/localedata/locales/mt_MT b/localedata/locales/mt_MT
index d31908e612..e79081a239 100644
--- a/localedata/locales/mt_MT
+++ b/localedata/locales/mt_MT
@@ -234,6 +234,8 @@ t_fmt_ampm  "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053>/
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 
diff --git a/localedata/locales/nl_BE b/localedata/locales/nl_BE
index 869eda682e..5bb5b18d81 100644
--- a/localedata/locales/nl_BE
+++ b/localedata/locales/nl_BE
@@ -104,6 +104,8 @@ t_fmt_ampm ""
 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>"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/oc_FR b/localedata/locales/oc_FR
index 156f81243f..2a7f836434 100644
--- a/localedata/locales/oc_FR
+++ b/localedata/locales/oc_FR
@@ -123,6 +123,8 @@ d_fmt   "<U0025><U0064><U002E><U0025><U006D><U002E><U0025><U0059>"
 t_fmt   "<U0025><U0054>"
 am_pm   "";""
 t_fmt_ampm ""
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_NAME
diff --git a/localedata/locales/tr_CY b/localedata/locales/tr_CY
index daeffc1b9c..0b90b375b7 100644
--- a/localedata/locales/tr_CY
+++ b/localedata/locales/tr_CY
@@ -66,6 +66,8 @@ END LC_NUMERIC
 
 LC_TIME
 copy "tr_TR"
+first_workday 2
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
diff --git a/localedata/locales/wa_BE b/localedata/locales/wa_BE
index f02e527bf6..b051424080 100644
--- a/localedata/locales/wa_BE
+++ b/localedata/locales/wa_BE
@@ -162,8 +162,8 @@ d_fmt   "<U0025><U0064><U002F><U0025><U006D><U002F><U0025><U0059>"
 t_fmt   "<U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053>"
 am_pm   "<U0041><U004D>";"<U0050><U004D>"
 t_fmt_ampm "<U0025><U0049><U003A><U0025><U004D><U003A><U0025><U0053><U0020><U0025><U0070>"
-% prumî djoû del samwinne (1=londi)
-first_weekday 1
+first_weekday 2
+first_workday 2
 END LC_TIME
 
 LC_NAME