Skip to content

Change in behavior of Date.toLocaleDateString() in version 4.2.3 #4159

Closed
@scottbrady

Description

@scottbrady

I upgraded from version 4.2.2 to version 4.2.3 and noticed a change in the behavior of toLocaleDateString.

This code returns a different string between the two versions:

new Date('2014/09/05').toLocaleDateString()

4.2.2: Friday, September 05, 2014
4.2.3: 9/5/2014

I don't see any notes in the changelog that would suggest this behavior would change.

I'm installing nodejs on Ubuntu Precise using the packages from NodeSource.

Metadata

Metadata

Assignees

No one assigned

    Labels

    i18n-apiIssues and PRs related to the i18n implementation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions