specifies the format of week-days in the header of the Mini-Calendar (date picker)
date | Date | the date of a week-day for a header cell |
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);
};
The template requires the minical plugin to be activated.