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

Avoid COM dates that end up with ms=1000, instead rounding to the nex… #1683

Merged
merged 1 commit into from May 7, 2021

Conversation

mhammond
Copy link
Owner

…t second. Fixes #1655.

Thanks for the repro @hujiaxing! However, instead of truncating the ms to 999.0 I instead rounded up to the next second. Does that look correct to you? Note also that you should be able to get builds from this PR to test if you are keen by following the links to the CI (ie, test) runs and looking for the "artifacts".

@mhammond
Copy link
Owner Author

mhammond commented Apr 1, 2021

doh - 1.0 is a day - I'll push up a fix

@bardal
Copy link

bardal commented May 6, 2021

I downloaded the wheel file from this branch. The ValueError Exception is no longer thrown and times appear correct to me.

@mhammond mhammond merged commit 5f1028f into master May 7, 2021
@mhammond mhammond deleted the fix-large-ms branch May 7, 2021 02:59
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.

fix bug: microsecond must be in 0..999999
2 participants