Zum Hauptinhalt springen

year_scale_date

Description

Definiert den Namen des Tages, der im Unterkopf innerhalb eines Monatsblocks der Ansicht angezeigt wird

year_scale_date: (date: Date) => string

Parameters

  • date - (required) Date - das zu formatierende Datum

Returns

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

Example

const formatScaleDate = scheduler.date.date_to_str("%D");
scheduler.templates.year_scale_date = function(date){
return formatScaleDate(date);
};

Applicable views: Year view

Details

Hinweis

Diese Vorlage erfordert, dass das year_view Plugin aktiviert ist.

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.