week_agenda_date

specifies the date in the header of the Week Agenda view

startDatethe start date of the view
endDatethe end date of the view

Available only in PRO Edition

Example

scheduler.templates.week_agenda_date = function(start, end){
    return scheduler.templates.day_date(start)+" – "+
    scheduler.templates.day_date(scheduler.date.add(end,-1,"day"));
};

Applicable views:Week Agenda View
Details

The template requires the week_agenda plugin to be activated.

See also
Change log

added in v6.0

Back to top