Issue while calculating the week difference
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**

Doubt: Is the absolute value returned? If so, what's the need for it?
**Expected behavior**
The difference shouldn't be one.
**Information**
- Day.js Version 1.11.7
- OS: [macOS]
- Browser: chrome (120.0.6099.129)
- Time zone: GMT +05:30 IST
Contributor guide
Research direction
Start by reproducing the reported week-difference calculation using Day.js 1.11.7 and the timezone details in the issue. The screenshot contains the only example, so first identify the missing input dates and expected result; done means the behavior is reproducible and the intended directional or absolute difference is confirmed.
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
- 25/100