year_date
Description
Задаёт дату, отображаемую в заголовке вида
year_date: (date: Date) => string
Parameters
date- (required) Date - дата, которую необходимо отформатировать
Returns
text- (string) - html-текст, используемый для отображения в 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
примечание
Этот template требует включения плагина year_view.
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.