Temporal Utils by Ian Macalinao
    Preparing search index...

    Function formatTemporal

    • Formats a TemporalFormattable with the provided Intl.DateTimeFormat.

      Three types of Temporal objects cannot be directly formatted with Intl.DateTimeFormat#format:

      • Temporal.ZonedDateTime
      • Temporal.PlainYearMonth
      • Temporal.PlainMonthDay This function formats these other types by calling their toLocaleString method directly.

      Parameters

      Returns string