Skip Menu |

This queue is for tickets about the Date-Manip CPAN distribution.

Report information
The Basics
Id: 52765
Status: resolved
Priority: 0/
Queue: Date-Manip

People
Owner: Nobody in particular
Requestors: rmeden [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 6.05
Fixed in: (no value)



Subject: Date_ConvTZ behavior changed in 6.05 (maybe more)
This works in Version 5.44 but returns empty in 6.05 perl -MDate::Manip -le "Date_Init('TZ=-0600');print Date_ConvTZ('2009121500:00:01','','UTC');" The docs state: Date_ConvTZ($date,$from,$to); $from and $to each default to the local time zone. If they are given, they must be any time zone or alias understood by Date::Manip. $from is not defaulting to the local time zone.
I fixed this bug, and it will be fixed in 6.06. BTW, you should use: Date_Init("SetDate=now,-0600") instead of Date_Init("TZ=-0600") since the TZ variable no longer behaves exactly like it did in 5.xx. Thanks