From patchwork Sun Mar 31 03:17:51 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carlos O'Donell X-Patchwork-Id: 1071315 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-101050-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="C23opXeg"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44X0zL4jftz9sQm for ; Sun, 31 Mar 2019 14:18:06 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=jWhUrT/HzMmLoNGg 3B0uHM9utuVOhFMNMdQ002pfowLYPS5edCjd2DlXu0UfjAXPYqoGb9Yb1Iz8hq7e BDAGI6V7UNUvwoAZ4RYYrveRPS77IgZ4FqexNLLifTDx0/sEWFQ63sTnQT8dmkJM mdJbQ4PgOrijp0MrW3YDBBCbyFY= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:subject:to:cc:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=biQ0vgiKfI0Lv7sIjmdHsy KdX+U=; b=C23opXeg1NEELsRKNp6vHgG3aoWbPQImz5tVAMUEEY12NomoFqP722 9QyukOS4w/xtPhp8Gbuj6tX++C9euLW4YDge4gziDwFaFIUftT7tRTiUL/SQXfE8 ykUshN1RGOKHCeja8DVzP7Z45ipz2HraVpqyAcLmJKP1TNViFCUgY= Received: (qmail 105796 invoked by alias); 31 Mar 2019 03:17:59 -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 105779 invoked by uid 89); 31 Mar 2019 03:17:58 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, URIBL_BLOCKED autolearn=ham version=3.3.1 spammy=HX-Languages-Length:2145 X-HELO: mail-qk1-f180.google.com Subject: [PATCH v4] Add verbose comments to 'era' in ja_JP locale. To: TAMUKI Shoichi , Rafal Luzynski Cc: DJ Delorie , libc-alpha@sourceware.org References: <6e1ded1e-41e5-cca7-2646-9dcebcfeba61@redhat.com> <201903301252.AA04310@tamuki.linet.gr.jp> From: Carlos O'Donell Message-ID: Date: Sat, 30 Mar 2019 23:17:51 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.3 MIME-Version: 1.0 In-Reply-To: <201903301252.AA04310@tamuki.linet.gr.jp> On 3/30/19 8:52 AM, TAMUKI Shoichi wrote: > Hello Carlos-san, v4 - Added Reviewed-by attribution and Changelog for final version. OK for master? 8< --- 8< --- 8< Reviewed-by: Rafal Luzynski Reviewed-by: TAMUKI Shoichi --- ChangeLog | 4 ++++ localedata/locales/ja_JP | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/ChangeLog b/ChangeLog index 19d3e9079c..78418471b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2019-03-30 Carlos O'Donell + + * localedata/locales/ja_JP: Add comments to era entries. + 2019-03-26 Adhemerval Zanella * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for diff --git a/localedata/locales/ja_JP b/localedata/locales/ja_JP index 9bfbb2bb9b..cb51e6d69d 100644 --- a/localedata/locales/ja_JP +++ b/localedata/locales/ja_JP @@ -14946,6 +14946,24 @@ 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 as the first era year. +% +% The following dates and their names are recorded below in descending +% date order (note that or follows each date). +% -> -> -> -> -> +% +% Each string is an era description segment with the format: +% "direction:offset:start_date:end_date:era_name:era_format" +% +% Note: +% - The '+*' entry in end_date means "forever going forward" +% - The '-*' entry in end_date means "forever going backwards" counting up. +% - Negative year number in start_date is prior to AD 1 (BC) counting up. +% - The last entry in era_name means BC. +% - The second-to-last entry in era_name means AD. +% era "+:2:1990//01//01:+*::%EC%Ey";/ "+:1:1989//01//08:1989//12//31::%EC";/ "+:2:1927//01//01:1989//01//07::%EC%Ey";/