Skip to content
This repository has been archived by the owner on Sep 24, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 1.48 KB

README.md

File metadata and controls

35 lines (23 loc) · 1.48 KB

Table of contents

Inserts multiple clocks onto a page using vanilla Javascript.

Grab world-clock.js from the scripts directory. Place alongside other scripts (if any) in the target project. Link to the script at the bottom of the target html page(s) right before the closing </body> tag. Optionally, 'defer' may be used inside of the <script>tag but omitting it will not cause any problems since it's a

Use standard time zones for the offset. Daylight savings time is picked up by 4 groups as outlined in Wikipedia at the Template:Daylight saving in time zone/techdoc

Inspired by"Live Clock" script (3.0) by Mark Plachetta ([email protected]) http://www.zip.com.au/~astroboy/liveclock/ link dead but saved for posterity

  • 12hr/24hr option
  • show seconds option
  • full month/ abbreviated month option
  • full day/ abbreviated day option
  • separate build clocks from update clocks