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

[Bug]: SbbDatepicker when in different timezone, selected date is wrong #2865

Closed
3 tasks done
Ckauczor opened this issue Jul 1, 2024 · 0 comments · Fixed by #2889
Closed
3 tasks done

[Bug]: SbbDatepicker when in different timezone, selected date is wrong #2865

Ckauczor opened this issue Jul 1, 2024 · 0 comments · Fixed by #2889
Assignees
Labels
type: bug 🐛 Something isn't working

Comments

@Ckauczor
Copy link

Ckauczor commented Jul 1, 2024

Preflight Checklist

Bug type

Functionality

It affects the following packages

Design Tokens

Which version of Lyne Components are you using

1.0.0

Operating system

No response

Browser / Browser version

No response

Input mode

Mouse/Keyboard

Additional settings

No response

What happened?

If we change our local timezone for example to -10h or +10h, the selected date is changed to a day earlier or later. This leads to wrong birthdates.

Steps to reproduce the issue

  1. change timezone on your local machine to -10h
  2. go to sbb.ch (PROD) and select a departure date / or go to the offer secton of a connection and create a traveler with a birth date
  3. the date changes to a day earlier than the selected

Relevant log output

No response

@Ckauczor Ckauczor added the type: bug 🐛 Something isn't working label Jul 1, 2024
@jeripeierSBB jeripeierSBB moved this from Funnel to Next in ESTA Web Lyne Design System Jul 1, 2024
@kyubisation kyubisation self-assigned this Jul 2, 2024
@kyubisation kyubisation moved this from Next to In progress in ESTA Web Lyne Design System Jul 2, 2024
kyubisation added a commit that referenced this issue Jul 4, 2024
This change adds support for the `DateAdapter` to all datepicker
related components (`<sbb-datepicker>`, `<sbb-datepicker-toggle>`,
`<sbb-datepicker-previous-day>` and `<sbb-datepicker-next-day>`).

Closes #2865
kyubisation added a commit that referenced this issue Jul 4, 2024
This change adds support for the `DateAdapter` to all datepicker
related components (`<sbb-datepicker>`, `<sbb-datepicker-toggle>`,
`<sbb-datepicker-previous-day>` and `<sbb-datepicker-next-day>`).

Closes #2865
@github-project-automation github-project-automation bot moved this from In progress to Done in ESTA Web Lyne Design System Jul 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug 🐛 Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants