weekday(_:)
Change the representation of the weekday in the format.
Declaration
func weekday(_ format: Date.FormatStyle.Symbol.Weekday = .abbreviated) -> Date.FormatStyle.AttributedParameters
- format:
Set the symbol representation or pass
nilto remove it.