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: at time zone seems to show incorrect behaviour with daylight saving #23155

Open
joris-bright opened this issue Aug 28, 2024 · 2 comments
Open

Comments

@joris-bright
Copy link

joris-bright commented Aug 28, 2024

The query:

select timestamp '2024-10-27 00:23:45 UTC' at time zone 'Europe/Brussels',
       timestamp '2024-10-27 01:23:45 UTC' at time zone 'Europe/Brussels',
       timestamp '2024-10-27 02:23:45 UTC' at time zone 'Europe/Brussels';

The result:

2024-10-27 02:23:45.000 +02:00
2024-10-27 02:23:45.000 +02:00 <-- should be 2024-10-27 02:23:45.000 +01:00
2024-10-27 03:23:45.000 +01:00
@u7549482
Copy link

u7549482 commented Oct 9, 2024

Hey @joris-bright, could you please provide more infomation about this bug

@joris-bright
Copy link
Author

The second timestamp get converted wrongly
'2024-10-27 01:23:45 UTC' ->
'2024-10-27 02:23:45.000 +02:00' == '2024-10-27 00:23:45 UTC'
This shifts the time with one hour

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants