Project

General

Profile

Actions

Bug #222

closed

Issues with Date#<=>

Added by febuiles (Federico Builes) over 15 years ago. Updated almost 13 years ago.

Status:
Closed
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

Actions #1

Updated by naruse (Yui NARUSE) over 15 years ago

  • Assignee set to shyouhei (Shyouhei Urabe)

=begin

=end

Actions #2

Updated by shyouhei (Shyouhei Urabe) about 15 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

Actions

Also available in: Atom PDF

Like0
Like0Like0