Scheduler - Weekly view - How to show "all day" event with other events

On “week” view, when you make an “all day” event by clicking the “all-day” switch button when creating the event, it only shows that event in the all day section, but not in the main calendar area. So if i disable the all-day section, i can no longer see the events created with the all-day switch.

Is there a way to disable the all-day section, but also be able to see events that were created with the “all-day” switch?

Hello @disco :wave:

Yes, it’s possible to disable all-day section, but also be able to see events that were created with the “all-day” switch turned on. However, this requires custom implementation as well.

Basically, the idea is to set the event start time to 00:00 and the end time to 23:00, without setting the event allDay property to true.

Here’s an example:

This is the current structure:

{
    start: '2022-11-01',
    end: '2022-11-01',
    title: 'My event',
    allDay: true
}

And you need to convert that structure into this :point_down:

{
    start: '2022-11-01T00:00',
    end: '2022-11-01T23:59',
    title: 'My event'
}

Also, as you may know the all-day section of the calendar can be hidden with the allDay property of the view option.

Perfect, this works. Thanks.

1 Like