con2 / con2/kompassi

Timezone handling for DATETIME annotations is broken

Open
#951 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
29
Forks
33
Avg merge
1d 22h
Merged PRs (30d)
19

Description

HTML field produces "2026-03-23T23:48" without seconds or time zone.

`paikkalize_schedule_item` uses `parse_datetime`, which assumes UTC if time zone is not provided. I'm pretty sure that's not what the user would expect. Should use event timezone instead.

The annotation should always be in full ISO format with time zone. Can be stored in UTC as long as it's shown to user always in event timezone.

Coming back from the annotation to the HTML field, it should again be cnoverted to event timezone before being shown to user if stored in anything else.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.