year_scale_date

specifies the day's name in the sub-header of a month block of the view

Parameters

dateDatethe date which needs formatting

Example

const formatScaleDate = scheduler.date.date_to_str("%D");
scheduler.templates.year_scale_date = function(date){
    return formatScaleDate(date);
};

Applicable views:Year View
See also
Back to top