Custom Time format in lightbox (morning/afternoon)

Hi,

I have a lightbox defined with 2 hours in chose only : 00:00 or 12:00.


Purpose is to set the morning or the afternnon in the sheduler.

Here I have two problems.
First I want to change 00:00 by Morning and 12:00 by afternoon
Secondly, I want to intercept this by script to set my “correct” date range (00:00/12:00/23:59)

Do you know a way to do this properly please?

I tried with a full custom lighbox but with the original lightbox we have more native events.
Thanks for your help,
Loïc

Secondly, I want to intercept this by script to set my “correct” date range (00:00/12:00/23:59)

You can use onEventSave handler
docs.dhtmlx.com/scheduler/api__s … event.html
This event occurs after clicking on “Save” button, but before actual saving.

Thanks, it works fine now with this event.