Merge branch 'hotfix/add-timezone'

This commit is contained in:
Björn Fromme
2019-12-10 16:22:55 +01:00
@@ -135,6 +135,12 @@ class IcalService implements SingletonInterface
*/
protected function createCalendarInstance(): Vcalendar
{
return Vcalendar::factory([ Vcalendar::UNIQUE_ID => 'www.ep-reisen.de' ]);
$vcalendar = Vcalendar::factory([ Vcalendar::UNIQUE_ID => 'www.ep-reisen.de' ]);
$vcalendar->setXprop(
Vcalendar::X_WR_TIMEZONE,
'Europe/Berlin'
);
return $vcalendar;
}
}