ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
From: "naruse (Yui NARUSE)" <noreply@ruby-lang.org>
To: ruby-core@ruby-lang.org
Subject: [ruby-core:105731] [Ruby master Feature#18259] Support quarter spec %q in Time#strftime
Date: Thu, 21 Oct 2021 12:15:41 +0000 (UTC)	[thread overview]
Message-ID: <redmine.journal-94230.20211021121540.51944@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-18259.20211021093947.51944@ruby-lang.org

Issue #18259 has been updated by naruse (Yui NARUSE).


When we introduce a new specifier for strftime, we are afraid that we accidentally introduce it as a different meaning from the de-facto standard.
Maybe you insist coreutil's date is an implementation  near the de-facto, but I think the king is glibc's strftime.

----------------------------------------
Feature #18259: Support quarter spec %q in Time#strftime
https://bugs.ruby-lang.org/issues/18259#change-94230

* Author: amcalvo (Adrián Medraño Calvo)
* Status: Open
* Priority: Normal
----------------------------------------
This syntax is used by coreutil's `date` program (since 8.26):

> ‘%q’
> 
>     quarter of year (‘1’…‘4’) 



-- 
https://bugs.ruby-lang.org/

      reply	other threads:[~2021-10-21 12:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21  9:39 [ruby-core:105724] [Ruby master Feature#18259] Support quarter spec %q in Time#strftime amcalvo
2021-10-21 12:15 ` naruse (Yui NARUSE) [this message]

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-list from there: mbox

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

  List information: https://www.ruby-lang.org/en/community/mailing-lists/

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

  git send-email \
    --in-reply-to=redmine.journal-94230.20211021121540.51944@ruby-lang.org \
    --to=ruby-core@ruby-lang.org \
    /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).