MediaWiki:Gadget-UTCLiveClock.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 43:
// Set the time.
var hh = now.getlocalHours();
var mm = now.getGMT9MinutesgetlocalMinutes();
var ss = now.getGMT9SecondsgetlocalSeconds();
var time = padWithZeroes( hh ) + ':' + padWithZeroes( mm ) + ':' + padWithZeroes( ss );
$target.text( time );
Line 78:
mw.util.getUrl( null, { action: 'purge' } ),
'',
'utcdatelocaldate'
);
if ( !node ) {