Contents

hour(_:)

Change the representation of the hour in the format.

Declaration

func hour(_ format: Date.FormatStyle.Symbol.Hour = .defaultDigits(amPM: .abbreviated)) -> Date.FormatStyle.Attributed

Parameters

  • format:

    Set the symbol representation or pass nil to remove it.