locale(_:)
A modifier to set the locale of the format style.
Declaration
func locale(_ locale: Locale) -> Duration.UnitsFormatStyleParameters
- locale:
The locale to apply to the format style.
Return Value
A copy of this format with the new locale set.