Time(zone)s are not handled correcty #11

Open
opened 2024-05-27 11:45:08 +02:00 by magicfelix · 0 comments
magicfelix commented 2024-05-27 11:45:08 +02:00 (Migrated from edugit.org)

I configured l10n.tz = "Europe/Berlin" (and had it unconfigured, therefore default UTC before). When I create an absence and set e.g. 8:00 in the frontend, after saving it is displayed as 10:00.

Interestingly, when I keep the default/suggested time (which is the current time), it is handled correctly.
So when I create an absence now (e.g. 10:00), and only set the end time manually (to e.g. 12:00), it results in 10:00–14:00.

I configured `l10n.tz = "Europe/Berlin"` (and had it unconfigured, therefore default UTC before). When I create an absence and set e.g. 8:00 in the frontend, after saving it is displayed as 10:00. Interestingly, when I keep the default/suggested time (which is the current time), it is handled correctly. So when I create an absence now (e.g. 10:00), and only set the end time manually (to e.g. 12:00), it results in 10:00–14:00.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aleksis/AlekSIS-App-Kolego#11
No description provided.