X-CURRENT-DTEND / allday events / version 2.22
Brought to you by:
kigsf
I just updated from 2.16.1 to 2.22 and found a bug in the X-CURRENT-DTEND property calculation.
If the value type of DTSTART is DATE, the calculated X-CURRENT-DTEND property has the same value as X-CURRENT-DTSTART.
It should be the next day.
I checked your code and added a quick fix line 1485:
if($compEnd->SCbools[ 'endAllDayEvent'])
$rstart->add( $intervalP1D );
That fixed my problem, but the bug also occurs line 1328 and 1466.
I checked the previous version 2.20.2 - everything is OK here.
Greetings to Sweden,
Holger