Scottc Items Calendar iCal Timezone issue

Permalink
Since support tickets are now being closed to the public after 30 days, I thought I'd post a resolution I had to an issue where the iCal .ics file was showing the wrong start and end times:

I went into the scottc_items_calendar\tools folder and created a custom ical.php file that removed the "Z" from the DTSTAMP, DTSTART, and DTEND lines (lines 33-35). The modified code looks like this:

DTSTAMP:<?php  echo date("Ymd\THi00", strtotime($i->start)).PHP_EOL; ?>
DTSTART:<?php  echo date("Ymd\THi00", strtotime($i->start)).PHP_EOL; ?>
DTEND:<?php  echo date("Ymd\THi00", strtotime($i->end)).PHP_EOL; ?>


I then loaded the new ical.php file into the root level tools folder so it would override the one in the package.

kspitzley