wanasit / chrono

A natural language date parser in Javascript
MIT License
4.61k stars 340 forks source link

Why is '50/6/2018' being parsed as Jun 01 2018? #513

Open Pranoy1c opened 1 year ago

Pranoy1c commented 1 year ago

If we have a date which doesn't make sense: for example 50/6/2018

then it's being parsed as Jun 01 2018.

Shouldn't this give undefined? Or is there a way to determine the confidence? Or disable this behavior?