This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v6 1/2] strftime: Set the default width of "%Ey" to 2 [BZ #23758]
19.01.2019 18:08 Zack Weinberg <zackw@panix.com> wrote:
> On Fri, Jan 18, 2019 at 10:52 PM TAMUKI Shoichi <tamuki@linet.gr.jp>
> wrote:
> > [...]
> > I was concerned about the word "current" from a while ago. "%Ey" does
> > not necessarily indicate the year of the current era. For example:
> >
> > $ LANG=ja_JP.UTF-8 date -d "2018-04-01" +"%Ey"
> > 30
> > $ LANG=ja_JP.UTF-8 date -d "1955-04-01" +"%Ey"
> > 30
>
> Yes, you are right, "current" should not be used. [...]
I absolutely agree.
> > In addition, is "In Japanese locales," correct?
> > Perhaps, is "In Japanese locale," better?
>
> There is only one Japanese locale right now, ja_JP, but there could be
> others in the future. There are many native speakers of Japanese in
> other countries; I don't know if they would want to use this calendar,
> but it's not out of the question. So it seems more natural to me to
> say "In Japanese locales."
> [...]
I thought you meant that we already had multiple Japanese locales
which differ in the charset: ja_JP.UTF-8, ja_JP.EUC-JP, etc.
Regards,
Rafal