The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 1.23 - 2016-02-28

  • Make all DateTime::Infinite objects return the system's representation of positive or negative infinity for any method which returns a number of string representation (year(), month(), ymd(), iso8601(), etc.). Previously some of these methods could return "Nan", "-Inf--Inf--Inf", and other confusing outputs. Reported by Greg Oschwald. RT #110341.

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 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. 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