Hi.
I have some technical issue that i can’t resolve by myself. During exporting to pdf I have error Invalid Day Index listed in red boxed inside PDF file. I can’t figure out what is the case of this issue.
I’m sending you example code, and example task data which i use for.
export to pdf code:
$scope.exportToPDF = function(){
gantt.exportToPDF({
name: “ProjectTimeline.pdf”,
header:“
Test project
”,footer:“
John Snow
”,locale:“en”,
start: $scope.ganttInfo.start_date_pdf,
end: $scope.ganttInfo.end_date_pdf,
skin:‘meadow’,
data:tasks
});
};
start_date_pdf = ‘17-06-2015’;
end_date_pdf = ‘22-06-2015’ ;
example data -> tasks variable: snag.gy/6DHKL.jpg
I have to mention that this data is correctly displayed in gantt on website.
Can you point where can be the issue located?
Thanks very much for help