Skip to content
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

src: fix localtime in case NaN is passed #76

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

santigimeno
Copy link
Contributor

  • Check for the validity of the argument in JS-land.
  • The test localtime() in exports.js was failing because struct tm *timeinfo in
    NAN_METHOD(Localtime) was being created correctly.

- Check for the validity of the argument in JS-land.
- The test localtime() in exports.js was failing because struct tm *timeinfo in
  NAN_METHOD(Localtime) was being created correctly.
@addaleax
Copy link

@TooTallNate Any chance this could be merged and released? It’s been a couple years… :)

targos added a commit to targos/citgm that referenced this pull request Dec 15, 2018
Waiting for the fix to land and be in a release.

Refs: TooTallNate/node-time#76
targos added a commit to nodejs/citgm that referenced this pull request Dec 15, 2018
Waiting for the fix to land and be in a release.

Refs: TooTallNate/node-time#76
@BridgeAR
Copy link

Ping @TooTallNate PTAL!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants