year_date
Description
Specifies the date in the header of the view
year_date: (date: Date) => string
Parameters
date- (required) Date - the date which needs formatting
Returns
text- (string) - html text for rendering in the scheduler
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
note
The template requires the year_view plugin to be activated.
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.