Changes for version 0.21 - 2004-03-28

  • *** BACKWARDS INCOMPATIBILITIES ***
    • When given mixed positive & negative arguments, DateTime::Duration no longer forces all arguments to be negative.
    • For mixed durations, the is_positive, is_zero, and is_negative methods all return false.
    • Brought back stringification overloading. As of version 1.06, Devel::StackTrace will ignore this overloading when displaying a trace.
  • ENHANCEMENTS
    • Add a new in_units() method to DateTime::Duration. Patch by Andrew Pimlott.
    • Rely on DateTime::TimeZone and DateTime::Locale having their own Storable hooks, as opposed to handling them in DateTime.pm's own Storable hooks. This should fix RT ticket #5542, reported by Dan Rowles (I hope).
    • More docs on how date math is done. See the new section "The Results of Date Math".
  • BUG FIXES
    • DateTime::Duration's is_positive, is_zero, and is_negative methods could incorrectly return true if a duration contained mixed positive and negative units.
    • Better normalization of nanoseconds in DateTime::Duration. Patch by Andrew Pimlott.

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/DateTimePP.pm
in lib/DateTimePPExtra.pm
in lib/DateTime/Infinite.pm
in lib/DateTime/Infinite.pm