Skip to content

feat: support timezones in type coercion#7

Merged
weiliddat merged 2 commits intomainfrom
feat/datetime-with-date-string/sg
Jan 3, 2026
Merged

feat: support timezones in type coercion#7
weiliddat merged 2 commits intomainfrom
feat/datetime-with-date-string/sg

Conversation

@gersmann
Copy link
Collaborator

@gersmann gersmann commented Jan 2, 2026

Current type coercion logic does not consider if LHS/RHS are timezone-aware or not. This PR would make mgqpy adapt the timezone of the 'coerced' value to the timezone of the compare-target.

@codecov
Copy link

codecov bot commented Jan 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (f81c115) to head (cf1b69c).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #7   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           14        14           
  Lines          552       559    +7     
=========================================
+ Hits           552       559    +7     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@gersmann gersmann force-pushed the feat/datetime-with-date-string/sg branch from 6d9da84 to cf1b69c Compare January 2, 2026 12:40
Copy link
Owner

@weiliddat weiliddat left a comment

Choose a reason for hiding this comment

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

Makes sense! Just have 1-2 test cases to add.

@weiliddat weiliddat merged commit 4304bda into main Jan 3, 2026
4 checks passed
@weiliddat weiliddat deleted the feat/datetime-with-date-string/sg branch January 3, 2026 11:23
@weiliddat
Copy link
Owner

@gersmann released version 0.8.0

@gersmann
Copy link
Collaborator Author

gersmann commented Jan 5, 2026

Thx, @weiliddat, happy new year!

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