iamkun / iamkun/dayjs

dayjs('05:00', 'HH:mm') is invalid

Open
#2,496 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
48.7k
Forks
2.5k
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
dayjs('05:00', 'HH:mm') is invalid

**Expected behavior**
I would expect it to be valid

**Information**
- Day.js Version 1.11.10

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported Day.js 1.11.10 behavior for dayjs('05:00', 'HH:mm') and inspect the date parsing entry point used by the format argument. Confirm the expected valid result with a focused regression test; done means the input is accepted without breaking existing formatted-date parsing tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.