Skip to content

Add support of timestamps in nanoseconds#365

Merged
adonovan merged 4 commits intogoogle:masterfrom
essobedo:364/support-nano-in-timestamp
Apr 6, 2021
Merged

Add support of timestamps in nanoseconds#365
adonovan merged 4 commits intogoogle:masterfrom
essobedo:364/support-nano-in-timestamp

Conversation

@essobedo
Copy link
Copy Markdown
Contributor

@essobedo essobedo commented Mar 20, 2021

fixes #364

Motivation

For many real life use cases, it is important to be a able to support timestamps expressed in nanoseconds.

Modifications:

  • Overloads the function from_timestamp to be able to set nanoseconds.
  • Fixes the documentation of the built in function from_timestamp
  • Improves the documentation (not related to this issue)
  • Adds a test for the function now since it was not covered by any tests (not related to this issue)

@essobedo
Copy link
Copy Markdown
Contributor Author

Hi @adonovan and @brandjon WDYT of this one?

@essobedo
Copy link
Copy Markdown
Contributor Author

Please note that I intentionally avoided to overload the function from_timestamp for clarity and simplicity

@essobedo essobedo requested a review from adonovan March 20, 2021 16:52
Copy link
Copy Markdown
Collaborator

@adonovan adonovan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@essobedo essobedo requested a review from adonovan March 22, 2021 18:17
Copy link
Copy Markdown
Collaborator

@adonovan adonovan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@brandjon LGTM, ready for you to merge.

@essobedo
Copy link
Copy Markdown
Contributor Author

@brandjon Is-this PR good enough to be merged?

@essobedo
Copy link
Copy Markdown
Contributor Author

essobedo commented Apr 2, 2021

@brandjon Could you please at least tell me if this project won't be maintained anymore? Because I wanted to work on #241 during my spare time, once this PR will be merged, if this project is no more supported/maintained I won't do it. Thank you in advance for your answer 🙏

@adonovan adonovan merged commit f54874d into google:master Apr 6, 2021
@brandjon
Copy link
Copy Markdown
Collaborator

brandjon commented Apr 6, 2021

Apologies for letting this slip. Alan has write access to this repo and I've confirmed with him that he can merge.

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.

Add support of timestamps in nanoseconds

4 participants