본문으로 건너뛰기

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);
};