Changes for version 1.22 - 2016-02-21 (TRIAL RELEASE)

  • Fixed several issues with the handling of non-integer values passed to from_epoch(). This 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. This matches the precision we can expect from Perl itself (53 bits) in most cases.
    • Patch by Christian Hansen. GitHub #11.

Modules

A date and time object for Perl
Duration objects for date math
Infinite past and future DateTime objects
leap seconds table and utilities

Provides

in lib/DateTime/Helpers.pm
in lib/DateTime/Infinite.pm
in lib/DateTime/Infinite.pm
in lib/DateTime/PP.pm
in lib/DateTime/PPExtra.pm