-
-
Notifications
You must be signed in to change notification settings - Fork 33.8k
[v10.x] n-api: implement date object #28298
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
[v10.x] n-api: implement date object #28298
Conversation
doc/api/n-api.md
Outdated
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.
napiVersion shouldn't be set for experimental API's? #28330
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.
@richardlau OK, that'll have to be backported as well, then.
f029352 to
440570a
Compare
c940dc0 to
35be08a
Compare
|
@BethGriggs can you take a look to see if this should be in 10.16.1? |
|
@BethGriggs also can you remind me if we should have the |
|
@mhdawson, just trying to get a green CI/track down the failures before landing this one. We typically add the |
|
@BethGriggs thanks for the clarification. |
Implements `napi_create_date()` as well as `napi_is_date()` to allow working with JavaScript Date objects. PR-URL: nodejs#25917 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
440570a to
ce01f2f
Compare
|
Rebased. |
Implements `napi_create_date()` as well as `napi_is_date()` to allow working with JavaScript Date objects. Backport-PR-URL: #28298 PR-URL: #25917 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
|
Landed on |
Implements
napi_create_date()as well asnapi_is_date()toallow working with JavaScript Date objects.
PR-URL: #25917
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes