Skip to content

toLocaleDateString not working as expected on latest node 18 #46162

Closed
@keepitterron

Description

@keepitterron

Version

v18.13.0

Platform

Darwin Kernel Version 22.1.0

Subsystem

No response

What steps will reproduce the bug?

new Date().toLocaleDateString('en-CA')

How often does it reproduce? Is there a required condition?

always

What is the expected behavior?

2023-01-10 (browser and node until 18.12.x)

What do you see instead?

1/10/2023

Additional information

This looks related to the ICU update to 72.1
#45068 cc @targo

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssues and PRs that are duplicates of other issues or PRs.icuIssues and PRs related to the ICU dependency.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions