Open
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
- Go to my GitHub Readme page and check the current streak.
- 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.