Skip to content

Fix issues with FractionalSeconds tests#547

Merged
kstich merged 1 commit intomainfrom
timestamp_fix
Jan 3, 2025
Merged

Fix issues with FractionalSeconds tests#547
kstich merged 1 commit intomainfrom
timestamp_fix

Conversation

@kstich
Copy link
Contributor

@kstich kstich commented Jan 2, 2025

This commit fixes a bug in ProtocolTestDocument that would truncate param values for timestamps given as decimal values. The serde behavior of the codecs was always correct, but the parsed value to compare to would not preserve the fractional seconds and comparisons would fail.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@kstich kstich requested a review from hpmellema January 2, 2025 22:43
This commit fixes a bug in ProtocolTestDocument that would truncate param
values for timestamps given as decimal values. The serde behavior of the
codecs was always correct, but the parsed value to compare to would not
preserve the fractional seconds and comparisons would fail.
@kstich kstich merged commit bcb0bc4 into main Jan 3, 2025
3 checks passed
@kstich kstich deleted the timestamp_fix branch January 3, 2025 04: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.

3 participants