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

Changes for version 1.09 - 2014-05-03

  • A call to ->truncate( to => 'week' ) could fail but leave the object changed. RT #93347.
  • The value of ->jd() is now calculated based on ->mjd() instead of the other way around. This reduces floating point errors a bit when calculating MJD, and should have a neglible impact on the accuracy of JD. Reported by Anye Li. RT #92972. See the ticket for a more detailed description of what this fixes.
  • Attempting to construct a DateTime object with a year >= 5000 and a time zone other than floating or DST now issues a warning. This warning may go away once DateTime::TimeZone is made much faster. Inspired by a bug report from Lloyd Fournier. RT #92655.

Modules

A date and time object
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