mojombo / chronic

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

Un-parseable text raising error #418

Open Leonardo-Zappani opened 2 months ago

Leonardo-Zappani commented 2 months ago

We use this gem to handle and parse data extracted from an OCR integration. While reviewing the logs, I found that attempting to parse the string 07 July, 2024 to 07 July, 2025 raises errors. I don't expect it to extract data from this string, but it shouldn't raise errors either.

Captura de Tela 2024-09-19 às 17 45 10