robicch / jQueryGantt

jQuery Gantt editor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Today date line is not correctly displaying

skipper999-ops opened this issue · comments

  1. Today date line is a little off on some cases. below is a screenshot taking on 15 February at 8:12am but the date line shows 16 February. What i found is if I use the actualize data code on the sample then it is showing fine. but we cannot use that.

whatsapp image 2019-02-15 at 8 13 09 am

  1. You can see on the screenshot below the event is starting on the middle of the day instead of the start. How can this be fixed?

capture

for second issue , try to set start and end date time like below code in ganttDrawerSVG.js i.e. in Ganttalendar.prototype.create.

        start.setHours(0, 0, 0, 0);
        end.setHours(23, 59, 59, 999);