patch: Norwegian week start on monday, not on sunday
Keld Jørn Simonsen
keld@dkuug.dk
Sun May 18 18:08:00 GMT 2003
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
>
More information about the Libc-alpha
mailing list