Skip to content

duration/parse

  • The core functions, which every industry uses.
  • parseDuration: Parse and re-normalize an ISO 8601 duration string.
  • parseHumanDuration: Read a duration written the way people write it, such as 2h 30m, 1.5h or 3 days, into an ISO 8601 duration string.

Last updated:

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.