mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-24 23:41:47 -05:00
Use user timezone for time and date display #459
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vikunja-bot on GitHub (Apr 1, 2025).
Original issue by wasabi on 2023-10-28T03:21:13.000Z
Description
I changed time zone to Asia/Gaza, place a task and set the Due Date to 28 Oct 2023, 12:00:00, but the time of due in also related to UTC on project list panel.
Complete hints:
UTC time: 28 Oct 2023, 03:00:00
Gaza time: 28 Oct 2023, 05:00:00
Time Zone my profile: Asia/Gaza
Due Date: 28 Oct 2023, 12:00:00
Project list showed: Due in about 9 hours (incorrect)
Expected the related due date is Due in about 7 hours
https://try.vikunja.io/tasks/51
Vikunja Frontend Version
unstable
Vikunja API Version
unstable
Browser and version
No response
Can you reproduce the bug on the Vikunja demo site?
Yes
Screenshots
No response
Original issue on Gitea
@kolaente commented on 2023-10-29T18:48:36.000Z:
What time zone is your server running in? What time zone did you configure in Vikunja's api config?
wasabi commented on 2023-11-05T07:00:22.000Z:
Timezone on the server and Vikunja's api config both are UTC.
Vikunja frontend looks like used my browser time.
@kolaente commented on 2023-11-06T16:30:42.000Z:
Is this only wrong when you view the task in the browser?
wasabi commented on 2023-11-11T05:31:48.000Z:
View and edit, but due date.
@kolaente commented on 2023-11-11T11:00:24.000Z:
So you expect it to use the timezone you configured for task display as well?
wasabi commented on 2023-11-11T15:10:21.000Z:
Yeah, that makes more sense.