themouette/jquery-week-calendar — Issue #88: Multiday-event created as multiple events
Author: kila03
Created: 2011-10-19 11:22:15+00:00
State: open

First of all - great work, this calendar really looks promising! Though I have some issues with multiday-events.

If I create an event link this;

{
"id": 1,
"start": new Date(year, month, day + 1, 17),
"end": new Date(year, month, day + 3, 9),
"title": "Multiday Vacation"
}

the event are drawn as three separate events in calendar, one from 1700 to 0000 day 1, on from 0000 to 0000 day 2 and one from 0000 to 0900 day 3. Moving or resizing the event only affect one day and not the event as a unit, so moving the event on day 4 two days forward splits the event in more different events.

I would expect the functionality to be like this;
- event-part on day 1 should only be movable, not resizable, and moving the event should affect the complete event not only what is visible on day 1
- event part on day 2 should not be movable nor resizable
- event-part on day 3 should only be resizable, not movable
- timespan-text on event should reflect the real start- and end times (and dates) and only event-part on day 1 should include time-div

Furthermore, dont know if it is a bug or a feature as it is now but in my context I see it as a bug, it could be great if marking a period for creating a new event was not limited to one day but could be done over a span of days. This would also make it possible to resize an event to take more or less days than originally.