Project

General

Profile

Actions

Feature #18259

open

Support quarter spec %q in Time#strftime

Added by amcalvo (Adrián Medraño Calvo) about 3 years ago. Updated about 3 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:105724]

Description

This syntax is used by coreutil's date program (since 8.26):

‘%q’

quarter of year (‘1’…‘4’) 

Updated by naruse (Yui NARUSE) about 3 years ago

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.

Actions

Also available in: Atom PDF

Like0
Like0