month_scale_date
Description
定义在月视图中X轴使用的日期格式
month_scale_date: (date: Date) => string
Parameters
date- (required) Date - 需要格式化的日期
Returns
text- (string) - 要在scheduler中显示的html文本
Example
const formatMonthScale = scheduler.date.date_to_str("%l");
scheduler.templates.month_scale_date = function(date){
return formatMonthScale(date);
};
Applicable views: Month 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.