Closed machfr closed 5 years ago
Could maybe add that this shows that dtstart_array has the correct time where dtstart_tz dosen't, just to show you what the output from the parser gives as it might make it easier to give feedback on it.
Will try and find time this weekend to take a look but please proceed with your own investigation meantime. I don't get a lot of time to work on issues these days.
Ok, so I have found out that it goes wrong when you do this around line 1048:
$dateTime = new \DateTime($dateArray[1], new \DateTimeZone(self::TIME_ZONE_UTC));
$dateTime->setTimezone(new \DateTimeZone($this->calendarTimeZone()));
Where you take the time that stands as 9:30 and say it is UTC aka. UK time then after you set the timezone to Europe/Copenhagen
which makes the time go one hour head compared to what it should be.
I am having an issue where I have this Ical (Icloud): https://p59-calendars.icloud.com/published/2/NTU4MDkwODI4NTU4MDkwOFQqNMVtnNFS5S6Msuf6RmTzb4vQHQEI-ztPF8YDoroopzBpaSwui-TIyZju7LexUnrUXMiTuteNl2iNgttSYQ8
and on the 12th (today) I have en even running from
09:30
-10:15
but when it comes out through the parser thedtstart_tz
is set to10:30
anddtend_tz
to11:15
which is1
hour wrong.I have tried to do the same with other calendars created in google, outlook and other places and they all get
dtstart_tz
anddtend_tz
set correctlythe config is set as the follow:
someone able to maybe give me a hint on what is going wrong?