Streak Bug, where it show's contribution for me but the streak show otherwise #31924
-
If another user check my profile it shows that no contribution is made on 1september, 2022, and the streak is broken on that day, but I made a contribution on this day and my profile also shows the same Below screenshots are taken from my profilescreenshot of my work on 1 Septemberscreenshot when the streak is broken |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
This is currently a limitation of the GitHub API. The contribution graph is shown in your local timezone, but the GitHub API only shows UTC time so that is what is displayed by the Streak Stats. The only way to correct this is by modifying your past commits or faking commit dates. To provide further explanation to the issue, this is how your contribution graphs appear when I view it. It shows no contributions on September 1, and the commit you showed appears to be on August 31. Note that the streak stats image goes through GitHub's servers and does not take timezone into account, so should display about the same for everyone. So, in other words, both are accurate, but the GitHub API can't currently be relied on for localized info. You can leave it as is, or fix it by creating new commits dated September 1 (more details at the link above). |
Beta Was this translation helpful? Give feedback.
This is currently a limitation of the GitHub API.
The contribution graph is shown in your local timezone, but the GitHub API only shows UTC time so that is what is displayed by the Streak Stats.
The only way to correct this is by modifying your past commits or faking commit dates.
Also see https://github.com/DenverCoder1/github-readme-streak-stats/blob/main/docs/faq.md#why-doesnt-my-streak-stats-match-my-contribution-graph
To provide further explanation to the issue, this is how your contribution graphs appear when I view it. It shows no contributions on September 1, and the commit you showed appears to be on August 31.
Note that the streak stats image goes through GitHub's servers and …