stormseed / daykeep-calendar-quasar

A full event display calendar for the Quasar framework that has multiple viewing formats.
MIT License
270 stars 71 forks source link

Displaying Multi-Day Events #36

Closed wooliet closed 5 years ago

wooliet commented 5 years ago

I am using <calendar-month> and have an events-array property set to the data we want to display.

Events that start and end on the same day seem to display fine. However, display of events that span multiple days does not seem to work with the data I'm providing.

One of the objects in events-array contains the data:

{
  start:  { dateTime: "2018-09-24T14:00:00.000Z" },
  end: { dateTime: "2018-09-25T20:00:00.000Z" }
}

It only shows a entry on the calendar for the start day. It does not show that the event spans across two days.

Is there something else I need to be doing? Is what I'm doing now wrong in some way?

wooliet commented 5 years ago

I see that using date instead of dateTime within the start and end objects shows multiple days. But if I remove dateTime, I no longer get the single day entries.

I would like to have a start and end time associated with an event that spans multiple days. Does this mean I need to include both a date and a dateTime property with start & end for every event?

sirbeagle commented 5 years ago

I'll have to test that - I have a feeling I didn't account for that scenario properly.