Bug description
When creating a calendar event through the Context Agent / MCP schedule_event tool, the supplied timezone is not preserved.
I created an event with:
- Date: 2026-08-18
- Start time: 12:30 PM
- End time: 1:30 PM
- Timezone:
Europe/Berlin
The resulting event was created as:
- 10:30–11:30
- Timezone:
UTC
The actual point in time is technically correct because Europe/Berlin is UTC+2 on that date, but the event timezone is wrong. The supplied Europe/Berlin timezone appears to be converted to UTC instead of being preserved as the event's TZID.
This is visible directly in the Nextcloud Calendar web interface.
Expected behavior
An event created with:
start_time: 12:30 PM
end_time: 1:30 PM
timezone: Europe/Berlin
should be stored/displayed as:
12:30–13:30
Europe/Berlin
and ideally represented in the VEVENT similar to:
DTSTART;TZID=Europe/Berlin:20260818T123000
DTEND;TZID=Europe/Berlin:20260818T133000
Actual behavior
The event is stored/displayed as:
So the timezone parameter is used for conversion, but the supplied timezone itself is lost.
Steps to reproduce
-
Use the Context Agent / MCP calendar tool schedule_event.
-
Create an event for 2026-08-18.
-
Use:
- start time:
12:30 PM
- end time:
1:30 PM
- timezone:
Europe/Berlin
-
Open the resulting event in the Nextcloud Calendar web interface.
-
The event is shown as 10:30–11:30 UTC instead of 12:30–13:30 Europe/Berlin.
Environment
- Nextcloud Server: 34.0.3
- Context Agent: 2.7.0
- Calendar app: 6.5.3
- Deployment: Docker
- Server timezone/use case: Germany /
Europe/Berlin
Additional information
This is reproducible.
The same Context Agent installation otherwise works for creating events and for task access.
The issue seems to be specifically related to preserving the supplied IANA timezone (Europe/Berlin) when generating the calendar event.
Bug description
When creating a calendar event through the Context Agent / MCP
schedule_eventtool, the supplied timezone is not preserved.I created an event with:
Europe/BerlinThe resulting event was created as:
UTCThe actual point in time is technically correct because
Europe/Berlinis UTC+2 on that date, but the event timezone is wrong. The suppliedEurope/Berlintimezone appears to be converted to UTC instead of being preserved as the event'sTZID.This is visible directly in the Nextcloud Calendar web interface.
Expected behavior
An event created with:
should be stored/displayed as:
and ideally represented in the VEVENT similar to:
Actual behavior
The event is stored/displayed as:
So the timezone parameter is used for conversion, but the supplied timezone itself is lost.
Steps to reproduce
Use the Context Agent / MCP calendar tool
schedule_event.Create an event for
2026-08-18.Use:
12:30 PM1:30 PMEurope/BerlinOpen the resulting event in the Nextcloud Calendar web interface.
The event is shown as
10:30–11:30 UTCinstead of12:30–13:30 Europe/Berlin.Environment
Europe/BerlinAdditional information
This is reproducible.
The same Context Agent installation otherwise works for creating events and for task access.
The issue seems to be specifically related to preserving the supplied IANA timezone (
Europe/Berlin) when generating the calendar event.