Hovering over date doesn't show time in correct time zone #233

Open
opened 2024-08-12 20:07:24 +02:00 by Nika Kutsniashvili · 2 comments

https://extensions.blender.org/add-ons/bool-tool/
In here hovering over update date, or in version history on dates tells me wrong time. It says I updated 2 hours ago, but time when I hover shows 5 hours ago, which is I think because it always shows time with Amsterdam time and doesn't time my time zone into account

https://extensions.blender.org/add-ons/bool-tool/ In here hovering over update date, or in version history on dates tells me wrong time. It says I updated 2 hours ago, but time when I hover shows 5 hours ago, which is I think because it always shows time with Amsterdam time and doesn't time my time zone into account
Nika Kutsniashvili added the
Type
Report
Priority
Normal
labels 2024-08-12 20:07:24 +02:00
Owner

Unfortunately, that's the state of localization on all our django websites at the moment: everything is displayed in Amsterdam time.

The most reliable way to fix this would be to add a profile-level setting where a user could explicitly set a desired time zone.
This is something we could definitely implement in the future, but not right now.

An alternative way could be to do it in javascript, but it seems easier to have it done in a single place on backend vs making an inventory of timestamp elements in UI to make sure that they are all handled uniformly on the client-side.

Also generally we try to make our websites accessible without relying on javascript, and I am not sure if this feature should be considered an enhancement (js tolerated) or a bug fix (must work without js).

Unfortunately, that's the state of localization on all our django websites at the moment: everything is displayed in Amsterdam time. The most reliable way to fix this would be to add a profile-level setting where a user could explicitly set a desired time zone. This is something we could definitely implement in the future, but not right now. An alternative way could be to do it in javascript, but it seems easier to have it done in a single place on backend vs making an inventory of timestamp elements in UI to make sure that they are all handled uniformly on the client-side. Also generally we try to make our websites accessible without relying on javascript, and I am not sure if this feature should be considered an enhancement (js tolerated) or a bug fix (must work without js).

I think to avoid confusion band-aid will be to specify time-zone in those places & tooltips.

I think to avoid confusion band-aid will be to specify time-zone in those places & tooltips.
Sign in to join this conversation.
No Milestone
No project
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: infrastructure/extensions-website#233
No description provided.