xml_date

defines date formats that are used to parse data from a data set and to send data to a server

string xml_date;

Deprecated

Use date_format instead:

gantt.config.date_format = "%Y-%m-%d %H:%i";
...
gantt.init("gantt_here");
gantt.load("../data/tasks.json");

Example

gantt.config.xml_date="%Y-%m-%d %H:%i";
...
gantt.init("gantt_here");
gantt.load("../data/tasks.json");


Default value:

"%d-%m-%Y %H:%i"
See also
Change log

deprecated since v6.2

Back to top