specifies the date in the first column of the Agenda view
start | Date | the date when an event is scheduled to begin |
end | Date | the date when an event is scheduled to be completed |
event | object | the event object |
const templates = scheduler.templates;
scheduler.templates.agenda_time = function(start, end, event){
if (scheduler.isOneDayEvent(event)) {
return templates.day_date(event) + " " + templates.event_date(start);
} else {
return templates.day_date(start) + " – " +
templates.day_date(end);
}
};
The template requires the agenda_view plugin to be activated.