Merge branch 'hotfix/add-timezone'

This commit is contained in:
Björn Fromme committed 2019-12-10 16:22:55 +01:00
commit 993bc0a90c
1 file changed
+7 -1
@@ -135,6 +135,12 @@ class IcalService implements SingletonInterface
*/ */
protected function createCalendarInstance(): Vcalendar 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;
} }
} }