public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
From: Zack Weinberg <zackw@panix.com>
To: TAMUKI Shoichi <tamuki@linet.gr.jp>
Cc: Rafal Luzynski <digitalfreak@lingonborough.com>,
	 GNU C Library <libc-alpha@sourceware.org>
Subject: Re: [PATCH v6 1/2] strftime: Set the default width of "%Ey" to 2 [BZ #23758]
Date: Sat, 19 Jan 2019 17:08:00 -0000	[thread overview]
Message-ID: <CAKCAbMj67Zf6E4STnm+xsRy8Wmm9SoC2_BdOpLLRiPvfErgmqg@mail.gmail.com> (raw)
In-Reply-To: <201901190351.AA04196@tamuki.linet.gr.jp>

On Fri, Jan 18, 2019 at 10:52 PM TAMUKI Shoichi <tamuki@linet.gr.jp> wrote:
> Hello Rafal and Zack,
> >
> > "The numeric era year" sounds unclear for me.  I think you mean
> > "the number of the year" or "the number of the year in the current era"
> > or anything like that.
>
> 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.  This occurred to me
when I was writing a later part of my suggestions but I did not
remember to go back and fix this commit message.

> 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."

(Also, it would have to be "In _the_ Japanese locale" if we were going
to make "locale" singular.)

So maybe something like this:

| In Japanese locales, strftime's alternative year format (%Ey) produces
| a year numbered within a time period called an _era_.  A new era typically
| begins when a new emperor is enthroned.  The result of %Ey is therefore
| usually a one-or two-digit number.

> The manual in the second patch also had the word "current".  Can we
> similarly drop the word "current"?
>
> | If the @code{E} modifier is specified (@code{%EC}), instead produces
> | the name of the period for the current year (e.g. an era name) in the
> | locale's alternative calendar.

Yes, same problem and I think here we can just say "the period for the year".

zw

  reply	other threads:[~2019-01-19 17:08 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-11  4:48 [PATCH v6 0/2] strftime: Improve the width of alternative representation for year " TAMUKI Shoichi
2019-01-11  4:50 ` [PATCH v6 1/2] strftime: Set the default width of "%Ey" to 2 " TAMUKI Shoichi
2019-01-16 16:17   ` Zack Weinberg
2019-01-17  6:31     ` TAMUKI Shoichi
2019-01-17 17:57       ` Rafal Luzynski
2019-01-18  2:46         ` Zack Weinberg
2019-01-18 14:01           ` TAMUKI Shoichi
2019-01-18 18:35             ` Rafal Luzynski
2019-01-18 14:01         ` TAMUKI Shoichi
2019-01-18 18:44           ` Rafal Luzynski
2019-01-19  3:52             ` TAMUKI Shoichi
2019-01-19 17:08               ` Zack Weinberg [this message]
2019-01-19 21:42                 ` Rafal Luzynski
2019-01-11  4:53 ` [PATCH v6 2/2] strftime: Pass the additional flags from "%EY" to "%Ey" " TAMUKI Shoichi
2019-01-16 16:18   ` Zack Weinberg
2019-01-17 18:55     ` Rafal Luzynski
2019-01-18  2:32       ` Zack Weinberg
2019-01-17 18:13 [PATCH v7 1/2] strftime: Set the default width of "%Ey" to 2 " Rafal Luzynski
2019-01-18 14:01 ` [PATCH v6 " TAMUKI Shoichi

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAKCAbMj67Zf6E4STnm+xsRy8Wmm9SoC2_BdOpLLRiPvfErgmqg@mail.gmail.com \
    --to=zackw@panix.com \
    --cc=digitalfreak@lingonborough.com \
    --cc=libc-alpha@sourceware.org \
    --cc=tamuki@linet.gr.jp \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).