When the timestamp is in string format, it can be parsed.
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
When the timestamp is in string format, it can be parsed.
'1691596800000' -> 1696-01-06T15:54:17.000Z,
1691596800000 -> 2023-08-09T16:00:00.000Z
**Expected behavior**
The expected format is incorrect, resulting in an 'Invalid Date' error.
**Information**
- Day.js Version [v2.16.0]
Contributor guide
Assessment
This issue has not been assessed yet.