DenverCoder1 / DenverCoder1/github-readme-streak-stats
Current Streak Resets to 1 Day After Beating Personal Best
- Dominant language
- PHP
- Stars
- 7.1k
- Forks
- 1.8k
- Avg merge
- 9d 6h
- Merged PRs (30d)
- 2
Description
## Describe the bug
When I beat my personal best streak (for example, increasing my streak from 19 days, my previous best, to 20 days), my GitHub Readme streak stats widget doesn't update correctly. Even though I am currently on a 21-day streak, the widget shows only 1 day, and the counter resets immediately after I beat my previous personal best.
## To Reproduce
1. Go to my GitHub Readme page and check the current streak.
2. Notice that the current streak displays as 1 day, even though I am on a 21-day streak now, and the counter resets right after beating the previous personal best.
## Expected Behavior
- The widget should display the correct current streak (21 days).
- The widget should update the longest streak period accordingly after beating the personal best.
As you can see in the screenshots my current best is from 19th February - 12th March, but the counter for the streak is 1 and old dates for the best period of streak
## Screenshots




## Desktop (please complete the following information)
- **OS:** All
- **Browser:** All
- **Version:** All versions
## Smartphone (please complete the following information)
- **Device:** All devices
- **OS:** All
- **Browser:** All
- **Version:** All versions
## Additional Context
This issue occurs on all devices regardless of device type, OS, or browser version, suggesting that the problem is within the widget's update logic.
Contributor guide
Assessment
This issue has not been assessed yet.