Returns a localized duration string using Intl.DurationFormat. Note: Requires an environment that supports Intl.DurationFormat.
Intl.DurationFormat
The duration object or value to format
Optional
Optional locale string
Optional format configuration
The localized duration string
Returns a localized duration string using
Intl.DurationFormat. Note: Requires an environment that supportsIntl.DurationFormat.