Перейти к основному содержимому

task_date

Description

Указывает формат даты метки в разделе 'Time period' lightbox

task_date: (date: Date) => string;

Parameters

  • date - (required) Date - дата, которая подлежит форматированию

Returns

  • text - (string) - HTML-текст, который будет отрисован в gantt

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.