Subject: | Calculated nanoseconds not always an integer |
The calculated nanoseconds sometimes results in a float making creating
the DateTime object fail.
perl -MDateTime::Format::HTTP -E "my $dt =
DateTime::Format::HTTP->parse_datetime('2010-06-26T15:14:33.400753');"
This is currently what's causing another bug in Net::Mosso::CloudFiles
as well (RT#48561).
If you add '2010-06-26T15:14:33.400753' to @tests in date.t you can see
it fail. I've tried forcing the conversion of the nanoseconds value to
an integer, but that results in a time difference when running the tests.