duration/format
formatDuration: Render an ISO 8601 duration string as a locale-aware, human-readable string.formatHumanDuration: Write an ISO 8601 duration in the compact formparseHumanDurationreads, such as2h 30m.
FormatDurationOptions: HowformatDurationwrites unit names, and whether it writes zero components.
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.