Drag and Drop of task is off by an hour

Hi, I’m using the following to show week scale units, but be able to drag to day units.

gantt.config.scale_unit = "month";
gantt.config.date_scale = "%F, %Y";
gantt.config.subscales = [{ unit: "week", step: 1, date: "%D %d" }];
gantt.config.scale_height = 50;
gantt.config.min_column_width = 80;
gantt.config.time_step = 60 * 24;
gantt.config.round_dnd_dates = false;

The problem is that when I do this, the start date is coming through as something like “11/06/2014 23:00:00” instead of “11/07/2014 00:00:00” when I drag the start of the task.

So, by dragging, it snaps to being off by an hour. When I save in the lightbox, it comes through correctly. Ideas?

So I was calling init with a start and end date, but the fix in 3.1 now lets me call init without dates. Without the dates in gantt.init(), the above code snaps correctly on dnd to the day and hour 00:00:00.

The below scale, however, still is returning day with 23:00:00 hours for the start date after dnd (1 hour short).

gantt.config.scale_unit = "year";
gantt.config.step = 1;
gantt.config.date_scale = "%Y";
gantt.config.min_column_width = 50;
gantt.config.scale_height = 50;
gantt.config.subscales = [{ unit: "month", step: 1, date: "%M" }];
gantt.config.time_step = 60 * 24;
gantt.config.round_dnd_dates = false;

So maybe you can reproduce this or have a fix to snap to the day when showing months? Thanks!