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

Commit count failure

Open andrerwfreitas opened this issue 1 year ago • 7 comments

Describe the bug

When the option to show all commits is disabled (show only this year's commits), it appears that I made 10 commits. But when I activate the option to show all commits, it appears that I only made 9 commits.

Screenshots / Live demo link

Image Image

andrerwfreitas avatar Feb 18 '24 20:02 andrerwfreitas

I also have the same problem as you. I have made more than 30 commits in 2024 and it only shows me 2.

https://github.com/AndreaBaccolini

AndreaBaccolini avatar Feb 20 '24 15:02 AndreaBaccolini

I thing is because in the same day in last year you made some commits more than in the day in this year. this option is like a ruler. if u made more commits in the this year day him will show the difference

pedro-jp avatar Feb 23 '24 14:02 pedro-jp

I see a similar problem, in my github, i see a different count in github activity image

whereas the stats card shows a entirely different count: image

Samyak-Shreyash avatar Feb 24 '24 05:02 Samyak-Shreyash

I am showing a lot more commits for 2024 than the actual number of commits are, after a few hours of self-deployment on Vercel. I think it is trying to count the total commits "last year" rather than "2024" sometimes. When I first self-deployed, the number was also incorrect but very close to the number of commits (shown on Git Hub).

TimG233 avatar Feb 26 '24 12:02 TimG233

I am showing a lot more commits for 2024 than the actual number of commits are, after a few hours of self-deployment on Vercel. I think it is trying to count the total commits "last year" rather than "2024" sometimes. When I first self-deployed, the number was also incorrect but very close to the number of commits (shown on Git Hub).

Same for me, the number is incorrect but it is close.

anthony-som avatar Mar 04 '24 12:03 anthony-som

I'm facing the same issue 🙋🏻‍♂️. The number of commits always shows as "last year" instead of "2024". Even when show_all_commits=false, the number of commits is still less than when show_all_commits=true. This seems counterintuitive because "all commits" should always be greater than "last year commits"...

1chooo avatar Mar 14 '24 15:03 1chooo

cc: @anuraghazra, @qwerty541

1chooo avatar Mar 28 '24 17:03 1chooo