获取上一周的时间少一天,Get one less day of the previous week
Open
- Dominant language
- JavaScript
- Stars
- 48.7k
- Forks
- 2.5k
- PR merge metrics
- No merged PRs in 30d
Description
dayjs().subtract(1, 'w').startOf('w').format(TIME_FORMAT)
dayjs().subtract(1, 'w').endOf('w').format(TIME_FORMAT)
获取到的是 周日 到 周六 不是周一到周日
I got Sunday through Saturday, not Monday through Sunday
Contributor guide
Research direction
Start by reproducing the behavior with the two Day.js expressions shown in the issue and inspect how the week boundaries are determined. The work is done when the previous week is consistently represented as Monday through Sunday, with a regression check for the reported case.
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
- Clearly specified
- Newbie friendliness
- 42/100