SBECK-github / Date-Manip

Other
10 stars 11 forks source link

patch for Date::Manip::DM5::Date_ConvTZ() #5

Closed ghost closed 9 years ago

ghost commented 9 years ago

Date::Manip::DM5::Date_ConvTZ() is broken for below usages

$date = Date_ConvTZ($date,"",$to [,$errlev]);     # this is documented in pod
$date = Date_ConvTZ($date,undef,$to [,$errlev]);

This is caused by a undocumented subtle change introduced in version 6.32. And present dm5.convtz.t does not cover this.