From patchwork Fri Mar 29 08:43:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: TAMUKI Shoichi X-Patchwork-Id: 32060 Received: (qmail 46164 invoked by alias); 29 Mar 2019 08:44:09 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 45610 invoked by uid 89); 29 Mar 2019 08:44:08 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-20.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: mail.linet.jp Message-Id: <201903290843.AA04306@tamuki.linet.gr.jp> From: TAMUKI Shoichi Date: Fri, 29 Mar 2019 17:43:26 +0900 To: Carlos O'Donell Cc: Rafal Luzynski , DJ Delorie , libc-alpha@sourceware.org Subject: Re: [PATCH] Add verbose comments to 'era' in ja_JP locale. In-Reply-To: <201903290653.AA04305@tamuki.linet.gr.jp> References: <201903290653.AA04305@tamuki.linet.gr.jp> MIME-Version: 1.0 Hello Carlos-san, From: TAMUKI Shoichi Subject: Re: [PATCH] Add verbose comments to 'era' in ja_JP locale. Date: Fri, 29 Mar 2019 15:53:08 +0900 > Sorry, I am not happy to put the information in ja_JP locale data. > Since it is necessary to describe similar information in other locale > data such as *_TW, and also it becomes rather troublesome to maintain, > it would be better to include the information in a documentation named > "The locale definition source file format", that is expected to be > created in Glibc. If adding the text as shown below, it does not affect to maintain era data, so there may be no problem. It is available in *_TW as well. The rest of the information is independent of the specific locale data and it is appropriate to include it in a separate document. Please be aware that we will be in the process of adding entry for the new Japanese era to ja_JP locale data for several days from now. Regards, TAMUKI Shoichi diff --git a/localedata/locales/ja_JP b/localedata/locales/ja_JP index 9bfbb2bb9b..983b866650 100644 --- a/localedata/locales/ja_JP +++ b/localedata/locales/ja_JP @@ -14946,6 +14946,12 @@ am_pm "";"" t_fmt_ampm "%p%I%M%S" +% The era names are laid out in groups of 2 to account for the desire +% to avoid using '1' for the first era year. Instead of '1' we use +% or "origin" as the first era year. +% +% Note that or "year" follows each year number. +% era "+:2:1990//01//01:+*::%EC%Ey";/ "+:1:1989//01//08:1989//12//31::%EC";/ "+:2:1927//01//01:1989//01//07::%EC%Ey";/