anuraghazra / github-readme-stats

:zap: Dynamically generated stats for your github readmes
https://github-readme-stats.vercel.app
MIT License
66.45k stars 21.53k forks source link

Discrepancy in Total Commits Count for 2024 #3718

Open Tgentil opened 2 months ago

Tgentil commented 2 months ago

Describe the bug

The total commits count for the year 2024 on my GitHub Readme Stats card is displaying as 591 commits, whereas I have actually made only 118 commits. It seems the card is erroneously calculating the total number of commits over the last 365 days instead of the specific year in question.

Expected behavior

The Total Commits count for 2024 should accurately reflect the number of commits made within that specific year, rather than over a rolling 365-day period.

Screenshots / Live demo link

My GitHub Readme Stats Card

Number of Commits Made in 2024

Additional context

Additional context: This issue of incorrect commit count for a specific year has been previously discussed in the GitHub Readme Stats repository, as seen in Issue #3579. However, that issue was closed abruptly before the proposed solution could be merged or fully resolved. This ongoing problem still impacts the accuracy of the Total Commits count on the stats card.

qwerty541 commented 2 months ago

Hey, @Tgentil! Thanks for your interest in our project and for opening this issue. You're right, the problem still exist. We have pull request https://github.com/anuraghazra/github-readme-stats/pull/2107 which should resolve the problem, it need one more collaborator approval. However, it will take some time, since at the moment I'm alone active and other team members busy with own business. I hope for your understanding and patience.