Subject: | Date::Parse returns year as day when given 'MONTH YEAR' |
my ($ss,$mm,$hh,$day,$month,$year,$zone) = strptime('December 2009');
I know that this is a bit of a 'broken' usecase but, in short $day is 2009. My expectation is that $day would be undef and $year = 2009.
test can be found here:
http://gist.github.com/266985
--
benh~