Project

General

Profile

Bug #222

Issues with Date#<=>

Added by febuiles (Federico Builes) almost 12 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Target version:
ruby -v:
[ruby-core:17523]

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

#1

Updated by naruse (Yui NARUSE) over 11 years ago

  • Assignee set to shyouhei (Shyouhei Urabe)

=begin

=end

#2

Updated by shyouhei (Shyouhei Urabe) over 11 years ago

  • Status changed from Open to Closed
  • Target version set to Ruby 1.8.6
  • % Done changed from 0 to 100

=begin
Applied in changeset r21222.
=end

Also available in: Atom PDF