-
Notifications
You must be signed in to change notification settings - Fork 11
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
More GRPC Docs #611
More GRPC Docs #611
Conversation
@@ -327,7 +327,7 @@ export type Exact<P, I extends P> = P extends Builtin ? P | |||
|
|||
function toTimestamp(dateStr: string): Timestamp { | |||
const date = new globalThis.Date(dateStr); | |||
const seconds = date.getTime() / 1_000; | |||
const seconds = Math.trunc(date.getTime() / 1_000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this changed? Did someone change the protoc
version?
@@ -1016,7 +1016,7 @@ export type Exact<P, I extends P> = P extends Builtin ? P | |||
|
|||
function toTimestamp(dateStr: string): Timestamp { | |||
const date = new globalThis.Date(dateStr); | |||
const seconds = date.getTime() / 1_000; | |||
const seconds = Math.trunc(date.getTime() / 1_000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a protoc
version change. Weird. @sauljabin any ideas?
Co-authored by: Eduwer Camacaro <[email protected]>
Team, this is ready to go. @eduwercamacaro remember when we were on zoom, we made a small change to I reverted that change, so this PR is strictly a docs PR. But we need to fix that. |
No description provided.