[PATCH] Add verbose comments to 'era' in ja_JP locale.
Carlos O'Donell
codonell@redhat.com
Thu Mar 28 20:19:00 GMT 2019
On 3/28/19 2:09 PM, Carlos O'Donell wrote:
> Rafal,
>
> While reviewing DJ's new test I went through all the dates, years,
> and names, and figured I'd put them into a verbose comment in ja_JP
> to make this easier to maintain in the future.
>
> What do you think of this for master?
>
> 8< --- 8< ---- 8<
> ---
> Â localedata/locales/ja_JP | 23 +++++++++++++++++++++++
> Â 1 file changed, 23 insertions(+)
>
> diff --git a/localedata/locales/ja_JP b/localedata/locales/ja_JP
> index 9bfbb2bb9b..74ef9e39f3 100644
> --- a/localedata/locales/ja_JP
> +++ b/localedata/locales/ja_JP
> @@ -14946,6 +14946,29 @@ am_pm   "<U5348><U524D>";"<U5348><U5F8C>"
>
> Â t_fmt_ampm "%p%I<U6642>%M<U5206>%S<U79D2>"
>
> +# 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 'å
'
> +# <U5143> or "gan" as the first era year.
> +#
> +# The following dates and their names are recorded below in descending
> +# date order (note that 'å¹´' <U5E74> or "year" follows each date).
> +#
> +# Offset: Start date:Â Â Â End date:Â Â Â Era name:Â Â Â Using "gan":
> +# (Y)Â Â Â Â (YYYY-MM-DD)
> +# 2      1990-01-01   +*       平æ (Heisei)   No
> +# 1      1989-01-08   1989-12-31   平æ (Heisei)   Yes
> +# 2Â Â Â Â Â Â 1927-01-01Â Â Â 1989-01-07Â Â Â æå (ShÅwa)Â Â Â No
> +# 1Â Â Â Â Â Â 1926-12-25Â Â Â 1926-12-31Â Â Â æå (ShÅwa)Â Â Â Yes
> +# 2      1913-01-01   1926-12-24Â Â Â å¤§æ£ (TaishÅ)   No
> +# 1      1912-07-30   1912-12-31Â Â Â å¤§æ£ (TaishÅ)   Yes
> +# 6Â Â Â Â Â Â 1873-01-01Â Â Â 1912-07-29Â Â Â ææ²» (Meiji)Â Â Â No
> +# 1      0001-01-01   1872-12-31Â Â Â è¥¿æ¦ (C.E)   No
> +# 1Â Â Â Â Â Â -0000-12-31Â Â Â -*Â Â Â Â Â Â Â ç´å
å (B.C.E.)Â Â Â No
This should read "-0001-12-31" here. Fixed locally.
> +#
> +# Note:
> +# - The last entry ç´å
å means pre-era/B.C./B.C.E.
> +# - The second-to-last entry è¥¿æ¦ means C.E.
> +#
>  era   "+:2:1990//01//01:+*:<U5E73><U6210>:%EC%Ey<U5E74>";/
> Â Â Â Â "+:1:1989//01//08:1989//12//31:<U5E73><U6210>:%EC<U5143><U5E74>";/
> Â Â Â Â "+:2:1927//01//01:1989//01//07:<U662D><U548C>:%EC%Ey<U5E74>";/
--
Cheers,
Carlos.
More information about the Libc-alpha
mailing list