Subject: | DTFN dies on any month with less than 30 days if it's the 31st |
Since today is March 31, I found out that if I try to use DTFN to parse
for any date that's in a month with less than 31 days, it dies.
Examples:
Show quoted text
dateparse> march 3
03.03.2009 04:32:22
Show quoted textdateparse> april 3
Invalid day of month (day = 31 - month = 4 - year = 2009)
at /usr/local/share/perl/5.10.0/DateTime/Format/Natural/Base.pm line
964
Show quoted textdateparse> may 3
03.05.2009 04:32:31
Show quoted textdateparse> june 3
Invalid day of month (day = 31 - month = 6 - year = 2009)
at /usr/local/share/perl/5.10.0/DateTime/Format/Natural/Base.pm line
964
Show quoted textdateparse> july 3
03.07.2009 04:32:39
Show quoted textdateparse> august 3
03.08.2009 04:32:43
Show quoted textdateparse> september 3
Invalid day of month (day = 31 - month = 9 - year = 2009)
at /usr/local/share/perl/5.10.0/DateTime/Format/Natural/Base.pm line
964
Best,
Jason