I am currently facing an issue with the integration of booking data for a vacation house into Contao using the cgoit/contao-calendar-ical-php8-bundle extension. The extension is generally functioning well, but there seems to be a discrepancy in how dates from the ICS file are being interpreted and displayed on the website.
Issue Description:
The ICS file contains booking events with specific start and end dates. However, when these dates are imported into Contao, there is a shift in the date range displayed.
This event is supposed to be from 17.12.2023 to 25.12.2023. However, in Contao, initially with the timezone set to "Berlin", it was displayed as "16.12.2023–23.12.2023". After changing the timezone setting to "GMT", it changed to "17.12.2023–24.12.2023". Despite trying other timezones, I am unable to get the correct end date (25.12.2023) in Contao.
I am uncertain whether this is an issue with the ICS file format or the extension's interpretation of the file. Any assistance or insight into resolving this discrepancy would be greatly appreciated.
Off the top of my head, I can't immediately say what exactly the error is. There are the following possibilities:
wrong ICS file. The event looks good to me at first, but the rest around it would be interesting, as it also contains other things that may be of interest for date handling.
an error in the handling of the file after parsing. That would be my task to solve this
an error in the library used for parsing.
It is very possible that it is 2.
Two questions:
could you please check if the error still occurs in version 5.0.2?
is the ICS file or the feed public? The file or access to the feed would help me to analyze the error.
Hello,
I am currently facing an issue with the integration of booking data for a vacation house into Contao using the cgoit/contao-calendar-ical-php8-bundle extension. The extension is generally functioning well, but there seems to be a discrepancy in how dates from the ICS file are being interpreted and displayed on the website.
Issue Description: The ICS file contains booking events with specific start and end dates. However, when these dates are imported into Contao, there is a shift in the date range displayed.
Example: An event in the ICS file is as follows:
This event is supposed to be from 17.12.2023 to 25.12.2023. However, in Contao, initially with the timezone set to "Berlin", it was displayed as "16.12.2023–23.12.2023". After changing the timezone setting to "GMT", it changed to "17.12.2023–24.12.2023". Despite trying other timezones, I am unable to get the correct end date (25.12.2023) in Contao.
Technical Details:
I am uncertain whether this is an issue with the ICS file format or the extension's interpretation of the file. Any assistance or insight into resolving this discrepancy would be greatly appreciated.
Thank you in advance for your help!
Best regards, Nicole