Project

General

Profile

Actions

Bug #3572

closed

mathn causes problems with DateTime

Added by kolbrich (Kevin Olbrich) over 14 years ago. Updated over 13 years ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 1.9.2dev (2010-07-11 revision 28618) [i386-darwin9.8.0]
Backport:
[ruby-core:31279]

Description

=begin

require 'date'
DateTime.jd(2_453_827.5) # => #<DateTime: 2006-04-01T12:00:00+00:00 (2453827.0,0,2299161)>
require 'mathn'
DateTime.jd(2_453_827.5) # => SystemStackError: stack level too deep
from /Users/username/.rvm/rubies/ruby-1.9.2-rc2/lib/ruby/1.9.1/date/format.rb:304
=end

Actions

Also available in: Atom PDF

Like0
Like0