Created
November 20, 2013 03:03
-
-
Save pastak/7556986 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name display datetime on Github issue | |
// @namespace userjs.com.cosmio.pastak | |
// @description | |
// @include https://github.com/*/pull/* | |
// @include https://github.com/*/issues/* | |
// ==/UserScript== | |
$(function() { | |
var usdate = $('.discussion-topic-header time').attr('datetime'); | |
var msec = msec = Date.parse(usdate); | |
var jdate = new Date(msec); | |
$('.discussion-topic-header time').append(" ( "+jdate.toLocaleString()+" )"); | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment