Skip Menu |

This queue is for tickets about the Time-ParseDate CPAN distribution.

Report information
The Basics
Id: 90343
Status: resolved
Priority: 0/
Queue: Time-ParseDate

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

Bug Information
Severity: Important
Broken in: 2013.0920
Fixed in: (no value)



Subject: Fails to parse "May 1, 2011" correctly
$ perl -MTime::ParseDate -E 'say parsedate("May 1, 2011")' 1367384400, 2011 ", 2011" was not parsed. 1367384400 is May 1, 2013. Other months work fine: $ perl -MTime::ParseDate -E 'say parsedate("June 1, 2011")' 1306904400 $ perl -MTime::ParseDate -E 'say parsedate("April 1, 2011")' 1301634000 Using WHOLE => 1 just makes the parse fail: $ perl -MTime::ParseDate -E 'say parsedate("May 1, 2011", WHOLE => 1)' characters left over after parse I'm guessing that "mmm dd" is taking precedence over "mmmm dd, yyyy". Since May is only 3 letters, it has no abbreviation.
Fixed in 2013.1113