Top
You are looking at an outdated 7.12.0 version of this document. Switch to the 7.14.3 version to see the up to date information.

{typedef} anychart.format.DateTimeLocale Improve this Doc

Type definition for date time localization. The default locale is EN-US (see AnyChart CDN: https://cdn.anychart.com/#locales)
Name Type Description
ampms Array.<string> AM/PM time
dateFormats string Date formats
dateTimeFormats string Date time formats
eras Array.<string> Eras value.
erasNames Array.<string> Eras names
firstDayOfWeek number First day of week
firstWeekCutOfDay number First week cut of day
formats Object.<(string|Array.<string>)> All available formats
months Array.<string> Months
narrowMonths Array.<string> Narrow months
narrowWeekdays Array.<string> Narrow weekdays
quarters Array.<string> Quarters
shortMonths Array.<string> Short months
shortQuarters Array.<string> Short quarters
shortWeekdays Array.<string> Short weekdays
standaloneMonths Array.<string> Standalone months
standaloneNarrowMonths Array.<string> Standalone narrow months
standaloneNarrowWeekdays Array.<string> Standalone narrow weekdays
standaloneShortMonths Array.<string> Standalone short months
standaloneShortWeekdays Array.<string> Standalone short weekdays
standaloneWeekdays Array.<string> Standalone weekdays
timeFormats string Time formats
weekdays Array.<string> Weekdays
weekendRange Array.<number> Weekend range