I just realized that the navigator is 1 day too soon. For example, today is Tuesday May 9 but in the navigator May 9 is on Monday. So every date are one day too soon.
Comment posted by Thomas Dumont-Goyette 9 years ago.
Here's my code:
var nav = new DayPilot.Navigator("nav");
nav.showMonths = 1;
nav.selectMode = "day";
nav.onTimeRangeSelected = function(args) {
loadTimeline(args.start);
loadEvents(); //my function to load the event
};
nav.init();
Comment posted by Dan Letecky [DayPilot] 9 years ago.
Thanks - unfortunately, I'm not able to reproduce the bug using the latest version. What DayPilot version do you use?
Comment posted by Thomas Dumont-Goyette 9 years ago.
1729. Is there a more recent version?
Answer posted by Dan Letecky [DayPilot] 9 years ago.