From: Clifford Heath Date: 2011-06-09T09:11:23+09:00 Subject: [ruby-core:36871] Re: [Ruby 1.8 - Feature #4644] DateTime.new does not work with Float On 09/06/2011, at 9:38 AM, Stefan Radomski wrote: > When initializing a DateTime object, one can pass seconds as Floats, > like 5.5. The decimals get added to sec_fraction. This works great > in Ruby 1.9, but not in 1.8. Even more amazing to me, is that you can't pass a DateTime to DateTime.new, and the same for Date. Surely you should be able to construct one from another? I should probably raise a separate issue for this...? Clifford Heath.