Skip to content

Date parse behavior change in node-v8 ? #13210

Closed
@c0b

Description

this is the latest v8 nightly: it parses as a local timestamp:

➸ ./opt/node-v8.0.0-nightly20170524260cd411d4-linux-x64/bin/node -p 'new Date("2017-05-24T00:00:00")'
2017-05-24T07:00:00.000Z

vs. v7 and v6 below parse the same string always as UTC

➸ ./opt/node-v7.10.0-linux-x64/bin/node -p 'new Date("2017-05-24T00:00:00")'
2017-05-24T00:00:00.000Z

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    notable-changePRs with changes that should be highlighted in changelogs.questionIssues that look for answers.v8 engineIssues and PRs related to the V8 dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions