[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH 26/36] localedata: add first_weekday for cy_GB locale



From: Clint Adams <clint@debian.org>
Date: Sun, 10 May 2009 08:04:56 -0500

The first weekday on calendars in the UK is a Monday.  Found in the
CLDR.

Original patch by Denis Barbier <bouzim@gmail.com>, 2006-01-15.

[clint@debian.org, 2007-10-27: split cy_GB into its own patch]
[aurelien@aurel32.net, 2008-08-08: add a "week" field so
 first_weekday=1]
[aurelien@aurel32.net, 2009-05-10: start the week system on
 Sunday again, so first_weekday=2, as explained by pasky:

| In the meantime, I have grown less sure about my recommendation to use
| week[2] (week_1stday) to semantically specify the first day of week.
| Maybe it would be te purer solution, but it has been for long documented
| that DAY_1 in nl_langinfo() is always Sunday and many applicaitons might
| rely on it; thus, it would be probably safer to keep this convention in
| order to not confuse applications that are not aware of first_weekday
| and week[2] (week_1stday). I.e. always have days[] Sunday-based (like
| now) and only adjust first_weekday to specify the correct first day of
| the week (in the most of the world, the value would be 2).
]

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
 localedata/locales/cy_GB |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/localedata/locales/cy_GB b/localedata/locales/cy_GB
index 0415e78..bcabb29 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><U0062><U0020><U0025><U0065>/
 <U0020><U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
 <U0025><U005A><U0020><U0025><U0059>"
+week    7;19971130;4
+first_weekday 2
 END LC_TIME
 
 LC_MESSAGES
-- 
1.7.5.1


Reply to: