This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] ja_JP locale: Fix the offset in era-string for Taisho gan-nen [BZ #24162]
- From: TAMUKI Shoichi <tamuki at linet dot gr dot jp>
- To: libc-alpha at sourceware dot org
- Date: Fri, 15 Feb 2019 16:41:01 +0900
- Subject: Re: [PATCH] ja_JP locale: Fix the offset in era-string for Taisho gan-nen [BZ #24162]
- References: <201902080841.AA04237@tamuki.linet.gr.jp>
Hello,
This patch fixes an obvious typo that is hidden for a long time since
ja_JP localedata was created. Is it OK for commit?
This issue is reported by "junji morimitsu" via Bugzilla [1].
[1] https://sourceware.org/bugzilla/show_bug.cgi?id=24162
So, I would like to use the Reported-by: tag for him with his
permission. Is that all right?
From: TAMUKI Shoichi <tamuki@linet.gr.jp>
Subject: [PATCH] ja_JP locale: Fix the offset in era-string for Taisho gan-nen [BZ #24162]
Date: Fri, 08 Feb 2019 17:41:14 +0900
> The offset in era-string format for Taisho gan-nen (1912) is currently
> defined as 2, but it should be 1. So fix it. "gan-nen" means the 1st
> (origin) year, Taisho started on Jul 30, 1912.
>
> ChangeLog:
>
> [BZ #24162]
> * localedata/locales/ja_JP (LC_TIME): The offset in era-string format
> for Taisho gan-nen is currently defined as 2, but it should be 1. So
> fix it.
> ---
> localedata/locales/ja_JP | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/localedata/locales/ja_JP b/localedata/locales/ja_JP
> index 1fd2fee..9bfbb2b 100644
> --- a/localedata/locales/ja_JP
> +++ b/localedata/locales/ja_JP
> @@ -14951,7 +14951,7 @@ era "+:2:1990//01//01:+*:<U5E73><U6210>:%EC%Ey<U5E74>";/
> "+:2:1927//01//01:1989//01//07:<U662D><U548C>:%EC%Ey<U5E74>";/
> "+:1:1926//12//25:1926//12//31:<U662D><U548C>:%EC<U5143><U5E74>";/
> "+:2:1913//01//01:1926//12//24:<U5927><U6B63>:%EC%Ey<U5E74>";/
> - "+:2:1912//07//30:1912//12//31:<U5927><U6B63>:%EC<U5143><U5E74>";/
> + "+:1:1912//07//30:1912//12//31:<U5927><U6B63>:%EC<U5143><U5E74>";/
> "+:6:1873//01//01:1912//07//29:<U660E><U6CBB>:%EC%Ey<U5E74>";/
> "+:1:0001//01//01:1872//12//31:<U897F><U66A6>:%EC%Ey<U5E74>";/
> "+:1:-0001//12//31:-*:<U7D00><U5143><U524D>:%EC%Ey<U5E74>"
> --
> 2.2.1