[ BACKWARDS INCOMPATIBILITIES ]
- The default end_of_month mode for negative durations is now
"preserve". This makes more sense, as the previous default meant
that the following code:
print DateTime->new( year => 2003, month => 5, day => 31 )
->subtract( months => 1 )->ymd;
printed "2003-05-01" as opposed to "2003-04-30". Thanks to Thomas
Klausner for starting a discussion on this problem.