Skip to content

Instantly share code, notes, and snippets.

@james-prado
Created January 28, 2026 20:04
Show Gist options
  • Select an option

  • Save james-prado/fb014bef01d671b45f7cdb7e9b1d02cf to your computer and use it in GitHub Desktop.

Select an option

Save james-prado/fb014bef01d671b45f7cdb7e9b1d02cf to your computer and use it in GitHub Desktop.
A bookmarklet that converts github timestamps between relative and absolute values
javascript: (() => { let style = document.querySelector("#custom_github_time"); if (style) return style.remove(); style = document.createElement("style"); style.setAttribute("id", "custom_github_time"); document.head.appendChild(style); style.sheet.insertRule(%60:not([role=gridcell]) > relative-time {display: inline-flex; flex-direction: row;visibility: hidden;text-indent: -1000px;}%60); style.sheet.insertRule(%60:not([role=gridcell]) time-ago:after, :not([role=gridcell]) > relative-time:after {content: attr(title);display: block;visibility: visible;text-indent: 0;}%60);})()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment