robertwilczynski / nChronic

A natural language date/time parser ported from Ruby
MIT License
67 stars 34 forks source link

"next year" and "in one year" should evaluate to the same date and time #15

Open icnocop opened 8 years ago

icnocop commented 8 years ago

I expected that "next year" and "in one year" to evaluate to the same date and time, but they don't.

For example, given today's date and time of 7/11/2016 7:26 PM:

I expected both to evaluate to 7/11/2017 7:26 PM.

Thank you.