Skip to content

Fix unix timestamps#2135

Merged
timovv merged 5 commits intoAzure:mainfrom
timovv:fix-unix-timestamps
Nov 21, 2024
Merged

Fix unix timestamps#2135
timovv merged 5 commits intoAzure:mainfrom
timovv:fix-unix-timestamps

Conversation

@timovv
Copy link
Copy Markdown
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
Copy Markdown
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
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