Skip to content

Fix datetime with timezone regression #1038

Merged
bimalkjha merged 1 commit intoibmdb:masterfrom
Earammak:ts_regression
Nov 17, 2025
Merged

Fix datetime with timezone regression #1038
bimalkjha merged 1 commit intoibmdb:masterfrom
Earammak:ts_regression

Conversation

@Earammak
Copy link
Collaborator

Support for TIMESTAMP WITH TIME ZONE was added in the last release for z/OS.
After this change, inserting timezone‑aware datetime values on LUW resulted in
overflow errors because the timezone part was being processed even though LUW
does not support TIMESTAMP WITH TIME ZONE natively.

The timezone part should not be applied for LUW. When processing datetime objects with tzinfo gives datetime overflow error.
And for zos, timestamp case timezone part should ignored. For timestamp with timezone case datetime with timezone processed.

Added fix that timezone part should be ignored for luw and should not throw error datetime overflow error.

#1030

@bimalkjha bimalkjha merged commit c81ee4f into ibmdb:master Nov 17, 2025
1 check passed
@Earammak Earammak deleted the ts_regression branch December 2, 2025 06:37
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.

2 participants