mojombo / chronic

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

Should parse ISO8601 microsecond timestamps #376

Open kenaniah opened 6 years ago

kenaniah commented 6 years ago
Chronic.parse "2018-05-24T15:43:09.5582332-05:00" #=> nil
Chronic.parse "2018-05-24T15:43:09.559-05:00" #=> 2018-05-24 15:43:09 -0500

It appears as though chronic refuses to parse anything more precise than milliseconds, as evidenced in the first result.