Actions
Bug #222
closedIssues with Date#<=>
Description
=begin
Current versions of 1.8.6 return nil when doing comparations between Date:Infinity
ruby -v -rdate -e"puts Date::Infinity.new <=> +Date::Infinity.new"
ruby 1.8.6 (2008-06-29 patchlevel 255) [i686-darwin9.3.0]
nil
ruby-1.8.7 -v -rdate -e"puts Date::Infinity.new <=> +Date::Infinity.new"
ruby 1.8.7 (2008-05-31 patchlevel 0) [i686-darwin9.3.0]
0
This might be a change worth backporting from 1.8.7
=end
Actions
Like0
Like0Like0