Chrome v88 (88.0.4324.93) for Android does not recognize date
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.8k
- PR merge metrics
- No merged PRs in 30d
Description
Device: Android phone (with Android v10)
Browser: Chrome v88 (88.0.4324.93).
dayJs('2021-01-26T00:00:00Z').tz(tz) returns "Invalid Date".
Started happening with Chrome upgrade v88.
dayJs(dateWithFormat).tz(tz) --> Works everywhere except Chrome88 on Android 10
dayJs.tz(dateWithFormat, tz) --> Works on Chrome 88 for Android 10.
Shouldn't these methods return the same values irrespective of the browser or the underlying OS?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the two documented calls with dayJs('2021-01-26T00:00:00Z').tz(tz) and dayJs.tz(dateWithFormat, tz) in Chrome 88 on Android 10, then compare their parsing and timezone paths. Done means the browser-specific behavior is resolved or clearly documented, with regression coverage for the reported input if the project has an applicable test location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100