calendar_scale_date

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

Parameters

dateDatethe date of a week-day for a 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

See also
Back to top