iamkun / iamkun/dayjs

CRITICAL: Unable to parse UTC offset

Open
#2,724 1 comment 9 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 is unable to parse UTC offsets.

**Expected behavior**
dayjs should be able to properly parse date time formats with UTC offset.

**Information**
- Day.js Version: 1.11.13
- OS: All
- Browser: All
- Time zone: GMT+3

**CodeSandbox**
https://codesandbox.io/p/sandbox/dayjs-date-time-parse-bug-9j6n9g

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the UTC-offset parsing failure in the linked CodeSandbox using Day.js 1.11.13 and the reported GMT+3 environment. Identify the date-time format that fails and compare the parsed result with the expected UTC-adjusted value; done means the reproduction parses correctly across the reported environments and has regression coverage.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.