From: Akinori MUSHA Date: 2011-07-17T18:32:47+09:00 Subject: [ruby-core:38136] [Ruby 1.8 - Backport #2556][Assigned] Should r24500 be backported to 1.8? Issue #2556 has been updated by Akinori MUSHA. Status changed from Closed to Assigned Assignee changed from Akinori MUSHA to Shyouhei Urabe Backport to 1.8.7 is up to you. ---------------------------------------- Backport #2556: Should r24500 be backported to 1.8? http://redmine.ruby-lang.org/issues/2556 Author: Brian Ford Status: Assigned Priority: Normal Assignee: Shyouhei Urabe Category: lib Target version: Ruby 1.8.7 =begin Should http://redmine.ruby-lang.org/repositories/diff/ruby-19?rev=24500 be backported to 1.8? $ ruby -v -rdate -e 'p Date.strptime("2010/1", "%Y/%W").to_s' ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] "2010-01-10" $ ruby1.8.7 -v -rdate -e 'p Date.strptime("2010/1", "%Y/%W").to_s' ruby 1.8.7 (2009-12-24 patchlevel 248) [i686-darwin9.8.0] "2010-01-10" $ ruby1.9 -v -rdate -e 'p Date.strptime("2010/1", "%Y/%W").to_s' ruby 1.9.2dev (2009-12-16 trunk 26107) [i386-darwin9.8.0] "2010-01-04" Monday of the first week of 2010 is clearly not 1/10, so the change in r24500 would seem to be a bug fix. I searched for a ticket for the change made in r24500 but could not find one. Thanks, Brian =end -- http://redmine.ruby-lang.org