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

How to use all day events ? #40

Open netanelwebninja opened 5 years ago

netanelwebninja commented 5 years ago

Hey,

I didnt understand how can I use calendar with all day events ? Can you guide me about that ?

sirbeagle commented 5 years ago

Sure - it's pretty easy but not entirely obvious until you see it once. So we're using Google's API as our reference. On their documentation check out start.date and start.dateTime. If you want an all day event then use the date fields for both start and end and it'll be recognized as an all day event.

On our demo page we have some all day events. Check out the source code that generates the test data to see the difference between all day events and events with a time associated with them.

Hope that helps!