Skip to content

refactor: pull TZ information out of acquisition_start_time#1714

Merged
dbirman merged 5 commits intodevfrom
1689-acquisitionacquisition_start_tz
Feb 4, 2026
Merged

refactor: pull TZ information out of acquisition_start_time#1714
dbirman merged 5 commits intodevfrom
1689-acquisitionacquisition_start_tz

Conversation

@dbirman
Copy link
Member

@dbirman dbirman commented Feb 3, 2026

This PR adds a new optional field Acquisition.acquisition_start_tz that is populated from a validator by pulling the timezone information out of the acquisition_start_time field. The validator runs in "after" mode because if a user passes a naive datetime it gets auto-coerced during object construction by the AwareDatetimeWithDefault class and we need to wait for that to happen.

@dbirman dbirman linked an issue Feb 3, 2026 that may be closed by this pull request
@dbirman dbirman force-pushed the 1689-acquisitionacquisition_start_tz branch from 10bb4f3 to 9f04ce8 Compare February 3, 2026 18:15
@dbirman dbirman requested review from dyf and saskiad February 3, 2026 19:01
@dbirman dbirman added this pull request to the merge queue Feb 4, 2026
Merged via the queue into dev with commit a7a520c Feb 4, 2026
5 checks passed
@dbirman dbirman deleted the 1689-acquisitionacquisition_start_tz branch February 4, 2026 06:12
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.

Acquisition.acquisition_start_tz

3 participants