iamkun / iamkun/dayjs

dayjs('2020-12', 'YYYY-ww') 和 dayjs('2022-Q1', 'YYYY-[Q]Q') 不支持字符串反向format

Open
#2,402 0 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('2020-12', 'YYYY-ww') is invalid

https://codesandbox.io/s/brave-rain-l5xyj5?file=/src/index.js:0-1089

**Expected behavior**

**Information**
- Day.js Version [v1.11.9]

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.