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: Mike FABIAN <mfabian at redhat dot com>
- To: Akhilesh Kumar <akhilesh dot k at samsung dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 29 Aug 2017 14:39:02 +0200
- Subject: Re: [PATCH 1/1] Remove redundant data for niu_NZ
- Authentication-results: sourceware.org; auth=none
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; dmarc=none (p=none dis=none) header.from=redhat.com
- Authentication-results: ext-mx10.extmail.prod.ext.phx2.redhat.com; spf=fail smtp.mailfrom=mfabian at redhat dot com
- Dmarc-filter: OpenDMARC Filter v1.3.2 mx1.redhat.com 7CAFC61463
- References: <CGME20170829095817epcas5p304aa40080cdddc030515d98b403b3760@epcas5p3.samsung.com> <1504000369-6587-1-git-send-email-akhilesh.k@samsung.com>
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>