Open subeshb1 opened 4 years ago
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.99. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
When parsing invalid date
2020/20/20
it gives20/08/2021
.The value should be the same when the string is sent to the constructor.
The reason, this bug exists is because it uses the same logic as number constructor.
Acceptance Criteria The string value should be parsed as it is or not parsed at all.