anuraghazra / anuraghazra/github-readme-stats

Discrepancy in Total Commits Count for 2024

Aperta
#3,718 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
JavaScript
Stelle
79.8k
Fork
37.7k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### 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](https://github-readme-stats-git-master-tgentil.vercel.app/api?username=Tgentil&title_color=0891b2&text_color=ffffff&icon_color=0891b2&bg_color=1c1917&hide_border=true&show=prs_merged_percentage&show_icons=true&cache=86400)

![Number of Commits Made in 2024](https://github.com/anuraghazra/github-readme-stats/assets/88681055/469f919b-7a33-4d05-aca9-03c002cc2f71)

### 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](https://github.com/anuraghazra/github-readme-stats/issues/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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.