We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
pb.Timestamp.Now() Seconds = {int64} 1614139173 Nanos = {int32} 948605000
after marshal Seconds = {int64} 1614139173 Nanos = {int32} 948000000
The text was updated successfully, but these errors were encountered:
Thanks,
if you want to fix it or find out how the loss of precision comes about, here are the marshal and unmarshal functions: https://github.com/romnn/bsonpb/blob/master/v2/well_known_types.go#L650.
I currently do not have the time to look into it.
Sorry, something went wrong.
OK, I found code. but not sure pb.Timestamp covert bson.Timestamp occurs something error.
No branches or pull requests
pb.Timestamp.Now()
Seconds = {int64} 1614139173
Nanos = {int32} 948605000
after marshal
Seconds = {int64} 1614139173
Nanos = {int32} 948000000
The text was updated successfully, but these errors were encountered: