gantt.exportToPDF specifying the date range of the output

Hi there,

I am trying to implement the export function with a specified date range.
The end-user can fill in a start date and end date the value of the inputs will be passed to the gantt.exportToPDF() function. E.g.

gantt.exportToPDF({
   header: "<h2>{$project->name}</h2>",
   skin: 'meadow',
   start: "01-01-2013",
   end: "01-01-2014"
})

It will just export a gantt with an other date range…

Fixed. The above code now must work correctly ( you need not update anything )