agenda_time

specifies the date in the first column of the Agenda view

Parameters

startDatethe date when an event is scheduled to begin
endDatethe date when an event is scheduled to be completed
eventobjectthe event object

Example

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);
  }
};

Applicable views:Agenda View
See also
Back to top