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

  • git find fat commit
  • Can you change a file content during git commit?
  • could not open git/commit_editmsg
  • Which SCM/VCS cope well with moving text between files?
  • File not shown in git diff after a git add. How do I know it will be committed?
  • Restricting Subversion commits if the Jira Issue key is Not in the commit message
  • If it’s not possible to see the actual date on github, is there a easier workaround than git clone?

  • Why isn't the pathspec magic :(exclude) excluding the specified files from git log's output?
  • Gem::LoadError when using a git repo in Gemfile
  • Replace GitHub repo while preserving issues, wiki, etc
  • Is there a “theirs” version of “git merge -s ours”?
  • Git-Svn dcommit causes branch splitting
  • Cloning only a subdirectory with git
  • 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.