The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

Changes for version 1.32 - 2016-06-28

  • This release *does not* include any of the changes in the 1.29-1.30 TRIAL releases.
  • When you pass a locale to $dt->set you will now get a warning suggested you should use $dt->set_locale instead. If you have DateTime::Format::Mail installed you should upgrade to 0.0403 or later, since that module will trigger this warning.
  • Added support for $dt->truncate( to => 'quarter' ). Implemented by Michael Conrad. GitHub #17.

Changes for version 1.31 - 2016-06-18 (TRIAL RELEASE)

  • When you pass a locale to $dt->set you will now get a warning suggested you should use $dt->set_locale instead. The previous trial releases didn't allow locale to be passed at all, which broke a lot of modules. I've sent PRs, but for now the parameter should be allowed (but discouraged). Reported by Slaven Resic. RT #115420.

Changes for version 1.30 - 2016-06-18 (TRIAL RELEASE)

  • Require the latest version of Params::CheckCompiler (0.06). Tests failed with 0.01.

Changes for version 1.29 - 2016-06-17 (TRIAL RELEASE)

  • Replaced Params::Validate with Params::CheckCompiler and Specio. In my benchmarks this makes constructing a new DateTime object about 14% faster. However, it slows down module load time by about 100 milliseconds (1/10 of a second) on my desktop system with a primed cache (so really measuring compile time, not disk load time).

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