Skip Menu |

This queue is for tickets about the DateTime-Format-Natural CPAN distribution.

Report information
The Basics
Id: 67395
Status: resolved
Priority: 0/
Queue: DateTime-Format-Natural

People
Owner: Nobody in particular
Requestors: rod.taylor [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 0.94
Fixed in: (no value)



Subject: 2011-Jan-04
For whatever reason, someone decided to put dashes in this type of format and 0.92 does not parse it. \d{4}-\w{3}-\d{2} DateTime::Format::Natural correctly parses it if I switch dashes with spaces. If possible, please add a parser for this format. Thanks in advance, Rod Taylor
On Mon Apr 11 20:16:14 2011, rtaylor wrote: Show quoted text
> DateTime::Format::Natural correctly parses it if I switch dashes with > spaces.
With dashes it ought to be parsed as a formatted date, whereas with spaces it is parsed as an expression with an expected according grammar entry. Show quoted text
> If possible, please add a parser for this format.
Added in v0.94_02. Thanks!