kvyatkovskys / KVKCalendar

A most fully customization calendar for Apple platforms 📅

Home Page:https://kvyatkovskys.github.io/KVKCalendar/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

didChangeEvent returns wrong (number of month) when drag event at the junction of the months

IvanKopych opened this issue · comments

Describe the bug
When I try to drag the event from November 29 to December 2, methods didChangeEvent returns
start: 2022-11-02 11:00:00,
end: 2022-11-02 12:00:00.

But I expected
start: 2022-12-02 11:00:00
end: 2022-12-02 12:00:00.

number of the month doesn't change

To Reproduce
Steps to reproduce the behavior:

Book an event on any 28, 29, or 30 dates of any month
Drag this event to next month 1, 2, or 3 date
See the error
Expected behavior
The correct number of the month

Screenshots
Screenshot 2022-11-28 at 12 13 08

Hello @IvanKopych

Thx for the issue! I'll take a look.