Variable formatPresetsConst

formatPresets: {
    DateFull: DateTimeFormatOptions;
    DateHuge: DateTimeFormatOptions;
    DateMed: DateTimeFormatOptions;
    DateMedWithWeekday: DateTimeFormatOptions;
    DateShort: DateTimeFormatOptions;
    DatetimeFull: DateTimeFormatOptions;
    DatetimeFullWithSeconds: DateTimeFormatOptions;
    DatetimeHuge: DateTimeFormatOptions;
    DatetimeHugeWithSeconds: DateTimeFormatOptions;
    DatetimeMed: DateTimeFormatOptions;
    DatetimeMedWithSeconds: DateTimeFormatOptions;
    DatetimeMedWithWeekday: DateTimeFormatOptions;
    DatetimeShort: DateTimeFormatOptions;
    DatetimeShortWithSeconds: DateTimeFormatOptions;
    Time24Simple: DateTimeFormatOptions;
    Time24WithLongOffset: DateTimeFormatOptions;
    Time24WithSeconds: DateTimeFormatOptions;
    Time24WithShortOffset: DateTimeFormatOptions;
    TimeSimple: DateTimeFormatOptions;
    TimeWithLongOffset: DateTimeFormatOptions;
    TimeWithSeconds: DateTimeFormatOptions;
    TimeWithShortOffset: DateTimeFormatOptions;
} = ...

Format presets to be used with toLocaleString. To see examples of all presets, go here: https://moment.github.io/luxon/#/formatting?id=presets

Type declaration

  • ReadonlyDateFull: DateTimeFormatOptions
  • ReadonlyDateHuge: DateTimeFormatOptions
  • ReadonlyDateMed: DateTimeFormatOptions
  • ReadonlyDateMedWithWeekday: DateTimeFormatOptions
  • ReadonlyDateShort: DateTimeFormatOptions
  • ReadonlyDatetimeFull: DateTimeFormatOptions
  • ReadonlyDatetimeFullWithSeconds: DateTimeFormatOptions
  • ReadonlyDatetimeHuge: DateTimeFormatOptions
  • ReadonlyDatetimeHugeWithSeconds: DateTimeFormatOptions
  • ReadonlyDatetimeMed: DateTimeFormatOptions
  • ReadonlyDatetimeMedWithSeconds: DateTimeFormatOptions
  • ReadonlyDatetimeMedWithWeekday: DateTimeFormatOptions
  • ReadonlyDatetimeShort: DateTimeFormatOptions
  • ReadonlyDatetimeShortWithSeconds: DateTimeFormatOptions
  • ReadonlyTime24Simple: DateTimeFormatOptions
  • ReadonlyTime24WithLongOffset: DateTimeFormatOptions
  • ReadonlyTime24WithSeconds: DateTimeFormatOptions
  • ReadonlyTime24WithShortOffset: DateTimeFormatOptions
  • ReadonlyTimeSimple: DateTimeFormatOptions
  • ReadonlyTimeWithLongOffset: DateTimeFormatOptions
  • ReadonlyTimeWithSeconds: DateTimeFormatOptions
  • ReadonlyTimeWithShortOffset: DateTimeFormatOptions