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

[PATCH 24/36] localedata: add first_weekday for fr_CH locale



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

The first weekday on calendars in Switzerland is a Monday.

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

[clint@debian.org, 2007-10-22: split fr_CH 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/fr_CH |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/localedata/locales/fr_CH b/localedata/locales/fr_CH
index a62eac2..957b438 100644
--- a/localedata/locales/fr_CH
+++ b/localedata/locales/fr_CH
@@ -107,6 +107,8 @@ date_fmt "<U0025><U0041><U0020><U0025><U002D><U0065><U0020>/
 <U0025><U0042><U0020><U0025><U0059><U002C><U0020>/
 <U0025><U0048><U003A><U0025><U004D><U003A><U0025><U0053><U0020>/
 <U0028><U0055><U0054><U0043><U0025><U007A><U0029>"
+week    7;19971130;4
+first_weekday 2
 END LC_TIME
 
 LC_PAPER
-- 
1.7.5.1


Reply to: