If gantt.config.api_date contains %y as part of the date format, the gantt converts the year internally to a four digit year with 19 leading instead of 20.
Hi,
looks like the mistake in API, please use ‘xml_date’ for parsing tasks dates.
The ‘api_date’ config reflects on ‘gantt.templates.api_date’ method, so it’s possible to use it for some custom purposes, for example
gantt.config.api_date = “%d-%m-%y”;
gantt.init(“gantt_here”);
gantt.alert(gantt.templates.api_date(“14-12-17”).toString()); // will show December 14, 2017