-
Notifications
You must be signed in to change notification settings - Fork 0
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
das2stream misformat around time with zero milliseconds #16
Comments
jbfaden
added a commit
that referenced
this issue
Jun 21, 2021
condition where rounding leads to -1 in 7th field. Really all this old code needs to be re-written.
The solution here is to check for -1 where the rounding takes it down a microsecond, and call it zero. The code still has awkward floating-point seconds and integer sub-seconds, and this needs a more thorough review. But the immediate problem is resolved. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sadie showed where a das2stream could be produced containing times like "2017-11-27T12:20:12.-00". This is when the milliseconds are nearly 0. To demo the bug:
The text was updated successfully, but these errors were encountered: