본문으로 건너뛰기

task_date

Description

라이트박스의 'Time period' 섹션에 표시될 레이블의 날짜 형식을 지정합니다

task_date: (date: Date) => string

Parameters

  • date - (required) Date - 포맷이 필요한 날짜

Returns

  • text - (string) - Gantt 차트에 렌더링될 HTML 텍스트

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.