Menu

#34 X-CURRENT-DTEND / allday events / version 2.22

v1.0_(example)
open
nobody
None
5
2015-11-06
2015-11-06
Münzer
No

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

Discussion


Log in to post a comment.

MongoDB Logo MongoDB