mojombo / chronic

Chronic is a pure Ruby natural language date parser.
http://injekt.github.com/chronic
MIT License
3.23k stars 452 forks source link

Chronic can't parse year "00": returns nil #387

Open mreigen opened 5 years ago

mreigen commented 5 years ago
>> Chronic.parse("June 15 00 at 5:45 AM")
=> nil
>> Chronic.parse("June 15 06 at 5:45 AM")
=> 2006-06-15 05:45:00 -0700
>> Chronic.parse("June 15 2000 at 5:45 AM")
=> 2000-06-15 05:45:00 -0700

This seems to be fixed with a commit from @renziver (https://github.com/mojombo/chronic/commit/86db388a71bc8f5c9e8b861d75e23df4abac26b6) But it doesn't seem to be released. The latest release is 0.10.2 as of the time of this writing.

delongtj commented 4 years ago

@mojombo would it be possible to get a new version of this gem published to rubygems? A lot of pertinent fixes have been pushed to master since the last release.

joevandyk commented 2 years ago

bump on release :)