Перейти к основному содержимому

month_day

Description

Определяет, как день отображается в ячейке

month_day: (date: Date) => string

Parameters

  • date - (required) Date - дата, которую нужно отформатировать

Returns

  • text - (string) - html-текст, используемый для отображения в scheduler

Example

scheduler.templates.month_day = function(date){
var dateToStr_func = scheduler.date.date_to_str(scheduler.config.month_day);
return dateToStr_func(date);
};

Applicable views: Month view, Year view

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.