0.21  2004-03-28 (The "Another YAPC::Taipei release party release"
release)

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



-dave

/*=======================
House Absolute Consulting
www.houseabsolute.com
=======================*/

Reply via email to