mojombo / chronic

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

Chronic.parse('09/01/00') returns nil #358

Closed kobaltz closed 7 years ago

kobaltz commented 7 years ago
pry(main)> Chronic.parse('09/01/99')
=> 1999-09-01 12:00:00 -0400
pry(main)> Chronic.parse('09/01/00')
=> nil

I would expect similar behaviour for parsing YY when it is 99 or 00. I did not think that the y2k bug would still be haunting me 18 years later.

davispuh commented 7 years ago

Fixed with #359

lawnknee commented 3 weeks ago

Hey there, recently ran into this same exact issue despite there being a fix for it. Should I open up a new bug ticket?

Screenshot 2024-08-09 at 7 44 32 PM

Update -- just found this issue: https://github.com/mojombo/chronic/issues/387 so I might have misunderstood. It appears that the issue is fixed, but just a matter of releasing the code? 🙏