.isValid() error on iphone
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
`
dayjs('1990-05-10 00:00').isValid()
`
Date format like 1990-05-10 00:00 ,when is on Iphone, it is false, on android is ok.
and if format like 1990/05/10 00:00 also ok.
**Information**
- Day.js Version [e.g. v1.0.0]
- OS: IOS
- Browser [any]
- Time zone: [e.g. GMT-07:00 DST (Pacific Daylight Time)]
Contributor guide
Research direction
Start by reproducing the two date strings from the issue on an iPhone and comparing their validity with Android behavior. The report names no files or tests; done means the space-separated date is handled consistently on iOS while preserving the slash-form behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100