diff options
author | Jeremy Evans <code@jeremyevans.net> | 2021-07-27 10:23:47 -0700 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-28 17:34:26 +0900 |
commit | f9f7f3a75ec5af4a70e3332f8f5aa300c13432e2 (patch) | |
tree | 8d99533cd00f4b9894408b6efade59f2da26dd22 /test | |
parent | af68070068e86872014af9e69bae628c78ac26d6 (diff) | |
download | ruby-f9f7f3a75ec5af4a70e3332f8f5aa300c13432e2.tar.gz |
[ruby/date] Make %v strftime flag use uppercase month
%v is supposed to be the VMS date, and VMS date format uses an
uppercase month.
Ruby 1.8 used an uppercase month for %v, but the behavior was
changed without explanation in r31672.
Time#strftime still uses an uppercase month for %v, so this change
makes Date#strftime consistent with Time#strftime.
Fixes [Bug #13810]
https://github.com/ruby/date/commit/56c489fd7e
Diffstat (limited to 'test')
-rw-r--r-- | test/date/test_date_strftime.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/date/test_date_strftime.rb b/test/date/test_date_strftime.rb index f82874d26d..be9354504a 100644 --- a/test/date/test_date_strftime.rb +++ b/test/date/test_date_strftime.rb @@ -48,7 +48,7 @@ class TestDateStrftime < Test::Unit::TestCase '%t'=>["\t",{}], '%u'=>['6',{:cwday=>6}], '%V'=>['05',{:cweek=>5}], - '%v'=>[' 3-Feb-2001',{:mday=>3,:mon=>2,:year=>2001}], + '%v'=>[' 3-FEB-2001',{:mday=>3,:mon=>2,:year=>2001}], '%z'=>['+0000',{:zone=>'+0000',:offset=>0}], '%+'=>['Sat Feb 3 00:00:00 +00:00 2001', {:wday=>6,:mon=>2,:mday=>3, |