Quote:
kjs222 wrote:
In "function rrule_extract( $event_id )"
Change all:
$duration = $event->end - $event->start ;
to:
if ($event->allday) $duration=1;
else $duration = $event->end - $event->start ;
This makes sure all-day event does not overlap to second day.
I can't understand the meaning of this code.
All of allday events has its length.
It's integral multiples of 86400.
If some allday events whose length is only a day are displayed separated two days,
tell me the conditions of the events.
Of course, 6 conditions which I have mentioned are necessary.
The most ordinary reason why some allday events are displayed separatly is that the server timezone has been changed. (or setting of server Timezone in XOOPS has been changed or has been wrong)
First of all, try to modify the allday event right now.