My scheduler is showing a date range of March 10 through March 16. When I look at “scheduler.getState()”, is says that min_date is March 10 and max_date is March 17.
Why March 17? I’d expect the 16th.
What’s the best way to get the beginning and ending dates of the displayed schedule?
Hi,
this is the expected behavior. max date shows the not inclusive upper bound of the displayed date range.
In your case max_date holds a date object with value ‘17 March 2014, 00:00:00’, meaning that calendar shows dates up to midnight 17th March