跳转到主要内容

day_date

Description

定义在 Day 和 Units 视图的标题中显示的日期

day_date: (date: Date) => string

Parameters

  • date - (required) Date - 需要格式化的日期

Returns

  • text - (string) - 要在 scheduler 中显示的 html 文本

Example

scheduler.templates.day_date = function(date){
var formatFunc = scheduler.date.date_to_str(scheduler.config.default_date);
return formatFunc(date);
};

Applicable views: Day view, Units 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.