Skip to content

Conversation

@addaleax
Copy link
Collaborator

  • Accept a Timestamp({ t: <number>, i: <number> }) signature
  • Reverse the order of arguments when two arguments are passed,
    i.e. Timestamp(t, i) instead of Timestamp(i, t), to match
    the legacy shell
  • Print Timestamps using the Timestamp({ t, i }) format

This should land together with the corresponding BSON package PR,
mongodb/js-bson#449.

addaleax added 2 commits July 30, 2021 13:10
- Accept a `Timestamp({ t: <number>, i: <number> })` signature
- Reverse the order of arguments when two arguments are passed,
  i.e. `Timestamp(t, i)` instead of `Timestamp(i, t)`, to match
  the legacy shell
- Print Timestamps using the `Timestamp({ t, i })` format

This should land together with the corresponding BSON package PR,
mongodb/js-bson#449.
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.

3 participants