Skip to content

Update timezone Handeling to work again#270

Merged
JonasJoKuJonas merged 3 commits intoJonasJoKuJonas:mainfrom
thetechnikfreak:main
Apr 22, 2026
Merged

Update timezone Handeling to work again#270
JonasJoKuJonas merged 3 commits intoJonasJoKuJonas:mainfrom
thetechnikfreak:main

Conversation

@thetechnikfreak
Copy link
Copy Markdown
Contributor

@thetechnikfreak thetechnikfreak commented Apr 21, 2026

Fix #243

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adjusts calendar event timezone fallback to use Home Assistant’s configured/default timezone instead of hardcoded UTC.

Changes:

  • Import homeassistant.util.dt as dt_util in the calendar platform.
  • Use dt_util.DEFAULT_TIME_ZONE when start_date has no tzinfo.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread custom_components/webuntis/calendar.py
Comment thread custom_components/webuntis/calendar.py Outdated
@JonasJoKuJonas JonasJoKuJonas merged commit 775460f into JonasJoKuJonas:main Apr 22, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Einträge im Stundenplan werden mit der falschen Uhrzeit angezeigt

4 participants