User:TheresNoTime/common.js: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

20 February 2023

  • curprev 15:3415:34, 20 February 2023TheresNoTime talk contribs 3,635 bytes +3,635 Created page with "mw.loader.using( ['mediawiki.util', 'mediawiki.api'] ).then( function () { function padWithZeroes( num ) { // Pad a number with zeroes. The number must be an integer where // 0 <= num < 100. return num < 10 ? '0' + num.toString() : num.toString(); } function showTime( $target ) { var now = new Date(); var timezone = window.LiveClockTimeZone || 'UTC'; // Set the time. var hh, mm, ss; if ( timezone === "UTC" ) { hh = now.getUTCHours(); mm = now.getUTCMinu..."