Project

General

Profile

Actions

Bug #4662

closed

Date#strftime %v gives allcaps instead of normal caps

Added by d-snp (Tinco Andringa) over 13 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.3dev (2011-05-09 trunk 31496) [x86_64-darwin10.5.0]
Backport:
[ruby-core:36064]

Description

Since the big strftime changes of past month strftime gives a capitalised month abbreviation like so:

'%v'=>[' 3-FEB-2001' {:mday=>3,:mon=>2,:year=>2001}]

This is different from before where:

'%v'=>[' 3-Feb-2001',{:mday=>3,:mon=>2,:year=>2001}],

Is there a reason for this change or was it accidental? It breaks with all previous ruby versions and is also inconsistent with for example %b or %c.


Related issues 1 (0 open1 closed)

Related to Ruby master - Bug #13810: Inconsistency between Date and Time.strftime("%v")ClosedActions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0