task_date

specifies the date format of the label in the 'Time period' section of the lightbox

Parameters

dateDatethe date which needs formatting

Example

gantt.templates.task_date= function(date){
    return gantt.date.date_to_str(gantt.config.task_date)(date);
};

See also
Back to top