Project

General

Profile

Actions

Feature #18259

open

Support quarter spec %q in Time#strftime

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

Status:
Open
Priority:
Normal
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 2 months 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