Instance MethodFoundationInternationalization
timeZone(_:)
iOS 18.0+
iPadOS 18.0+
Mac Catalyst 18.0+
macOS 15.0+
tvOS 18.0+
watchOS 11.0+
Change the representation of the time zone in the format.
func timeZone(_ format: Date.FormatStyle.Symbol.TimeZone = .specificName(.short)) -> Date.FormatStyle.Attributed
Parameters
formatSet the symbol representation or pass
nilto remove it.