iamkun / iamkun/dayjs

The custom parse format doesn't support `DOT`

Open
#2,779 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**
The custom parse format doesn't support `DOT`
image

**Expected behavior**
Input: dayjs('Nov. 2024', 'MMM. YYYY')
Result: $y: 2024, $m: 11

**Information**
- Day.js v1.11.13
- OS: Mac
- Browser Chrome

Contributor guide

Open the contributing guide

Research direction

Start from the dayjs('Nov. 2024', 'MMM. YYYY') entry point and reproduce the custom parse-format behavior described in the issue. Locate the custom parsing implementation, then verify that the input produces the expected year and month values while preserving existing parsing behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.