Changes for version 0.23 - 2004-12-09

  • ENHANCEMENTS
    • Added a number of convenience "set" methods: set_year, set_month, set_day, set_hour, set_minute, set_second, set_nanosecond, and set_locale. Suggested by Michael Schwern.
    • Added christian_era and year_with_christian_era methods.
    • Clarified that from_epoch(), today(), and now() all return objects in the UTC time zone. Suggested by Sagar Shah and others.
    • Added formatter parameter to constructor, which allows per-object stringification. Based on a patch from Daisuke Maki.
  • BUG FIXES
    • Trying to serialize DateTime::Infinite objects with Storable blew up. Patch by Daisuke Maki.
    • Require Test::More 0.34+, since I use a function introduced in that version in the tests. Suggested by Jean Forget.
    • Fix a bug in strftime() which could cause weirdness with pathological specifiers like "%%{day_name}%n". Reported by Jean Forget.
    • Fixed a number of bugs related to leap seconds and time zones. Reported by Eugene van der Pijll.

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