Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: tj [...] solitudo.net
Cc:
AdminCc:

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



Subject: PATCH: Support for seconds and minutes in ago stanzas
Date: Mon, 16 Apr 2007 03:27:47 +0300
To: bug-datetime-format-natural [...] rt.cpan.org
From: Tuomas Jormola <tj [...] solitudo.net>
Hello, I needed to have support for parsing seconds and minutes in ago stanzas. Here's a patch for it. Regards, -- Tuomas Jormola <tj@solitudo.net>

Message body is not shown because sender requested not to inline it.

On Sun Apr 15 20:28:15 2007, tj@solitudo.net wrote: Show quoted text
> I needed to have support for parsing seconds and minutes in ago stanzas. > Here's a patch for it.
Thanks, I've applied it & modified existing testcases to reflect the precision in seconds and added some tests. Furthermore, according examples were added to all language metadata base classes. Last but not least, scripts/dateparse.pl was updated to reflect the precision in seconds too. 0.29 has been uploaded to CPAN.