Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Displayed time incorrect in logged out state #1834

Open
MrKrisKrisu opened this issue Aug 8, 2023 · 2 comments
Open

Displayed time incorrect in logged out state #1834

MrKrisKrisu opened this issue Aug 8, 2023 · 2 comments
Assignees
Labels
bug Something isn't working timezoning is hard ui Issues related to ui (design), frontend, etc.

Comments

@MrKrisKrisu
Copy link
Member

Describe the bug
A user reported that since the timezone update, there is a discrepancy in the displayed train schedule on their profile. When viewing the profile without logging in, a train scheduled for 19:10 is incorrectly shown as 17:10. However, upon logging in, the correct time of 19:10 is displayed for the same train journey.

To Reproduce
Steps to reproduce the behavior:

  1. Visit the user's profile in an unlogged state.
  2. Locate the train departure time for a specific train, e.g., 19:10.
  3. Observe that the displayed time is incorrect, showing 17:10 instead.

Expected behavior
The user expects that the displayed train schedule in both logged-in and unlogged states should consistently show the correct departure time of 19:10.

Screenshots

//

Desktop (please complete the following information):

//

Smartphone (please complete the following information):

//

Additional context
Internal Ticket #220064

@TobiTobsen1410
Copy link

TobiTobsen1410 commented Aug 16, 2023

Hi guys,
Since the timezone feature came up, trains show a different time when I’m logged out (minus 2 hours) than when I’m logged in into my profile.
I attached two pictures to this message to show you the problem.
Cheers, Tobi

IMG_1968
IMG_1969

@HerrLevin
Copy link
Member

Temporary fix w/ #1963 - This will only be fixed, once we can handle all date/time formatting in the frontend. A better backend time formatting is just not worth it in this case.

@HerrLevin HerrLevin added the ui Issues related to ui (design), frontend, etc. label Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working timezoning is hard ui Issues related to ui (design), frontend, etc.
Projects
None yet
Development

No branches or pull requests

3 participants