[Scheduler] Recurrence "End On" date is a day after the selected date
Describe the bug When editing the event series Recurrence "End On" date to a specific day and save these changes. If any of the edited events is opened afterwards then the Recurrence "End on" date will be a day later than the selected one.
To Reproduce Please check the following example: https://stackblitz.com/edit/angular-niog8n-eldomz?file=app%2Fapp.component.ts
- Edit the series from the example and set Recurrence End date to Sep 9th.
- Save the changes.
- Edit the series again and see that the Recurrence End date is Sep 10th.
Screenshots If applicable, add screenshots to help explain your problem.
This behavior is mostly correct—otherwise the last occurrence would be on the day before the selected date.
It does however pose a problem for all-day events and other events that begin at midnight. These will get an extra occurrence as the UNTIL date is inclusive. This is the scenario from #2463, but can also be reproduced easily in the demos that don't have any time zones involved:
- Go to the Editing example
- Create a new all-day event by double-clicking on the all-day row.
- Set the event to repeat until a given date which the same as the start date (default).
The editor should look like this:

Notice that the event appears twice:

The KUI/jQuery Scheduler solves this by subtracting 1 second from the recurrence end date. We should consider our options here, but this seems like a viable solution. cc @Raisolution
also reported in private support thread 1552915
I can confirm that this is still an issue.
Facing the same issue with weekly recurrence events.Support ticket 1552915