DateTime-Format-Natural reviews

cpanratings
 

RSS | Module Info | Add a review of DateTime-Format-Natural

DateTime-Format-Natural (1.01) ***

I'm giving DateTime::Format::Natural 3 stars because while it's great for English (it covers more phrases than DateTime::Format::Flexible), it's also hard to translate. Look at the source code for DateTime::Format::Natural::Lang::EN: lots of Englishisms and weird structures (%grammars). Wonder why so far there has not been any translations to another language?

Steven Haryanto - 2013-04-19T17:32:16 (permalink)

2 out of 2 found this review helpful. Was this review helpful to you?  Yes No

DateTime-Format-Natural (1.01) ****

Great module, but it breaks the API of DateTime::Format!

I think this code sums it up:

$date= $self->date_parser->parse_datetime($date);

# WHY!? WHY... *sigh*

if ($self->date_parser->isa('DateTime::Format::Natural')) {

croak "Invalid date: $date"

unless $self->date_parser->success;

}

In other words, you have to special case it if you want a design with pluggable date parsers.

This bug is mentioned right in the documentation, so I get the idea there is no intent to fix it.

M. Conrad - 2013-04-19T11:09:49 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

DateTime-Format-Natural (0.83) *****

Indispensable if you want to parse dates entered by real people. The handling of relative dates with the ability of a custom context date (in case you need to treat some other day as today) is especially nice. The author is also responsive and helpful.

hanenkamp - 2010-02-20T21:24:44 (permalink)

1 out of 1 found this review helpful. Was this review helpful to you?  Yes No

DateTime-Format-Natural (0.76) *****

DTFN is very flexible and does what you want when it comes to manually inputting dates. Highly recommended.

Jason May - 2009-06-10T08:36:57 (permalink)

3 out of 3 found this review helpful. Was this review helpful to you?  Yes No

DateTime-Format-Natural (0.61) *****

This is an excellent module with an exemplary author. Steven is very responsive to all of my feature requests.

If you're parsing dates, you'd do well to use this module.

Shawn M Moore - 2007-11-24T12:12:22 (permalink)

6 out of 6 found this review helpful. Was this review helpful to you?  Yes No