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

output format of toLocaleString of Date changed in v10.3.0? #21162

Closed
liuchong opened this issue Jun 6, 2018 · 3 comments
Closed

output format of toLocaleString of Date changed in v10.3.0? #21162

liuchong opened this issue Jun 6, 2018 · 3 comments
Labels
duplicate Issues and PRs that are duplicates of other issues or PRs.

Comments

@liuchong
Copy link

liuchong commented Jun 6, 2018

When I use a new Date().toLocaleString(), I've found the format is different with before:

> process.version
'v10.2.1'
> new Date().toLocaleString()
'2018-6-6 12:38:23'
> process.version
'v10.3.0'
> new Date().toLocaleString()
'6/6/2018, 12:38:38 PM'

I did not find any thing about it in changelog, anything I'm missing?

@richardlau richardlau added the duplicate Issues and PRs that are duplicates of other issues or PRs. label Jun 6, 2018
@richardlau
Copy link
Member

See #21053.

@ryzokuken
Copy link
Contributor

As @richardlau pointed out, this is a duplicate of #21053. Because there's a lot more happening over there, I'm closing this in favor of that one, please get involved in the discussion over at that issue, and feel free to reopen this later if you think that's appropriate.

@liuchong
Copy link
Author

liuchong commented Jun 6, 2018

Thanks 💯

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.
Projects
None yet
Development

No branches or pull requests

3 participants