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

[PATCH 30/36] localedata: change first day of the week in ru_UA locale to Monday



From: Clint Adams <clint@debian.org>
Date: Fri, 27 Feb 2009 14:13:34 -0600

I am using the ru_UA locale. In calendar week is begining from Sunday
but must from Monday like in ru_RU.

I fixing this bug by this:

1. add in /usr/share/i18n/locales/ru_UA file lines in LC_TIME section
first_weekday 2
first_workday 2
2. sudo dpkg-reconfigure locales
3. reboot

Forwarded upstream: BZ9912.

Samuel Thibault wrote (correctly):

| Please do not change the week value, as this also gives which day the day/abday
| arrays start. Set first_weekday and first_workday to 2 instead, as detailed in
| bug 7068 and http://sourceware.org/ml/libc-alpha/2009-01/msg00024.html

So this needs refining.

Fixes: http://bugs.debian.org/517386
Reported-by: Aleksandr Tishin <aleksandr.tishin@gmail.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
---
 localedata/locales/ru_UA |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/localedata/locales/ru_UA b/localedata/locales/ru_UA
index c2ca7b1..b8bf465 100644
--- a/localedata/locales/ru_UA
+++ b/localedata/locales/ru_UA
@@ -141,6 +141,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>"
+week 7;19971201;4
 END LC_TIME
 
 LC_PAPER
-- 
1.7.5.1


Reply to: