Skip to main content

event_date

Description

Specifies the time part of the start and end dates of the event. Mostly used by other templates for presenting time periods

event_date: (date: Date) => string

Parameters

  • date - (required) Date - the date which needs formatting

Returns

  • text - (string) - html text for rendering in the 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.