Contents

weekday(_:)

Change the representation of the weekday in the format.

Declaration

func weekday(_ format: Date.FormatStyle.Symbol.Weekday = .abbreviated) -> Date.FormatStyle.Attributed

Parameters

  • format:

    Set the symbol representation or pass nil to remove it.