See “real” commit date in github (hour/day)

Is there a way to see the date of a commit in github, with day/hour precision? Older commits appear in a “human readable” format, such as “2 years ago” instead of showing the actual date.

old github commit

  • Find the git branch or branches from commit id
  • (git): How to bring specific commit from upstream branch?
  • Recover unreferenced commits from remote git repository
  • Why doesn't git commit -a add new files?
  • Unversion on Git
  • Git: send-email without commit
  • If it’s not possible to see the actual date on github, is there a easier workaround than git clone?

  • GIT: three different repositories with common files
  • How to uncommit in github for mac?
  • How to get SHA of the latest commit from remote git repository?
  • how to pop git stash without triggering an auto-merge
  • Problems with pushing to github repository from Eclipse: Auth fail
  • Are there any portable versions of Git for Mac OSX?
  • 3 Solutions collect form web for “See “real” commit date in github (hour/day)”

    Hover over the 2 years ago and you’ll get the timestamp.

    The real date does not appear for me upon hovering “2 years ago”, despite the text being wrapped by a <time> element with an iso value under its datetime attribute.

    If all else fails, like it did for me, try inspecting the text.

    Sample element:

    <time datetime="2015-01-22T20:48:13Z" is="relative-time" title="Jan 22, 2015, 2:48 PM CST">7 days ago</time>

    you can just use this js bookmark:

    javascript:(function() { 
            var relativeTimeElements = window.document.querySelectorAll("relative time");
            relativeTimeElements.forEach(function(timeElement){
            timeElement.innerHTML = timeElement.innerHTML +" -- "+ timeElement.title;
            })
        }()
    )
    

    https://gist.github.com/PhilippGrulich/7051832b344d4cbd30fbfd68524baa38

    It adds just the correct time:
    Like this:
    committed 21 hours ago — 15. Feb. 2017, 15:49 MEZ

    Git Baby is a git and github fan, let's start git clone.