Zum Hauptinhalt springen

week_date

Description​

Legt das im Header der Ansicht angezeigte Datum fest

week_date: (start: Date, end: Date) => string

Parameters​

  • start - (required) Date - das Startdatum der Ansicht
  • end - (required) Date - das Enddatum der Ansicht

Returns​

  • text - (string) - HTML-Text, der im Scheduler angezeigt wird

Example​

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

Applicable views: Week view, Week Agenda view

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.