How to change the displayed end date of selected range
Asked by Anonymous 4 years ago.
Hi,
If I select a whole day e. g. 09.12.21 then the schedular shows in the tooltip of the selected range 10.12.21 as the end date. See please the attached screenshot.
Is this the default behavior? If yes, than what's the idea behind it?
Can I change it so it will show 09.12.21 as the end date?
Answer posted by Dan Letecky [DayPilot] 4 years ago.
By default, the Scheduler works with exact date points. The end of such selection is "2021-12-10T00:00:00" which results in "Dezember 10, 2021" in the label. This allows the same logic to be applied regardless of the scale (days vs hours, etc.).