跳转到主要内容

marker_date

警告

此功能已棄用。

Description​

设置 Google Maps 弹出 marker 中显示的事件日期

Parameters​

  • start - (required) Date - 事件的开始日期
  • end - (required) Date - 事件的结束日期
  • event - (required) object - 事件对象本身

Returns​

  • text - (string) - 在 scheduler 中显示的 html 内容

Example​

scheduler.templates.marker_date = function(date){
return scheduler.date.date_to_str("%Y-%m-%d %H:%i");
};

Applicable views: Map view

Details​

注释

此模板仅在启用 map_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.