-
Notifications
You must be signed in to change notification settings - Fork 30.5k
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
[v8.x] n-api: implement date object #28301
[v8.x] n-api: implement date object #28301
Conversation
#### napi_create_date | ||
<!-- YAML | ||
added: REPLACEME | ||
napiVersion: 4 |
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.
We need to land this as is and then backport #28330.
@gabrielschulhof I assume that is to keep future backports as clean as possible? |
@mhdawson yes. |
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>
b9f6ddc
to
fb4786e
Compare
Rebased. |
v8.x will receive no further minor releases. |
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