specifies the content of the day cell of the Agenda view
date | Date | the date which needs formatting |
const dayDateToStr = scheduler.date.date_to_str("%F %j");
const dayDowToStr = scheduler.date.date_to_str("%l");
scheduler.templates.agenda_day = function(date){
return `<div class="dhx_agenda_day_date">${dayDateToStr(date)}</div>
<div class="dhx_agenda_day_dow">${dayDowToStr(date)}</div>`;
};
added in v7.0
Back to top