You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some commits can have a different "commit created" date and "committed date". This is especially seen when cherry-picking. In this case, the last commit badge shows the date of commit creation rather than the "committed date".
I don't know if this is intended behaviour - hence why I am opening this as a bug report. If this is indeed how it is expected to work, please consider this as a feature request to add a badge of the latter
You're right that this badge looks at the "author" timestamp rather than the "committer" timestamp. It has been like that since the badge was added in 2017 so we wouldn't make that behaviour change to the existing badge now.
We could accept a PR for a second variant that shows the "committer" date instead if someone is interested in working on it.
chris48s
changed the title
last-commit badge shows wrong date in cherrypicked commits
badge request: github last-commit variant based on "committer" timestamp
Mar 2, 2021
paulmelnikow
changed the title
badge request: github last-commit variant based on "committer" timestamp
Badge request: github last-commit variant based on "committer" timestamp
Jul 9, 2021
paulmelnikow
changed the title
Badge request: github last-commit variant based on "committer" timestamp
Badge request: GitHub last-commit variant based on "committer" timestamp
Jul 9, 2021
Are you experiencing an issue with...
🪲 Description
Some commits can have a different "commit created" date and "committed date". This is especially seen when cherry-picking. In this case, the last commit badge shows the date of commit creation rather than the "committed date".
I don't know if this is intended behaviour - hence why I am opening this as a bug report. If this is indeed how it is expected to work, please consider this as a feature request to add a badge of the latter
🔗 https://img.shields.io/github/last-commit/yt-dlp/yt-dlp/master
Since the badge will change as soon as I push a new commit, I am also attaching a screenshot of how it looks like as of yt-dlp/yt-dlp@097b056
The text was updated successfully, but these errors were encountered: