year_scale_date

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

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
Details

The template requires the year_view plugin to be activated.

See also
Back to top