Re: Leap seconds / time zone bug in DateTime.pm

2004-09-01 Thread Dave Rolsky
On Fri, 6 Aug 2004, Eugene van der Pijll wrote: I've attached a patch for the test files. I haven't looked into the DateTime.pm code, because both leap second and the time zone handling code are just too scary! I checked this patch in. I'll try to fix this soon. -dave

Leap seconds / time zone bug in DateTime.pm

2004-08-05 Thread Eugene van der Pijll
There's a bug somewhere in the interaction between leap seconds and time zones. In timezones with a positive offset, datetimes after local midnight but before UTC midnight already are affected by the leap second: $dt = DateTime-new( year = 1997, month = 7, day = 1,