Zum Hauptinhalt springen

year_month

Description

Definiert den Monatsnamen, der im Header eines Monatsblocks innerhalb der Ansicht angezeigt wird.

year_month: (date: Date) => string

Parameters

  • date - (required) Date - das Datum, das formatiert werden soll

Returns

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

Example

const formatMonth = scheduler.date.date_to_str("%F");
scheduler.templates.year_month = function(date){
return formatMonth(date);
};

Applicable views: Year view

Details

Hinweis

Dieses Template benötigt das aktivierte year_view Plugin.

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.