sindresorhus/refined-github





The issue has been closed
`repo-age` date calculation inconsistent with GitHub's calculation #4620
shinenelson posted onGitHub
Description
Disclaimer : I am not sure whether this is a bug that we should be resolving on our end. That is why I am proposing this as an enhancement.
GitHub probably uses only the year to calculate the age of a commit. However, twas
( require
d in repo-age
) returns a relative date based on the full date of the commit to calculate the age of the repository.
This makes the reporting inconsistent if the first commit in the repository was on a date ( month and date ) that is in the future of the current year.