Help: PDF Dates Completely Wrong

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)

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