Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Fix for timezones (Code inside)*
ameliafps
New
This fix worked for me. I'm on US EST, -5hours from GMT.
In class.googlecalendarfeed.php look for
Insert the following:
A few lines down, find:
Add $zone to $when to make the adjustment:
Save the file.
I hope that works for others.
In class.googlecalendarfeed.php look for
function processfeed($xml,$title,$name,$path)
{
Insert the following:
$zone=3600*n; // n = the time difference from GMT
// example: EST is -5hours from GMT -> 3600*-5
// example: CET is +1hour from GMT -> 3600*1
A few lines down, find:
$startTime = gmdate("g:ia", $when);
$startDate = gmdate("j F Y", $when);
Add $zone to $when to make the adjustment:
$startTime = gmdate("g:ia", ($when + $zone));
$startDate = gmdate("j F Y", ($when + $zone));
Save the file.
I hope that works for others.
Tagged:
0