This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH 1/1] Remove redundant data for niu_NZ


Akhilesh Kumar <akhilesh.k@samsung.com> wrote:

> Removed redundant data (LC_TIME and LC_MESSAGES) for niu_NZ.
>
> [BZ #22023]
> 	* locales/niu_NZ (LC_TIME)     : copy "niu_NU"
> 	* locales/niu_NZ (LC_MESSAGES) : copy "niu_NU"
>

[...]

> -
> -week 7;19971130;1
> +copy "niu_NU"
>  END LC_TIME

niu_NU contains:

week 7;19971130;1
first_weekday 2

Is “first_weekday 2” appropriate for NZ?

Is it even right for NU? Isn’t this a contradiction to
“week 7;19971130;1”?

https://sourceware.org/glibc/wiki/Locales#LC_TIME says:

> week DAYSINWEEK;WEEKSTARTDATE;MINWEEKLEN - DAYSINWEEK is usually 7;
> MINWEEKLEN is the minimal length of the first week in year (usually
> 4). WEEKSTARTDATE is most confusing - it should be some date that
> corresponds to the beginning of a week. It is typically either 19971130
> (Sunday) or 19971201 (Monday), the former being used almost by all glibc
> locales (see below).
> 
> first_weekday N - number of day in the week to be shown in the first
> column of a calendar. Defaults to 1.

-- 
Mike FABIAN <mfabian@redhat.com>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]