Skip to content

Conversation

@kjgoodrick
Copy link
Contributor

Fixes #3921 by preserving timezone information during sanitization when it is included in datetime columns. With this change there is no impact on naive datetimes.

Test added to keep track of DST boundary cases.

@mattijn
Copy link
Contributor

mattijn commented Dec 17, 2025

Thanks for all the extra context in #3921, @kjgoodrick!

Since it is connect to the narwhals integration within altair, would you be willing to review this PR @MarcoGorelli?

Copy link
Contributor

@MarcoGorelli MarcoGorelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for the ping! nice and simple fix 👍

@mattijn mattijn enabled auto-merge (squash) December 17, 2025 14:41
@mattijn mattijn merged commit 6c0bf28 into vega:main Dec 17, 2025
15 checks passed
@mattijn
Copy link
Contributor

mattijn commented Dec 17, 2025

Thank you very much for this PR @kjgoodrick and review @MarcoGorelli!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Timezone information dropped from polars dataframe

3 participants