calendar_scale_date

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

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

The template requires the minical plugin to be activated.

See also
Back to top