You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@markuspoerschke any review on this issue? I have set up an event and trying to get the time load correctly into Outlook and this seems be an issue for me as well.
I work with UTC in the underlying database but set the TimeZone to Europe/Berlin (primary region of users). This works for Apple, but not all clients (I guess Outlook?).
Has someone found a proper way of handling this?
Modifiyng the DateTime object to Europe/Berlin and $useTimezone=false?
// WORKING ON APPLE CALENDAR BUT NOT ALL CLIENTS$tz = new \DateTimeZone('Europe/Berlin');
(newEvent())
->setOccurrence(newTimeSpan(
// Setting the timezone will not change the underlying point-in-time.// But showing "UTC" to the user might be confusing.newDateTime($date->setTimezone($tz), true),
newDateTime($date->setTimezone($tz), true)
))
;
Using version 2.x I have seen that giving no timezone you create a date like this assuming calendars accept that as UTC
DTSTART:20230207T000000
DTEND:20230210T000000
but should it not be
DTSTART:20230207T000000Z
DTEND:20230210T000000Z
to be recognized as UTC time?
The text was updated successfully, but these errors were encountered: