This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/1] Remove redundant data for niu_NZ
- From: AKHILESH KUMAR <akhilesh dot k at samsung dot com>
- To: Mike FABIAN <mfabian at redhat dot com>
- Cc: "libc-alpha at sourceware dot org" <libc-alpha at sourceware dot org>
- Date: Wed, 30 Aug 2017 04:12:54 +0000
- Subject: Re: [PATCH 1/1] Remove redundant data for niu_NZ
- Authentication-results: sourceware.org; auth=none
- Cms-type: 105P
- Dlp-filter: Pass
- References: <s9d1snur1jt.fsf@redhat.com> <1504000369-6587-1-git-send-email-akhilesh.k@samsung.com> <CGME20170829095817epcas5p304aa40080cdddc030515d98b403b3760@epcms5p7>
- Reply-to: akhilesh dot k at samsung dot com
> > -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?
yes
https://www.timeanddate.com/calendar/?country=30
> Is it even right for NU? Isn’t this a contradiction to
>“week 7;19971130;1”?
Looks "week" needs to change
http://www.niueisland.com/calendar/?view=calendar&month=August-2017
> 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.