nextcloud / nextcloud/calendar

Appointments with different time zone than calendar do not display correctly

Open
#6,494 0 comments 0 reactions 1 assignee View on GitHub

@SebastianKrupinski is already working on this.

Since Nov 15, 2024.

0. to triage bug
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.