General

Profile

philr (Phil  )

  • Login: philr
  • Registered on: 07/22/2009
  • Last sign in: 10/27/2021

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

06/07/2011

06:09 AM Ruby Bug #4848: DateTime.jd raises 'invalid fraction' when called with more than one argument
=begin
The second example has gone partially missing above (because RedMine doesn't appear to be escaping the < and >). It should have read:
>> DateTime.jd(Rational(39014323, 16))
#<DateTime: 1963-12-31T04:30:00+00:00 ((2438395j,1...
philr (Phil  )
06:01 AM Ruby Bug #4848 (Rejected): DateTime.jd raises 'invalid fraction' when called with more than one argument
Since trunk revision 31862, the DateTime.jd function raises an ArgumentError with message 'invalid fraction' when it is called with more than one argument. For example,
>> DateTime.jd(Rational(39014323, 16), 0)
ArgumentError: invalid...
philr (Phil  )

Also available in: Atom