Resized one day event is processed as two day

Talking about patches, is there some workaround for the size of the events ? Because I enabled the resizing of events in my scheduler but if the event is resized on one day, it is actually processed as two days. This occurs also by creating a new event with drag and drop.

As you can see here :

On the left, the event is processed as two days, on the right, as one day.

Hello,
a full day events (starts at 00:00 one day and ends on 00:00 the next day) are displayed the same way as multiday events.
In case you need to change it in month view only - you can configure event_bar_date template docs.dhtmlx.com/scheduler/api__s … plate.html in order to achieve the same look.
If you want them too look as single-day events in all views - please check this extension
docs.dhtmlx.com/scheduler/extens … l#alltimed

thanks for your answer. No I don’t want to make my events look as single-day events. I just want that the when the event bar is on one day, it does process it as one day and not two days. The same for two days. I tried to set the event begin time at 8 am and end at 6 pm but it idn’t change anything.

So there isn’t a way to make the adapt the length of the event to the length of the bar ? Like if the bar is on one day, it creates a single-day event (even if it displays it as a single-day event and not a bar), if the bar is on two days, it creates an event of two days (and not three) and so on ^^

I encounter this issue only on the month view, yes. I am going to try to change the event_bar_template but I think it isn’t linked to the display of the bar, but to the processing of the length of the event. What I mean, is that the length of the event seems to be badly calculated compared to the length of the bar which is dragged by the user.

Actually to be really clear about my issue, the end_date is always one day more than the bar:
If the bar stops on October 19th, the end_date is the 20th. I would like the end_date to be the 19th.

Hi,
the full day events are expected to have such dates,
e.g. full day event at 19th October:

start_date: 19 October 2015 00:00:00
end_date: 20 October 2015 00:00:00

Starts on 19th at midnight and ends by midnight 20th.
If you want such events to have both dates within a same day, e.g. 19.10.2015 00:00:00 - 19.10.2015 23:59:59 - you’ll need to postprocess created events somehow, there is no built-in option

Hi,

So this doesn’t seem akward to you ? When I drag the bar on one day, it creates the event on two days ? What is even more akward is that I have the events saved in my database. I create an event on one day (the bar is on one day but the event is processes as two days), I refresh my page (so the event was saved to the db). Now the same event has a bar on TWO days because the event is on two days…

I tried to set the begin time to 8am and end time to 6pm but this has no effect on the issue. As you said, the event seems to be processed according to midnight. I mean, I don’t understand how this can be logical for anyone. When I drag an event on the 18th and 19th of October, I want my event to be on the 18th and 19th and not also on the 20th.