Changes for version 1.67 - 2026-08-30

  • Documented that the `truncate` method can throw a fatal error if the truncation produces a datetime that doesn't exist in the local time zone. This can happen when truncating to a day (or more) in a time zone with a DST transition at midnight. Reported by @tsadok. GH #155. -
  • Documented that `rfc3339` does not include nanoseconds. Reported by @n1vux (Bill Ricker). GH #150.
  • Fixed docs for `strftime` to remove the bit that said it returned the same values as the POSIX `strftime`. This hasn't been the case for a long time. Reported by @jimav (Jim Avera). GH #148.

Modules

A date and time object for Perl
Check for conflicts between DateTime and installed packages
Duration objects for date math
Infinite past and future DateTime objects
leap seconds table and utilities
Types used for parameter checking in DateTime

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