github-readme-streak-stats icon indicating copy to clipboard operation
github-readme-streak-stats copied to clipboard

Current Streak Resets to 1 Day After Beating Personal Best

Open goofy5752 opened this issue 11 months ago • 1 comments

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

Image

Image

Image

Image

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.

goofy5752 avatar Mar 12 '25 09:03 goofy5752

Image

Your contribution graph shows no contributions on March 10, possibly the contributions are private or your timezone doesn't match the timezone the contributions were fetched for.

The contribution counts are collected directly from the GitHub API so there isn't much that can be done to fix this.

You could also try adding a new commit on March 10 to get the streak to fix itself, more info in the FAQ.

https://github.com/DenverCoder1/github-readme-streak-stats/blob/main/docs/faq.md#why-doesnt-my-streak-stats-match-my-contribution-graph

DenverCoder1 avatar Mar 23 '25 20:03 DenverCoder1