Skip to content

Misinterpreted timezone #133

@treiher

Description

@treiher

The following event is supposed start at 15:00 CEST, but biweekly says it starts at 17:00 CEST:

BEGIN:VCALENDAR
PRODID:-//Prod//EN
VERSION:2.0
CALSCALE:GREGORIAN
METHOD:REQUEST
BEGIN:VEVENT
UID:12345
DTSTAMP:20250514T080000Z
SUMMARY:
DESCRIPTION:
DTSTART;TZID=Europe/Berlin:20250519T150000
DTEND;TZID=Europe/Berlin:20250519T160000
LOCATION:
STATUS:CONFIRMED
SEQUENCE:1
CLASS:PRIVATE
END:VEVENT
BEGIN:VTIMEZONE
TZID:Europe/Berlin
BEGIN:DAYLIGHT
DTSTART:20250519T150000
TZNAME:CEST
TZOFFSETTO:+0200
TZOFFSETFROM:+0200
END:DAYLIGHT
END:VTIMEZONE
END:VCALENDAR
  biweekly.property.DateStart [ parameters={} | value=Mon May 19 17:00:00 CEST 2025 ]
  biweekly.property.DateEnd [ parameters={} | value=Mon May 19 18:00:00 CEST 2025 ]

Is this a bug in biweekly or is this object somehow malformed? Other libraries (e.g., collective/icalendar and hoodie/icalendar) return the expected time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions