Skip to main content

calendar_scale_date

Description

Specifies the format of week-days in the header of the Mini-Calendar (date picker)

calendar_scale_date: (date: Date) => string

Parameters

  • date - (required) Date - the date of a week-day for a header cell

Returns

  • text - (string) - inner html string for the header cell

Example

const weekDayLabel = scheduler.date.date_to_str("%D");
scheduler.templates.calendar_scale_date = function (date) {
// M | T | W | T | F | S | S
return weekDayLabel(date).substr(0, 1);
};

Details

note

The template requires the minical plugin to be activated.

mini_calendar_templates

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.