year_month

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

Parameters

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
See also
Back to top