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

fix(bigquery): align return time.Time values to UTC #9411

Merged
merged 1 commit into from
Feb 12, 2024

Conversation

shollyman
Copy link
Contributor

The changes in #9368 changed the expectation that constructed time.Time objects would use UTC time for location. This PR returns to the old behavior by forcing the values to be returned aligned to UTC time, and avoid using the local timezone for construction.

Fixes: #9407

The changes in googleapis#9368
changed the expectation that constructed time.Time objects would use UTC
time for location.  This PR returns to the old behavior by forcing the
values to be returned aligned to UTC time, and avoid using the local
timezone for construction.

Fixes: googleapis#9407
@shollyman shollyman requested review from a team as code owners February 12, 2024 17:29
@product-auto-label product-auto-label bot added size: xs Pull request size is extra small. api: bigquery Issues related to the BigQuery API. labels Feb 12, 2024
@shollyman shollyman merged commit 4ac005d into googleapis:main Feb 12, 2024
9 checks passed
@shollyman shollyman deleted the utcalignment branch February 12, 2024 18:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the BigQuery API. size: xs Pull request size is extra small.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

bigquery: Timestamps no longer returned in UTC by default
2 participants