getting wrong dates using gantt.serialize

Hi,

I am currently using gantt 3.3 commercial version. While using gantt.serialize(‘json’), iam getting the start and end of the task wrong i.e they are subtracted by 1 both the start and the end dates.

The gantt displays one date and the gantt.serialize(‘json’) produces another date.

I have attached




these are the five files of each screen shot showing the problem explained above.

Please help me in resolving this issue.






Hello,
I did a small check and couldn’t reproduce the issue on a basic example:
screencast.com/t/HM1GThststR

Maybe you can attach a demo where the issue can be tested?

check the snippet

http://docs.dhtmlx.com/gantt/snippet/be9f7843

print the task dates before and after the task drag and also using the gantt.getTask