-
Notifications
You must be signed in to change notification settings - Fork 0
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
III-6151 fix timezone issues latest #946
base: main
Are you sure you want to change the base?
Conversation
🔍 Existing Issues For ReviewYour pull request is modifying functions with the following pre-existing issues: 📄 File: src/hooks/api/events.ts
Did you find this useful? React with a 👍 or 👎 |
The e2e tests also work when I set the global timezoneId to 'Asia/Tokyo'. |
async (page) => { | ||
await page.goto(url); | ||
const startHour = page.getByLabel('Beginuur'); | ||
expect(await startHour.inputValue({ timeout: 10_000 })).toEqual('01:00'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will always be 01:00 I guess?
Even if we change the timezone here to Tokyo?
Or will it display the time with the Tokyo timezine?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The time should always show the time value you'd expect. SO indeed if the timezone is Tokyo or Brussels the time value should be 01:00
Added
Changed
Ticket: https://jira.uitdatabank.be/browse/III-6151