month_day
Description
定义日期在单元格中的显示方式
month_day: (date: Date) => string
Parameters
date- (required) Date - 要格式化的日期
Returns
text- (string) - 用于在scheduler中显示的html文本
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
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.