Render a Temporal.Duration in English diagnostic form, with
adaptive units: sub-minute windows render as seconds (e.g.
"20 seconds") so a short Retry-After never rounds to a misleading
"0 minutes"; longer windows render as "M minutes, S seconds".
Intended for log lines and developer-facing error messages — not
for presentation in a localized UI. Consumers that need localized
output should read the underlying Temporal.Duration and format it
with Intl.DurationFormat or their own i18n framework.
Render a
Temporal.Durationin English diagnostic form, with adaptive units: sub-minute windows render as seconds (e.g."20 seconds") so a short Retry-After never rounds to a misleading"0 minutes"; longer windows render as"M minutes, S seconds".Intended for log lines and developer-facing error messages — not for presentation in a localized UI. Consumers that need localized output should read the underlying
Temporal.Durationand format it withIntl.DurationFormator their own i18n framework.