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 duration casts #151

Merged
merged 1 commit into from
Dec 7, 2022
Merged

Fix duration casts #151

merged 1 commit into from
Dec 7, 2022

Conversation

kuhar
Copy link
Contributor

@kuhar kuhar commented Dec 7, 2022

Do not assume that the underlying clock precision is nanoseconds. Use regex to match timestamps in unit test to avoid inherent fp precision differences.

Fixes: #148

Do not assume that the underlying clock precision is nanoseconds.
Use regex to match timestamps in unit test to avoid inherent fp precision
differences.

Fixes: google#148
@kuhar kuhar merged commit 37d1af1 into google:main Dec 7, 2022
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.

Handle time conversions from constants.
2 participants