Skip to content

Conversation

@gabrielschulhof
Copy link
Contributor

Implements napi_create_date() as well as napi_is_date() to
allow working with JavaScript Date objects.

PR-URL: #25917

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. v10.x labels Jun 19, 2019
@gabrielschulhof gabrielschulhof added the node-api Issues and PRs related to the Node-API. label Jun 19, 2019
doc/api/n-api.md Outdated
Copy link
Member

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

Copy link
Contributor Author

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.

@gabrielschulhof gabrielschulhof force-pushed the backport-25917-to-v10.x branch 2 times, most recently from f029352 to 440570a Compare June 25, 2019 19:28
@nodejs-github-bot
Copy link
Collaborator

@mhdawson
Copy link
Member

@BethGriggs can you take a look to see if this should be in 10.16.1?

@mhdawson
Copy link
Member

@BethGriggs also can you remind me if we should have the backported-to-10.x label on this once the PR is ready or is that added once it is landed in the older stream?

@BethGriggs
Copy link
Member

@mhdawson, just trying to get a green CI/track down the failures before landing this one.

We typically add the land-on-v10.x label once the backport PR has landed on the staging branch, whereas the backported-to-v10.x label would be added to the original PR that landed on master.

@nodejs-github-bot
Copy link
Collaborator

@nodejs-github-bot
Copy link
Collaborator

@mhdawson
Copy link
Member

@BethGriggs thanks for the clarification.

@nodejs-github-bot
Copy link
Collaborator

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>
@gabrielschulhof
Copy link
Contributor Author

Rebased.

BethGriggs pushed a commit that referenced this pull request Sep 3, 2019
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>
@BethGriggs
Copy link
Member

Landed on v10.x-staging

@BethGriggs BethGriggs closed this Sep 3, 2019
@gabrielschulhof gabrielschulhof deleted the backport-25917-to-v10.x branch March 13, 2020 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c++ Issues and PRs that require attention from people who are familiar with C++. lib / src Issues and PRs related to general changes in the lib or src directory. node-api Issues and PRs related to the Node-API.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants