Перейти к основному содержимому

event_date

Description

Определяет временную часть даты начала и окончания события. В основном используется другими шаблонами для отображения временных интервалов.

event_date: (date: Date) => string

Parameters

  • date - (required) Date - дата, которую необходимо отформатировать

Returns

  • text - (string) - html текст для рендеринга в scheduler

Example

scheduler.templates.event_date = function(date){
var formatFunc = scheduler.date.date_to_str(scheduler.config.hour_date);
return formatFunc(date);
}
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.