gantt 2.0 serialize and parsing duration problem


I have a gantt with scale_unit in months

gantt.config.scale_unit = "month"; 

Serialize the chart with gantt.serialize('xml')

When I load the data and parse gantt.parse(xmlString, 'xml'); the duration is parsed in gantt like days and not months, any thoughts?

Let me keep it simple

I want my gantt to look like this

[code]gantt.config.columns = [
{name:“text”, label:“Task name”, width:"*", tree:true },
{name:“duration”, label:“Duration”, align:“center” },
{name:“add”, label:"", width:44 }

gantt.config.scale_unit = “month”;
gantt.config.date_scale = “Mês %n”;

var current_year = new Date().getFullYear();
gantt.config.start_date = new Date(current_year - 1, 12, 01);
gantt.config.end_date = new Date(current_year, 12, 01);


With this config my duration show as “Months” but I need to keep the duration as “Days”, is that possible?