跳转到主要内容

week_agenda_scale_date

信息

此功能仅在 PRO 版本中可用。

Description

视图中日单元格显示的日期

week_agenda_scale_date: (date: Date) => string

Parameters

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

Returns

  • text - (string) - 用于在scheduler中渲染的html文本

Example

scheduler.templates.week_agenda_scale_date = function(date) {
var scale_date_format = scheduler.date.date_to_str("%l, %F %d");
return scale_date_format(date);
};

Applicable views: Week Agenda view

Details

注释

此template需要启用week_agenda插件。

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.