Skip to main content

method Temporal.Duration.toLocaleString

#Duration.toLocaleString(
locales?: Intl.LocalesArgument,
options?: Intl.DurationFormatOptions,
): string

Parameters #

#locales: Intl.LocalesArgument
optional
#options: Intl.DurationFormatOptions
optional

Return Type #

string

Did you find what you needed?

Privacy policy