Merge branch 'hotfix/add-timezone'
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user