Zum Hauptinhalt springen

tooltip_date_format

Description

Definiert, wie Start- und Enddaten im tooltip angezeigt werden

tooltip_date_format: (date: Date) => string

Parameters

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

Returns

  • text - (string) - HTML-Text zur Darstellung im Scheduler

Example

scheduler.templates.tooltip_date_format=function (date){
var formatFunc = scheduler.date.date_to_str("%Y-%m-%d %H:%i");
return formatFunc(date);
}

Details

Hinweis

Die Vorlage funktioniert nur, wenn das tooltip 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.