nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
985 stars 239 forks source link

Appointments with different time zone than calendar do not display correctly #6494

Open SebastianKrupinski opened 1 week ago

SebastianKrupinski commented 1 week ago

Steps to reproduce

Calendar is set to 'America/Toronto' time zone.

Manually created calendar event in 'America/Los_Angeles' time zone for 14.30

Event shows on calendar at 12.00 but should be 17.30.

Event export shows correct time zone and times.

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//IDN nextcloud.com//Calendar app 5.0.1//EN
CALSCALE:GREGORIAN

BEGIN:VTIMEZONE
TZID:America/Los_Angeles

BEGIN:DAYLIGHT
TZOFFSETFROM:-0800
TZOFFSETTO:-0700
TZNAME:PDT
DTSTART:19700308T020000
RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=2SU
END:DAYLIGHT

BEGIN:STANDARD
TZOFFSETFROM:-0700
TZOFFSETTO:-0800
TZNAME:PST
DTSTART:19701101T020000
RRULE:FREQ=YEARLY;BYMONTH=11;BYDAY=1SU
END:STANDARD

END:VTIMEZONE

BEGIN:VEVENT
CREATED:20241115T021729Z
DTSTAMP:20241115T022245Z
LAST-MODIFIED:20241115T022245Z
SEQUENCE:2
UID:bfd37d0d-7acf-415d-92ca-c34b493ab491
DTSTART;TZID=America/Los_Angeles:20241114T143000
DTEND;TZID=America/Los_Angeles:20241115T153000
STATUS:CONFIRMED
SUMMARY:<redacted>
LOCATION:<redacted>
ATTENDEE;CN=<redacted>;CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTION;RO
 LE=REQ-PARTICIPANT;RSVP=TRUE;SCHEDULE-STATUS=1.1:mailto:<redacted>
ATTENDEE;CN=<redacted>;CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTIO
 N;ROLE=REQ-PARTICIPANT;RSVP=TRUE;SCHEDULE-STATUS=1.1:mailto:<redacted>
ORGANIZER;CN=Sebastian Krupinski:mailto:<redacted>
END:VEVENT

END:VCALENDAR

Expected behavior

Event should display with correct time

Actual behaviour

Event is displayed with incorrect time

Calendar app version

No response

CalDAV-clients used

No response

Browser

No response

Client operating system

No response

Server operating system

No response

Web server

None

Database engine version

None

PHP engine version

None

Nextcloud version

No response

Updated from an older installed version or fresh install

None

List of activated apps

Nextcloud configuration

Web server error log

Log file

Browser log

Additional info

No response