AnyChart
API Reference
Still have questions?
Contact support
Top

{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)
NameTypeDescription
ampmsArray.<string>AM/PM time
dateFormatsstringDate formats
dateTimeFormatsstringDate time formats
erasArray.<string>Eras value.
erasNamesArray.<string>Eras names
firstDayOfWeeknumberFirst day of week
firstWeekCutOfDaynumberFirst week cut of day
formatsObject.<(string|Array.<string>)>All available formats
monthsArray.<string>Months
narrowMonthsArray.<string>Narrow months
narrowWeekdaysArray.<string>Narrow weekdays
quartersArray.<string>Quarters
shortMonthsArray.<string>Short months
shortQuartersArray.<string>Short quarters
shortWeekdaysArray.<string>Short weekdays
standaloneMonthsArray.<string>Standalone months
standaloneNarrowMonthsArray.<string>Standalone narrow months
standaloneNarrowWeekdaysArray.<string>Standalone narrow weekdays
standaloneShortMonthsArray.<string>Standalone short months
standaloneShortWeekdaysArray.<string>Standalone short weekdays
standaloneWeekdaysArray.<string>Standalone weekdays
timeFormatsstringTime formats
weekdaysArray.<string>Weekdays
weekendRangeArray.<number>Weekend range