Skip Menu |
 

This queue is for tickets about the TimeDate CPAN distribution.

Report information
The Basics
Id: 53267
Status: new
Priority: 0/
Queue: TimeDate

People
Owner: Nobody in particular
Requestors: notbenh [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 1.20
Fixed in: (no value)



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~


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.