Contents

locale

The locale to use when formatting the date and time components.

Declaration

var locale: Locale

Discussion

The default value is autoupdatingCurrent. If you set this property to nil, the formatter resets to using autoupdatingCurrent.

See Also

Modifying a Date Format Style