Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
fix(monthView): generate correct new start date when dropping an event #588
When dropping an event from one month to another in the month view, the new date start for the event is being generated incorrectly. This happens when an event is dragged to a month with more days than the original event month. For example: dragging an event in February to January 31. The new event start date would be set to January 3.
The problem is the way moment is being used to generate the new date. According to moment documentation:
@@ Coverage Diff @@ ## master #588 +/- ## ======================================= Coverage 95.93% 95.93% ======================================= Files 26 26 Lines 714 714 ======================================= Hits 685 685 Misses 29 29