HourCycletype
The clock in everyday use, named as an hour cycle is in JavaScript: "h12" is 1 to 12 with AM and PM, "h23" is 0 to 23.
Import it
import type { HourCycle } from "@johnmorrisdotca/kuni/facts";
Definition
type HourCycle = "h12" | "h23";
Examples
import type { HourCycle } from "@johnmorrisdotca/kuni/facts";
const value: HourCycle = "h23";
console.log(typeof value === "object" ? Object.keys(value).slice(0,6) : value);h23What it prints (run when this page was built)