year_date

specifies the date in the header of the view

dateDatethe date which needs formatting

Example

var date_to_str=scheduler.date.date_to_str(scheduler.locale.labels.year_tab +" %Y");
 
scheduler.templates.year_date = function(date){
    return date_to_str(date);
};

Applicable views:Year View
Details

The template requires the year_view plugin to be activated.

See also
Back to top