Subject: | Decode_Date_EU problem with leading zeros |
Issue:
Date::Calc::Decode_Date_EU returns different results for string
representations of months with and without leading zeors.
Occurred after upgrade from 5.3 (perl 5.10) to 6.3 (perl 5.12)
on gentoo
reproducible: always
example:
#!/usr/bin/perl -w
use Date::Calc;
my @date;
@date = Date::Calc::Decode_Date_EU("22.04.1998");
print "@date\n";
@date = Date::Calc::Decode_Date_EU("22.4.1998");
print "@date\n";