Today is December 16, 2017. I just screen-snipped this GitHub commit log:
If today is 12/16, why does a commit from 12/14 appear as 5 days ago?
Perhaps the commits were made 5 or 7 days ago, but you only git push
ed them to GitHub on the 14th.
As @einpoklum has mentioned, you committed and pushed on different days.
Although it is not advised to do it frequently, if you must change the date, then you can do so by passing the --date
flag when running git commit
. For information on formatting, you can check out this link, what-is-the-format-for-date-parameter-of-git-commit