This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: patch: Norwegian week start on monday, not on sunday
- From: Keld Jørn Simonsen <keld at dkuug dot dk>
- To: Petter Reinholdtsen <pere at hungry dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 18 May 2003 20:08:46 +0200
- Subject: Re: patch: Norwegian week start on monday, not on sunday
- References: <E19HKaM-0003Y7-00@saruman.uio.no>
On Sun, May 18, 2003 at 11:36:06AM +0200, Petter Reinholdtsen wrote:
>
> The norwegian week start on the same day as the swedish week, ie on
> monday. This patch corrects both the no_NO and nn_NO locale:
>
> 2003-05-18 Petter Reinholdtsen <pere@hungry.com>
Hmm, the monday should be day 1 of the week. This is defined by
the keyword
week 7;19971201;4
and thus:
first_weekday 1
first_workday 1
Best regards
keld
> * locales/no_NO [LC_TIME]: Norwegian week start on monday. Define
> first_weekday and first_workday as 2.
> * locales/nn_NO: Likewise.
>
> Index: localedata/locales/no_NO
> ===================================================================
> RCS file: /cvs/glibc/libc/localedata/locales/no_NO,v
> retrieving revision 1.9
> diff -u -3 -p -u -r1.9 no_NO
> --- localedata/locales/no_NO 26 Oct 2000 23:22:57 -0000 1.9
> +++ localedata/locales/no_NO 18 May 2003 09:28:27 -0000
> @@ -2188,6 +2188,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_MESSAGES
> Index: localedata/locales/nn_NO
> ===================================================================
> RCS file: /cvs/glibc/libc/localedata/locales/nn_NO,v
> retrieving revision 1.2
> diff -u -3 -p -u -r1.2 nn_NO
> --- localedata/locales/nn_NO 26 Oct 2000 23:22:57 -0000 1.2
> +++ localedata/locales/nn_NO 18 May 2003 09:28:27 -0000
> @@ -144,6 +141,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
>