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 unix timestamps #2135

Merged
merged 5 commits into from
Nov 21, 2024
Merged

Fix unix timestamps #2135

merged 5 commits into from
Nov 21, 2024

Conversation

timovv
Copy link
Member

@timovv timovv commented Nov 20, 2023

JS timestamps are in milliseconds from the epoch by default whereas standard Unix timestamps are in seconds. This PR changes the code to divide/multiply by 1000 for the conversion

@microsoft-github-policy-service microsoft-github-policy-service bot removed the no-recent-activity There has been no recent activity on this issue. label Nov 19, 2024
@timovv timovv added no-recent-activity There has been no recent activity on this issue. and removed no-recent-activity There has been no recent activity on this issue. labels Nov 19, 2024
@timovv timovv marked this pull request as ready for review November 19, 2024 21:51
Copy link
Member

@maorleger maorleger left a comment

Choose a reason for hiding this comment

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

LGTM. One nit about the bitwise or usage but totally up to you!

@timovv timovv merged commit efd7070 into Azure:main Nov 21, 2024
15 checks passed
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