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

Fix inherited timestamps sometimes being in seconds since epoch #347

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

AlexGodbehere
Copy link
Contributor

The Sparkplug specification requries all timestamps to be in milliseconds. This converts them if they are in seconds.

Consolidated log import and formatted long conditions for better readability. Implemented timestamp conversion to ensure consistency with upstream expectations of milliseconds format by detecting and converting from seconds if necessary.
@AlexGodbehere AlexGodbehere added the bug Something isn't working label Oct 1, 2024
@AlexGodbehere AlexGodbehere merged commit 8f04454 into main Oct 1, 2024
1 check passed
@AlexGodbehere AlexGodbehere deleted the fix-inherited-timestamp-bug-from-rest branch October 1, 2024 13:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants