Closed Wjplatformer closed 2 years ago
There is nothing that can be done about this. According to the GitHub API, you have no contributions on July 28 and the stats are displayed exactly how they are received from the API.
Contribution dates are timezone-dependent, so it is possible for your browser to show it differently than the official API.
You can possibly try self-hosting with your own personal access token to see if it accounts for the timezone difference.
I will close this for now as nothing I can do about this unless GitHub makes changes to their API.
Thanks. Might be due to the fact that I made commits late into the night as I am living in Asia, which would count as being "tomorrow" in America or something.
I mentioned the issue to GitHub Support and they told me "all timestamps are in UTC and this is the expected behavior". If the ability to switch the timezone ever becomes possible, I will be sure to implement it, but for now it seems it is not.
You could always change the dates of commits to fill in the gaps if you think it should count when it didn't, but besides that I can't think of anything.
Thanks :)
Describe the bug Although I currently have a 10 commit streak, the Stats reset to 1 for my current streak.
To Reproduce
None
Expected behavior Have 10 commit streak show up on current streak.
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information): None