Timezone does not respect my setting #1631

Open
opened 2023-10-28 03:21:13 +00:00 by wasabi · 6 comments

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

### 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_
wasabi added the
kind/bug
label 2023-10-28 03:21:13 +00:00
wasabi changed title from Timezone not respect my setting to Timezone does not respect my setting 2023-10-28 03:21:58 +00:00
Owner

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

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

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.

> 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.
Owner

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

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

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

View and edit, but due date.

> Is this only wrong when you view the task in the browser? View and edit, but due date.
Owner

So you expect it to use the timezone you configured for task display as well?

So you expect it to use the timezone you configured for task display as well?
Author

Yeah, that makes more sense.

Yeah, that makes more sense.
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
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: vikunja/vikunja#1631
No description provided.