TZclock

TZclock is a JavaScript application that displays timezone-adjusted clocks.
 * Supports any timezone, not just the user's or UTC
 * Supports multiple clocks per page
 * Supports optional daylight saving time

It produces, with the basic styling provided, a clock that looks like (without the border):  New York 1 Sep 2016, 8:21:36 (EDT)

Installation
Add the snippet below to the site's. is required in the CSS article name for the CSS to load.

Use
This application looks for HTML elements (usually, but they could be   or (rendered)  ) with the class   on the page. If it doesn't find any, it exits. If it finds any, it runs.

Configuration
Configuration of each clock is included on the wiki page inside each element with class. The syntax of the configuration is adapted from tzdata.
 * Optional comments begin with  (pound/octothorpe)
 * Spaces in strings must use  (underscore)
 * Underscore is replaced with a space when running
 * (plus) is optional for positive time offsets
 * Basic zone definition must come before any rules
 * Rules, if there are any, must be in chronological order
 * NAME is location name displayed in clock (any string)
 * UTCOFF is offset from UTC
 * ZONE is the timezone name (any string)
 * IN is the month name for a rule (3-letter English abbreviation)
 * ON is the date (numerical,  , or  )
 * If used,  is the 3-letter English abbreviation
 * AT is the standard time at which the rule takes effect (24-hour)
 * SAVE is the amount of time added to standard time
 * LETTERS is the zone name when the rule is in effect (any string)

Styling
The stylesheet  provides basic styling, facilitating centering the clock text inside the wrapper element and underlining the location name. There are three additional classes available for further styling the clocks.
 * 1)   - child of , wraps both the location name and the time
 * 2)   - child of , applies to the location name only
 * 3)   - child of , applies to the time only

Example clock configurations
New York

London

Tokyo

Adelaide

may not be essential for all clock configurations, but it is recommended to stop MediaWiki from interfering with them.