Skip to main content

xml_date

warning

The property is deprecated.

Description

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

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"

Details

note

The xml_date property is deprecated. Use date_format instead:

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

Change log

  • deprecated since v6.2, removed since v7.0