Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve validation of Date object in
getInitialDateFromUrl
The `isDate` function only verifies if a value is a `Date` object without checking its validity. Since `new Date()` returns a `Date` object even for invalid date strings (`initialDateString`), this adjustment ensures that only valid dates pass the check.
- Loading branch information