Zum Hauptinhalt springen

UNITS_date

Info

Dieses Feature ist nur in der PRO Edition verfügbar.

Description

Legt das im Header der Ansicht angezeigte Datum fest

UNITS_date: (date: Date) => string;

Parameters

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

Returns

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

Example

scheduler.templates.unit_date = function(date){
return scheduler.templates.day_date(date);
};

Applicable views: Units view

Details

Hinweis

Die Vorlage erfordert, dass das units 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.