time_picker

Gibt das Format des Dropdown-Zeitwählers im Lightbox an

dateDateDas Datum, das formatiert werden muss

Example

gantt.config.lightbox.sections = [
    {name:"description", height:38, map_to:"text", type:"textarea", focus:true},
    {name:"time",type:"duration",map_to:"auto",time_format:["%d","%m","%Y","%H:%i"]}
];
 
gantt.templates.time_picker = function(date){
    return gantt.date.date_to_str(gantt.config.time_picker)(date);
};

See also
Zurück nach oben