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

Returning an array of dates #379

Open bragboy opened 6 years ago

bragboy commented 6 years ago
> Chronic.parse('today')
=> 2018-06-30 18:00:00 +0200
> Chronic.parse('tomorrow')
=> 2018-07-01 12:00:00 +0200
> Chronic.parse('today and tomorrow')
=> nil

The first two conditions are returning as expected. However, is it possible to return an array of dates in case it has more than two dates in the context ?

davispuh commented 6 years ago

That's not implemented.