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

sp_QuickieStore: Correct UTC offsets #458

Merged
merged 2 commits into from
Jul 27, 2024

Conversation

ReeceGoding
Copy link
Contributor

@ReeceGoding ReeceGoding commented Jul 6, 2024

Closes #449 by switching to use SWITCHOFFSET rather than our old arithmetic tricks with @utc_offset_minutes. I'll spin up some Docker containers on different time zones to provide more evidence that this is working. For now, I just have this screenshot from my British Summer Time instance.
BST

Notice that the _UTC columns are unchanged. This is intentional and correct.

@ReeceGoding
Copy link
Contributor Author

@erikdarlingdata As requested. Must've been my fault. Guess I synced with the wrong branch before forking.

@ReeceGoding
Copy link
Contributor Author

More tests. I think this is the final proof that the code works.

Docker time zone "Pacific/Midway" (UTC -11:00)
Midway

Docker time zone "Canada/Newfoundland" (UTC -03:30, but I think it's their summer time)
iNewfoundland

Docker time zone "ETC/UTC" (UTC +00:00)
UTC

Docker time zone "Pacific/Guam" (UTC +10:00)
Guam

@erikdarlingdata erikdarlingdata added bug Something isn't working sp_QuickieStore For the loving of Query Store labels Jul 27, 2024
@erikdarlingdata erikdarlingdata merged commit 19d8097 into erikdarlingdata:dev Jul 27, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working sp_QuickieStore For the loving of Query Store
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants