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

Remove fake nanoseconds #188

Open
ptomato opened this issue Oct 12, 2022 · 0 comments
Open

Remove fake nanoseconds #188

ptomato opened this issue Oct 12, 2022 · 0 comments

Comments

@ptomato
Copy link
Contributor

ptomato commented Oct 12, 2022

Follow-up from #162 (comment)

Currently the "nanoseconds" in Temporal.Now.* are faked, since the current time is obtained from Date.now(). This was carried over from the Temporal proposal's reference polyfill. Since this polyfill is intended for production, we should remove the fake nanoseconds. There's probably some rollup transform that will give us process.hrtime in Node and a lower-precision equivalent in the browser.

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

No branches or pull requests

1 participant