Re: 1.29 change to DateTime::subtract_datetime behaves unexpectedly

2005-05-31 Thread J. Alexander Docauer
Dave Rolsky wrote: Well, when you want to know how far apart two datetimes are in duration, you'd always do that based on UTC. UTC is the "real" datetime, and the time zone adjusted datetime is just for presentation. In other words, the duration is the actual number of hours that passed, ak

Re: 1.29 change to DateTime::subtract_datetime behaves unexpectedly

2005-05-31 Thread Dave Rolsky
On Tue, 31 May 2005, J. Alexander Docauer wrote: In my program, I need to know the difference between two dates in time-of-day-independent days/months, but also do DST-dependent calculations. However, after this change, subtracting DST DateTime objects whose difference crosses the spring DST c

1.29 change to DateTime::subtract_datetime behaves unexpectedly

2005-05-31 Thread J. Alexander Docauer
The following change from DateTime 1.28 to 1.29 breaks my code: CVS diff of file DateTime.pm from 1.298 to 1.299 http://cvs.sourceforge.net/viewcvs.py/perl-date-time/modules/DateTime.pm/lib/DateTime.pm?r1=1.298&r2=1.299 In my program, I need to know the difference between two dates in time-of-d

ANNOUNCE: DateTime::Locale 0.22

2005-05-31 Thread Dave Rolsky
0.22 2005-05-31 - Allow id names passed to load() to contain dashes or underscores, in order to support RFC 3066 locale names, which use dashes. - Fix bugs when a custom locale was registered and a "class" parameter was passed to register(). Patch from Yann Kerherv. - Switched to a "traditio