Skip to content

Instantly share code, notes, and snippets.

@waynemoore
Last active January 1, 2016 14:39
Show Gist options
  • Save waynemoore/8158754 to your computer and use it in GitHub Desktop.
Save waynemoore/8158754 to your computer and use it in GitHub Desktop.
Change GitHub humanised times to actual relative dates
$('time').each(function(i, time) { var $time = $(time); $time.removeClass('js-relative-date'); $time.text($time.attr('title')); })
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment