dev

MultiClock is a customizable module that displays multiple clocks, each with its own timezone, color, and format. It is an extended and modernized alternative to the classic UTCClock module.

Installation

Configuration

After adding the import, you need to set up the clock: Add the code before the script

window.MultiClockConfig = {
    interval: 500, // Clock update interval in milliseconds
    clocks: [
        {
            label: "UTC",             // Display name of the clock
            offset: 0,                // Timezone offset in hours (0 = UTC)
            color: "#66ccff",         // Text color
            format: "%H:%M:%S %d %b %Y"  // Time/date format
        },
        {
            label: "Local",           // User's local computer time
            offset: -(new Date().getTimezoneOffset()) / 60, // Auto-detect local timezone offset
            color: "#aaffaa",
            format: "%H:%M:%S %d %b %Y"
        }
    ]
};

Changelog

Date Description
24 November 2025 Initial release (Special:Diff/211027)
30 January 2026 Translations into Ukrainian and Russian have been added (Special:Diff/211833)
Text above can be found here (edit)