-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
[v10.x] n-api: implement date object #28298
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.
@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 <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
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 <[email protected]> Reviewed-By: Michael Dawson <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
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