chrono icon indicating copy to clipboard operation
chrono copied to clipboard

Overmorrow is not recognized as a valid date

Open ludrol opened this issue 1 year ago • 1 comments

What I am doing:

in node.js

const chrono = require('chrono-node');
console.log(chrono.parseDate('overmorrow'));

What I expect: that it will be resolved to a date a day after tomorrow

What I get: unresolved date

ludrol avatar Feb 04 '25 11:02 ludrol

Yeah i cant get it parse fortnight or kalends either

zachsents avatar Feb 27 '25 19:02 zachsents

Hello.

I don't know how often the term is practically used, but it is not difficult to add. The term "Overmorrow" also doesn't seem to have ambiguous cases. So, I'm adding "overmorrow" in e1acb29.

  • For a "Fortnight", I worry about disambiguous. The game seems to be more commonly mentioned in web than the time meaning.
  • A "Kalends" is more difficult to add.

Note: I'm not a native English speaker. This is the first time I heard about any of these terms. I hope this is not just a troll, as the issue backlog is pretty long as it is.

wanasit avatar Mar 30 '25 13:03 wanasit

Thanks for the good work on this library. I'm not sure about the original issue, but my comment about fortnight and kalends was a joke.

These are pretty antiquated terms. I'd say it's safe to leave them out haha

zachsents avatar Mar 30 '25 14:03 zachsents

Overmorrow is not really used outside of trivia and memes "Let's revive overmorrow as a word" , but it will give that WOW! effect when testing out library for the first time.

Thanks for the work on this a bit silly issue, and maintaining the library as a whole.

ludrol avatar Mar 30 '25 14:03 ludrol