Skip to content

RelativeUnit

  • The core functions, which every industry uses.

Canonical 7-member unit for Intl.RelativeTimeFormat and Temporal since/until totals, excluding quarter. Shared by formatRelativeUnix, formatRelativeUtc, and formatRelativeZoned after importing from this barrel.

import type { RelativeUnit } from "@northguild/gmt";
type RelativeUnit =
| "year"
| "month"
| "week"
| "day"
| "hour"
| "minute"
| "second";

types/relative-unit.ts

Accessibility
© 2026 NorthGuild · Licences

Code examples: MIT-0. Packages: MIT. Third-party data and components: their own licences, credited where they appear. Everything else: © 2026 NorthGuild, all rights reserved.