Skip to content

Conversation

simolus3
Copy link
Contributor

When the Rust client exports timestamps for the sync status, they're encoded as UTC seconds. new Date expects milliseconds though, and so the reported time used to be close to 1970 instead of the actual time.

@simolus3 simolus3 requested a review from stevensJourney June 30, 2025 17:33
Copy link

changeset-bot bot commented Jun 30, 2025

🦋 Changeset detected

Latest commit: 4ae48ce

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 7 packages
Name Type
@powersync/common Patch
@powersync/node Patch
@powersync/web Patch
@powersync/react-native Patch
@powersync/op-sqlite Patch
@powersync/tanstack-react-query Patch
@powersync/diagnostics-app Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

stevensJourney
stevensJourney previously approved these changes Jul 1, 2025
@simolus3 simolus3 merged commit 48e7456 into main Jul 1, 2025
9 of 14 checks passed
@simolus3 simolus3 deleted the rust-timestamp-encoding branch July 1, 2025 15:55
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.

2 participants