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.

6 lines • 287 B
/** * Full 7-member `RelativeUnit` for `PlainDateTime`-based formatting. Covers the * complete set of `Intl.RelativeTimeFormat` units supported by Temporal, excluding * `quarter`. */ export type RelativeDateTimeUnit = "year" | "month" | "week" | "day" | "hour" | "minute" | "second";