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

Fix: TimeDelta Precision Errors #1867

Merged
merged 3 commits into from
Oct 17, 2021

Conversation

deckar01
Copy link
Member

@deckar01 deckar01 commented Aug 20, 2021

Use microsecond integer arithmetic to fix high precision timedelta errors.

Fixes #1865

src/marshmallow/fields.py Outdated Show resolved Hide resolved
@deckar01 deckar01 force-pushed the 1865-timedelta-rounding branch from df99e19 to 4cb3b71 Compare August 24, 2021 16:36
@deckar01 deckar01 force-pushed the 1865-timedelta-rounding branch from 4cb3b71 to 5066013 Compare August 24, 2021 16:48
@sloria sloria enabled auto-merge (squash) October 17, 2021 18:26
@sloria sloria merged commit d2a0cdb into marshmallow-code:dev Oct 17, 2021
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.

TimeDelta serialization precision
3 participants