year_month
Description
Определяет название месяца, отображаемое в заголовке блока месяца в представлении.
year_month: (date: Date) => string
Parameters
date- (required) Date - дата, которую необходимо отформатировать
Returns
text- (string) - html-контент для отображения в scheduler
Example
const formatMonth = scheduler.date.date_to_str("%F");
scheduler.templates.year_month = function(date){
return formatMonth(date);
};
Applicable views: Year view
Details
примечание
Этот шаблон требует включения плагина 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.