map_time

specifies the date in the first column of the view

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

Example

scheduler.templates.map_time = function(start,end,ev){
    if (ev._timed)
        return this.day_date(ev.start_date, ev.end_date, ev) + " " + 
        this.event_date(start);
    else
        return scheduler.templates.day_date(start) + " – " + 
        scheduler.templates.day_date(end);
};

Applicable views:Map View
Details

The template requires the map_view plugin to be activated.

See also
Back to top