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;
} = ...
Type declaration
Readonly
DateFull: DateTimeFormatOptions
Readonly
DateHuge: DateTimeFormatOptions
Readonly
DateMed: DateTimeFormatOptions
Readonly
DateMedWithWeekday: DateTimeFormatOptions
Readonly
DateShort: DateTimeFormatOptions
Readonly
DatetimeFull: DateTimeFormatOptions
Readonly
DatetimeFullWithSeconds: DateTimeFormatOptions
Readonly
DatetimeHuge: DateTimeFormatOptions
Readonly
DatetimeHugeWithSeconds: DateTimeFormatOptions
Readonly
DatetimeMed: DateTimeFormatOptions
Readonly
DatetimeMedWithSeconds: DateTimeFormatOptions
Readonly
DatetimeMedWithWeekday: DateTimeFormatOptions
Readonly
DatetimeShort: DateTimeFormatOptions
Readonly
DatetimeShortWithSeconds: DateTimeFormatOptions
Readonly
Time24Simple: DateTimeFormatOptions
Readonly
Time24WithLongOffset: DateTimeFormatOptions
Readonly
Time24WithSeconds: DateTimeFormatOptions
Readonly
Time24WithShortOffset: DateTimeFormatOptions
Readonly
TimeSimple: DateTimeFormatOptions
Readonly
TimeWithLongOffset: DateTimeFormatOptions
Readonly
TimeWithSeconds: DateTimeFormatOptions
Readonly
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