iamkun / iamkun/dayjs

Subtract for quarter is not working

Open
#1,207 10 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

Screenshot 2020-11-11 at 11 13 10 PM

subtract for quarter is not working. Ideally when I subtract 1 quarter, out should be 11-08-2020, but subtraction is not happening.

Contributor guide

Open the contributing guide

Research direction

Reproduce the quarter-subtraction case described in the issue using Day.js, using the attached screenshot as the expected-output reference. Locate the quarter subtraction implementation and its tests; done means subtracting one quarter produces 11-08-2020 for the reported input and regression coverage passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.