Skip to main content
Version: 9.14.0

Interface: DateLibOptions

Defined in: src/classes/DateLib.ts:96

The options for the DateLib class.

Extends date-fns format, startOfWeek and endOfWeek options.

Since​

9.2.0

Extends​

  • FormatOptions.StartOfWeekOptions.EndOfWeekOptions

Properties​

Date?​

optional Date: DateConstructor

Defined in: src/classes/DateLib.ts:101

A constructor for the Date object.


locale?​

optional locale: DayPickerLocale

Defined in: src/classes/DateLib.ts:103

A locale to use for formatting dates.

Overrides​

DateFnsFormatOptions.locale


numerals?​

optional numerals: Numerals

Defined in: src/classes/DateLib.ts:115

The numbering system to use for formatting numbers.

Since​

9.5.0


timeZone?​

optional timeZone: string

Defined in: src/classes/DateLib.ts:109

A time zone to use for dates.

Since​

9.5.0