Hi Codee,
It looks like the QR code was not generating the event dates with the correct timezone reference, so everything was being created in UTC. In the QRCodeGenerator.php plugin file, can you try replacing this line (at or around line 48):
elseif ($type == 'event') { $data = "BEGIN:VEVENT:\nSUMMARY:" . $options['title'] . "\nDTSTART:" . gmdate("Ymd\THis", strtotime($options['start'])) . "\nDTEND:" . gmdate("Ymd\THis", strtotime($options['end'])) . "\nEND:VEVENT"; }
with this:
elseif ($type == 'event') { $data = "BEGIN:VEVENT\nSUMMARY:" . $options['title'] . "\nDTSTART;TZID=".date_default_timezone_get().":" . date("Ymd\THis", strtotime($options['start'])) . "\nDTEND:" . date("Ymd\THis", strtotime($options['end'])) . "\nEND:VEVENT"; echo $data; }
Let me know if this works for you!
Thanks,
Daniel
Technical Lead
interactivetools.com