I also having same problem
i just changed this below lines (I am .NET developer. I did my best to fix this issue)
if ($event->allday == TRUE)
{
$eventStartString =date("Ymd", strtotime($event->from)); //dateToRfc5545String($event->from, FALSE, TRUE);
$eventEndString =date("Ymd", strtotime($event->to)); //dateToRfc5545String($event->to, FALSE, TRUE);
}
else
{
//$eventStartString =dateToRfc5545String(datetimeToUTC_PHP52($event->from), TRUE, TRUE);
//$eventEndString =dateToRfc5545String(datetimeToUTC_PHP52($event->to), TRUE, TRUE);
//"TZID=". date("e", strtotime($event->from)). ":" .
$eventStartString = date("Ymd", strtotime($event->from))."T". date("His", strtotime($event->from));
//"TZID=". date("e", strtotime($event->to)). ":" .
$eventEndString = date("Ymd", strtotime($event->to))."T". date("His", strtotime($event->to));
}
I just commented old code. I think, also changed
DTSTART; to DTSTART:
and
DTEND; to DTEND:
And it works fine for now I can download ics file and also add in Google Calendar.
I used like this for Google Calendar
https://www.google.com/calendar/render?cid=webcal://%5BSITENAMEHERE%5D/?wp-calendar-ical
I hope, it will be helpful up to next fix. I find that there is no item in $event -> tsfrom and $event -> tsto .
Thanks.