Skip to content

Preserve wall time when ignoring explicit numeric timezones - #71

Merged
mcarans merged 1 commit into
OCHA-DAP:mainfrom
AlvaroBalbin:fix/audit-OCHA-DAP-hdx-python-utilities-b6
Nov 29, 2026
Merged

mcarans merged 1 commit into
OCHA-DAP:mainfrom
AlvaroBalbin:fix/audit-OCHA-DAP-hdx-python-utilities-b6

Conversation

@AlvaroBalbin

Copy link
Copy Markdown
Contributor

I fixed explicit %z parsing to return naive datetimes without changing wall time when timezone_handling=1, covering both parse_date and parse_date_range. I used AI assistance and preserved the admitted regression tests unchanged; all 11 targeted tests and repository-wide Ruff checks pass. I could not complete build or full pre-commit checks within the read-only dependency environment because required tooling is missing.

The checks evaluated by the fork CI gate passed. This excludes skipped checks and checks filtered out for fork-only conditions.

AI-assisted contribution using OpenAI Codex.

@coveralls

Copy link
Copy Markdown

Coverage Status

coverage: 95.87% (+0.005%) from 95.865% — AlvaroBalbin:fix/audit-OCHA-DAP-hdx-python-utilities-b6 into OCHA-DAP:main

@mcarans mcarans left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks good. Thanks for the fix @AlvaroBalbin !

@mcarans
mcarans merged commit 81b3c9d into OCHA-DAP:main Nov 29, 2026
3 checks passed
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.

3 participants