diff --git a/build/service/CalendarExtractor.php b/build/service/CalendarExtractor.php index 830f742..41eeed1 100644 --- a/build/service/CalendarExtractor.php +++ b/build/service/CalendarExtractor.php @@ -248,10 +248,10 @@ $tz_offset = +2; /* (2) Get GMT (UTC+0) timestamp */ - $ts = strtotime("${day} $hour:$min:00"); + $ts = strtotime("${day} $hour:$min:00") - (3600*$tz_offset); /* (3) Return GMT date */ - return gmdate("Ymd\THis\Z", $ts); + return date("Ymd\THis\Z", $ts); }