year_date
Description
Setzt das Datum, das im Header der Ansicht angezeigt wird
year_date: (date: Date) => string
Parameters
date- (required) Date - das Datum, das formatiert werden soll
Returns
text- (string) - HTML-Text, der für das Rendering im Scheduler verwendet wird
Example
var date_to_str=scheduler.date.date_to_str(scheduler.locale.labels.year_tab +" %Y");
scheduler.templates.year_date = function(date){
return date_to_str(date);
};
Applicable views: Year view
Details
Hinweis
Diese Vorlage erfordert, dass das year_view Plugin aktiviert ist.
Related Guides
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.