damccorm opened a new issue, #21660:
URL: https://github.com/apache/beam/issues/21660

   Code in org.apache.beam.sdk.io.gcp.datastore.EntityToRow class:
   ```
   
   com.google.protobuf.Timestamp time = val.getTimestampValue();
   long millis = time.getSeconds() * 1000
   + time.getNanos() / 1000;
   return Instant.ofEpochMilli(millis).toDateTime();
   ```
   
   1 millisecond = 1,000,000 nanoseconds
   
   Imported from Jira 
[BEAM-14541](https://issues.apache.org/jira/browse/BEAM-14541). Original Jira 
may contain additional context.
   Reported by: yixiaoshen.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to