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

jsonpb: fix marshaling of Duration #885

Merged
merged 1 commit into from
Jul 1, 2019
Merged

jsonpb: fix marshaling of Duration #885

merged 1 commit into from
Jul 1, 2019

Conversation

cybrcodr
Copy link
Contributor

@cybrcodr cybrcodr commented Jun 28, 2019

Fix output for negative nanoseconds with zero second.
Add validation on min/max seconds.

Fixes #883

Fix output for negative nanoseconds with zero second.
Add validation on min/max seconds.
@cybrcodr cybrcodr requested a review from dsnet June 29, 2019 03:50
@cybrcodr cybrcodr merged commit 6c65a55 into master Jul 1, 2019
@dsnet dsnet deleted the jsonpb branch July 8, 2019 07:28
@golang golang locked and limited conversation to collaborators Jun 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

jsonpb: unexpected output for small negative google.protobuf.Duration
3 participants