Use user timezone for time and date display #459

Open
opened 2026-02-27 15:04:00 -05:00 by deekerman · 0 comments
Owner

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:

What time zone is your server running in? What time zone did you configure in Vikunja's api config?

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:

Is this only wrong when you view the task in the browser?

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.

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](https://kolaente.dev/vikunja/vikunja/issues/1631) --- _**@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_: > What time zone is your server running in? What time zone did you configure in Vikunja's api config? 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_: > Is this only wrong when you view the task in the browser? 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.
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
starred/vikunja-go-vikunja#459
No description provided.