ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:105724] [Ruby master Feature#18259] Support quarter spec %q in Time#strftime
@ 2021-10-21  9:39 amcalvo
  2021-10-21 12:15 ` [ruby-core:105731] " naruse (Yui NARUSE)
  0 siblings, 1 reply; 2+ messages in thread
From: amcalvo @ 2021-10-21  9:39 UTC (permalink / raw)
  To: ruby-core

Issue #18259 has been reported by amcalvo (Adrián Medraño Calvo).

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

* 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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [ruby-core:105731] [Ruby master Feature#18259] Support quarter spec %q in Time#strftime
  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)
  0 siblings, 0 replies; 2+ messages in thread
From: naruse (Yui NARUSE) @ 2021-10-21 12:15 UTC (permalink / raw)
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-21 12:15 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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 ` [ruby-core:105731] " naruse (Yui NARUSE)

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