镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

toLocaleDateString not working as expected on latest node 18 #46162

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

Activity

  1. bnoordhuis commented on Jan 10, 2023

    @bnoordhuis
    Member

    Duplicate of #45945. Not considered a bug.

  2. added
    duplicateIssues and PRs that are duplicates of other issues or PRs.
    icuIssues and PRs related to the ICU dependency.
    on Jan 10, 2023
  3. keepitterron commented on Jan 10, 2023

    @keepitterron
    Author

    I should've looked for a similar issue first. thanks!

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

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