Help: PDF Dates Completely Wrong


#1

When I use gantt.exportToPDF(), the generated pdf is completely different from the actual gantt chart. For whatever reason the dates are all messed up. See the screenshot for what the chart should look like and gantt.pdf for what the messed-up pdf. I tried setting the start, end options. None of it worked.

gantt.pdf (117.0 KB)


#2

Never mind. I have resolved this issue by setting the gantt.config.date_format the same as the gantt.config.xml_date