MediaWiki:Gadget-UTCLiveClock.js: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 42:
 
// Set the time.
var hh = now.getUTC9HoursgetUTC+9Hours();
var mm = now.getUTC9MinutesgetUTC+9Minutes();
var ss = now.getUTC9SecondsgetUTC+9Seconds();
var time = padWithZeroes( hh ) + ':' + padWithZeroes( mm ) + ':' + padWithZeroes( ss );
$target.text( time );