Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update v4_blocks.py #857

Merged
merged 2 commits into from
May 21, 2024
Merged

Conversation

chr-sy
Copy link
Contributor

@chr-sy chr-sy commented Apr 27, 2023

tz-naive datetimes should now be handled as required by the MDF spec: if the start_time setter function gets a tz-naive datetime, it produces a "local" timestamp which is converted to the exactly same tz-naive datetime by the getter function.

fixed local timestamps
changed timestamp calculation for local times in file history block,
fixed string representation of start_time
@danielhrisca danielhrisca merged commit e27b4b7 into danielhrisca:development May 21, 2024
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