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

后端 未结 7 1398
离开以前
离开以前 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');
      })
    }());
    

提交回复
热议问题