grid_date_format

specifies the format of dates in the "Start time" column

Parameters

dateDatethe date which needs formatting

Example

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

See also
Back to top