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

new Date("YYYY-MM-DDThh:mm:ss") has different behaviour in version 8.9 #16957

Closed
mozi opened this issue Nov 11, 2017 · 1 comment
Closed

new Date("YYYY-MM-DDThh:mm:ss") has different behaviour in version 8.9 #16957

mozi opened this issue Nov 11, 2017 · 1 comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. question Issues that look for answers.

Comments

@mozi
Copy link

mozi commented Nov 11, 2017

  • 8.9.1:
  • 64-bit (Windows):

C:\>node -v

v6.9.4

C:\>node

new Date("2017-10-16T00:00:00")
2017-10-16T00:00:00.000Z

C:\>node -v

v8.9.1

C:\>node

new Date("2017-10-16T00:00:00")
2017-10-15T23:00:00.000Z

Not sure if this is related to the underlying VM or a Node issue, but surprised with the change in behaviour as this is a massive breaking change moving up from version 6.9.

@mscdex mscdex added question Issues that look for answers. duplicate Issues and PRs that are duplicates of other issues or PRs. labels Nov 11, 2017
@mscdex
Copy link
Contributor

mscdex commented Nov 11, 2017

Duplicate of #13210

@mscdex mscdex marked this as a duplicate of #13210 Nov 11, 2017
@mscdex mscdex closed this as completed Nov 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs. question Issues that look for answers.
Projects
None yet
Development

No branches or pull requests

2 participants