Zum Hauptinhalt springen

task_date

Description

Definiert das Datumsformat, das für das Label im Abschnitt 'Time period' der Lightbox verwendet wird

task_date: (date: Date) => string

Parameters

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

Returns

  • text - (string) - HTML-Text, der im Gantt gerendert wird

Example

gantt.templates.task_date= function(date){
return gantt.date.date_to_str(gantt.config.task_date)(date);
};
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.