Full day appointments

It looks like full day (no time) appointments don’t display in day or week mode. If that is the case, please put on your to-do list. If they should be displaying, please tell me what I am missing. Thanks.

Hello,

You are missing

scheduler.config.full_day = true;

config option.

Best regards,
Ilya

I do have scheduler.config.full_day = true;

I see the appointments in the month, agenda, and week_agenda view. I don’t see them in unit/resource, day, and week views - which in my case are actually the most important.

Hello,

I am really sorry, I meant

scheduler.config.multi_day = true;

:blush:

Kind regards,
Ilya

Thanks. The good news is that it works. That bad news is that it introduces other problems. A full day event is not really a multi-day event. This means that: 1) instead of setting multi_day to false, one has to set it for true and do manual validation to prevent multi-day appointments; and 2) a full day event for Aug 30 shows up in the views as a two-day event for both the 30th and the 31st.

It would be more accurate to define a full day event either: 1) with a full_day boolean value independent of the time fields, OR 2) as 00:00:00 to 23:59:59, rather than 00:00:00 to 00:00:00 of the next day.

Hello,

Maybe but it’s drawn as multiday (but just for one day).

That seems to be separate questions.
multi_day options simply enables or disables display of such events. With either one you can create them and they will be saved.
If you don’t want to let user save multiday events you simply need to attach function to onEventSave event where you need to check if end_date - start_date is <= 1 day.

Can’t reproduce this issue, can you please give additional details?
I tried following: create event with full day check box checked.

Full day means whole day. Day start at 00:00:00 and ends at 00:00:00 of the next day.
Event either way have start and end date properties and using 23:59:59 means giving away 1 second :slight_smile:

Kind regards,
Ilya

Thanks. I think I have things working. The display issue I reported was my fault.