- New upstream release 1.23 - Fixed several issues with the handling of non-integer values passed to from_epoch() (GH#11) - This method was simply broken for negative values, which would end up being incremented by a full second, so for example -0.5 became 0.5 - The method did not accept all valid float values; specifically, it did not accept values in scientific notation - Finally, this method now rounds all non-integer values to the nearest millisecond, which matches the precision we can expect from Perl itself (53 bits) in most cases - Make all DateTime::Infinite objects return the system's representation of positive or negative infinity for any method that returns a number or string representation (year(), month(), ymd(), iso8601(), etc.); previously some of these methods could return "Nan", "-Inf--Inf--Inf", and other confusing outputs (CPAN RT#110341)
2 lines
55 B
Plaintext
2 lines
55 B
Plaintext
9512ffe7d29da6259b072ab384131bad DateTime-1.23.tar.gz
|