Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: Vladimir.Marek [...] oracle.com
Cc:
AdminCc:

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



Subject: New formats DateTime::Format::Natural::EN could support ?
Date: Fri, 15 Oct 2010 13:15:56 +0200
To: bug-DateTime-Format-Natural [...] rt.cpan.org
From: Vladimir Marek <Vladimir.Marek [...] oracle.com>
Hi, First things first, thanks for this great module! While using latest stable (0.90) version, I found out that following phrases were not recognised. 5 pm oct 18 17:00 oct 18 ( oct 18 17:00 works though ) oct 18 5 pm 18 oct 17:00 18 oct 5 pm 5 pm oct 18 17:00 oct 18 ( oct 18 17:00 works though ) 18 oct 17:00 next monday 5 pm 5 pm next monday It would be great if Format::Natural would support those, (unless parsing such lines adds ambiguities to currently supported formats) Thank you -- Vlad
On Fri Oct 15 07:16:26 2010, Vladimir.Marek@oracle.com wrote: Show quoted text
> It would be great if Format::Natural would support those, (unless > parsing such lines adds ambiguities to currently supported formats)
Including them shouldn't actually add ambiguity to the parsing since the grammar class and its handling is one of the major strengths of DateTime::Format::Natural. Following combinations are listed twice in your list: * 5 pm oct 18 * 17:00 oct 18 ( oct 18 17:00 works though ) * 18 oct 17:00 Did you intend to suggest other formats instead?
Subject: Re: [rt.cpan.org #62164] New formats DateTime::Format::Natural::EN could support ?
Date: Sun, 17 Oct 2010 12:17:51 +0200
To: Steven Schubiger via RT <bug-DateTime-Format-Natural [...] rt.cpan.org>
From: Vladimir Marek <Vladimir.Marek [...] oracle.com>
Hi, Show quoted text
> > It would be great if Format::Natural would support those, (unless > > parsing such lines adds ambiguities to currently supported formats)
> > Including them shouldn't actually add ambiguity to the parsing since the > grammar class and its handling is one of the major strengths of > DateTime::Format::Natural.
Yes, I saw that file, but was unable to find the spot to add new formats :) Show quoted text
> Following combinations are listed twice in your list: > > * 5 pm oct 18 > * 17:00 oct 18 ( oct 18 17:00 works though ) > * 18 oct 17:00 > > Did you intend to suggest other formats instead?
No, that's mistake on my side. Thank you ! -- Vlad
Added requested formats in v0.90_0{2,3,4}, which are available now through stable v0.91.