Skip to main content
Version: 1.8.0

DateFormatAltOptions

Syntax

object {
  era?,
  dayPeriod?,
  atTime?
}

Properties

  • era?: EraAltType
    • Specify the alternate form of the ERA field, e.g. "Before Christ" vs "Before Common Era".
  • dayPeriod?: DayPeriodAltType
    • Specify the alternate form of the DAY PERIOD field, e.g. "AM" vs "am".
  • atTime?: boolean
    • Specify use of the "DATE at TIME" format (default true).

References