Skip Menu |

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

Report information
The Basics
Id: 39697
Status: rejected
Priority: 0/
Queue: DateTime-Format-Natural

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

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



Subject: another "naytural" format
First, thanks for the module. I find it to be very useful. Here's a format that it doesn't parse: "12:01 a.m. EDT Sept. 20, 2008" This is how the publish dates are represented on marketwatch.com. I'd be willing to submit a patch, but I haven't had the time to dig into your module to see how it goes about its business.
Heh, didn't notice my typo in the subject. I suppose that it is a naytural format.
Subject: Re: [rt.cpan.org #39697] another "naytural" format
Date: Tue, 30 Sep 2008 10:49:13 +0200
To: CMEYER via RT <bug-DateTime-Format-Natural [...] rt.cpan.org>
From: Steven Schubiger <schubiger [...] cpan.org>
CMEYER via RT <bug-DateTime-Format-Natural@rt.cpan.org> wrote: Show quoted text
> First, thanks for the module. I find it to be very useful. > > Here's a format that it doesn't parse: > > "12:01 a.m. EDT Sept. 20, 2008" > > This is how the publish dates are represented on marketwatch.com. > > I'd be willing to submit a patch, but I haven't had the time to dig into > your module to see how it goes about its business.
I think it would be doable, but not without a certain effort, which would probably involve primarly extending and tweaking the existing english grammar class; furthermore, in conjunction with such possible changes, additional tests, of course, would need to be written too. The main parsing and dispatching engine might also would require some work on the code it consists of, but I doubt that for now. The latest svn trunk (for ease of creating patches) is located at <http://svn.refcnt.org/stsc/perl/DateTime-Format-Natural/trunk/> Steven