slub / slub_events

EXT:slub_events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Recurring events have wrong dateTimes over daylight saving switch

albig opened this issue · comments

On creating a recurring event e.g. in summer time, the created child events in winter time will have the wrong startDateTime (and all other dateTimes).
All dateTimes are stored in the database as UTC. The copied child events have the proper UTC-time. But this is not the expected behaviour.
E.g.
The parent event is on summer time 19:00 CEST

Fr 26 Okt 2018 19:00:00 CEST
Fr 26 Okt 2018 17:00:00 UTC

The current child event is created on winter time 18:00 CET

Mi 31 Okt 2018 18:00:00 CET
Mi 31 Okt 2018 17:00:00 UTC

The expected time would be 19:00 CET, so the UTC has to be changed!

Mi 31 Okt 2018 19:00:00 CET
Mi 31 Okt 2018 18:00:00 UTC