Skip to main content
Version: 8.10.1

Type alias: Formatters

Formatters: {"formatCaption": DateFormatter;"formatDay": DateFormatter;"formatMonthCaption": DateFormatter;"formatWeekNumber": WeekNumberFormatter;"formatWeekdayName": DateFormatter;"formatYearCaption": DateFormatter; }

Represent a map of formatters used to render localized content.

Type declaration​

MemberTypeDescription
formatCaptionDateFormatterFormat the month in the caption when captionLayout is buttons.
formatDayDateFormatterFormat the day in the day cell.
formatMonthCaptionDateFormatterFormat the month in the navigation dropdown.
formatWeekNumberWeekNumberFormatterFormat the week number.
formatWeekdayNameDateFormatterFormat the week day name in the header
formatYearCaptionDateFormatterFormat the year in the navigation dropdown.

Source​

src/types/Formatters.ts:14