UNPKG

@northguild/gmt

Version:

Date and time library for JavaScript and TypeScript, built on TC39 Temporal: time zones, DST, business days, ISO 8601 strings in and out. Never throws.

5 lines • 226 B
/** * Narrow `RelativeUnit` for `PlainTime`-based formatting. Excludes date units * (`year`, `month`, `week`, `day`) because `PlainTime` has no date component. */ export type RelativeTimeUnit = "hour" | "minute" | "second";