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

后端 未结 7 1395
离开以前
离开以前 2021-01-31 00:36

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 th

相关标签:
7条回答
  • 2021-01-31 01:38

    With gitlab 10 I used this to add the tooltip title to the element as standard text:

    javascript:(function() { 
      var relativeTimeElements = window.document.querySelectorAll("time");
      relativeTimeElements.forEach(function(timeElement){
        timeElement.innerHTML = timeElement.innerHTML +" -- "+ timeElement.getAttribute('data-original-title');
      })
    }());
    
    0 讨论(0)
提交回复
热议问题