Skip to content
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

timestamp types were incorrectly tagged as Nanos rather than strings #484

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

aricart
Copy link
Member

@aricart aricart commented Feb 21, 2023

[FIX] Added StoredMessage#timestamp returns the ISO message timestamp as provided by the server (#time() returns a Date object which will have lower precision)

[FIX] StreamInfo.created to be a string (was marked as Nanos), StreamState#first_ts to be a string.

Fixes nats-io/nats.js#556

…ovided by the server (time() returns a Date object which will have lower precision)

[FIX] fixed StreamInfo.created to be a `string` (was marked as Nanos), StreamState@first_ts to be a string.

Fixes nats-io/nats.js#556
@aricart aricart requested a review from scottf February 21, 2023 18:57
Copy link
Contributor

@scottf scottf left a comment

Choose a reason for hiding this comment

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

LGTM

@aricart aricart merged commit 2a085a1 into dev Feb 21, 2023
@aricart aricart deleted the timestamp branch February 21, 2023 19:21
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.

None yet

2 participants