dayjs('17:14:10', 'HH:mm:ss') gives invalid date
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
const timeString = dayjs('17:14:10', 'HH:mm:ss')
**gives invalid date**
Expected behavior
It should parse partial string correctly as moment does
Information
Day.js: https://unpkg.com/dayjs@1.8.21/dayjs.min.js
OS: [windows]
Browser [chrome 107.0.5304.63]
Time zone: [GMT +8:00 ]
Contributor guide
Assessment
This issue has not been assessed yet.