-
-
Notifications
You must be signed in to change notification settings - Fork 406
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
[Merged by Bors] - Add hooks to get the current time and timezone #2824
Conversation
Test262 conformance changes
Fixed tests (2):
|
Codecov Report
@@ Coverage Diff @@
## main #2824 +/- ##
==========================================
+ Coverage 51.32% 51.38% +0.06%
==========================================
Files 417 417
Lines 41356 41330 -26
==========================================
+ Hits 21224 21238 +14
+ Misses 20132 20092 -40
... and 12 files with indirect coverage changes Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks great to me :) Let's wait for @lastmjs to give some feedback on wether this is good enough for him to use the upstream Boa.
Co-authored-by: Iban Eguia Moraza <razican@protonmail.ch>
I will try this out now and let you know |
I can confirm this works, all of our tests have passed. We're now on upstream Boa with this branch, and will be on main once this is merged :) Thanks so much, this is just great. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me! Lets get this merged! :)
bors r+ |
This Pull Request changes the following: - Adds two new hooks to `HostHooks` to access the current UTC time and the current timezone offset. - Replaces usages of `Local` with the host hook. - Replaces usages of `Utc::now` and `Local::now` with the hooks. cc @lastmjs
Pull request successfully merged into main. Build succeeded: |
This Pull Request changes the following:
HostHooks
to access the current UTC time and the current timezone offset.Local
with the host hook.Utc::now
andLocal::now
with the hooks.cc @lastmjs