Clock face Guide

PHOTO EMBED

Sun Jun 27 2021 16:31:13 GMT+0000 (Coordinated Universal Time)

Saved by @redflashcode #javascript

import clock from "clock";
import document from "document";

clock.granularity = "seconds"; // seconds, minutes, hours

const clockLabel = document.getElementById("clock-label");

clock.addEventListener("tick", (evt) => {
  clockLabel.text = evt.date.toTimeString().slice(0, -4);
});
content_copyCOPY

https://dev.fitbit.com/build/guides/clockfaces/