year_month

specifies the month's name in the header of a month block of the view.

dateDatethe date which needs formatting

Example

const formatMonth = scheduler.date.date_to_str("%F");
scheduler.templates.year_month = function(date){
    return formatMonth(date);
};

Applicable views:Year View
Details

The template requires the year_view plugin to be activated.

See also
Back to top