Closed zoehneto closed 2 years ago
According to the ECMAScript spec for the date we have to return Invalid Date if a user constructs an invalid date. Failure to do so means that some libraries (e.g. dayjs) can't recognize that a date is invalid and therefore don't work correctly.
Invalid Date
Thanks! Released as 1.2.0.
According to the ECMAScript spec for the date we have to return
Invalid Date
if a user constructs an invalid date. Failure to do so means that some libraries (e.g. dayjs) can't recognize that a date is invalid and therefore don't work correctly.