Contents

locale

The locale to use when formatting the date.

Declaration

var locale: Locale! { get set }

Discussion

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

See Also

Configuring Formatter Options