Skip to content

Wrong Date Format for specifis Locales #57545

@KsavinN

Description

@KsavinN

Version

22.14

Platform

Darwin EXDL-HGM91VQXW4 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan  2 20:24:23 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6020 arm64

Subsystem

Intl

What steps will reproduce the bug?

Example of code:

const dateFormater = new Intl.DateTimeFormat('fi-FI', {day: 'numeric', month: 'short'});
console.log(dateFormater.format(new Date()));

22.14 and above version
output:
19.3.

22.4
output:
19. maalisk.

Expect that the formatted date will have a short Month, not a numeric

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

Just use a specific version of the node and locale ('fi-FI'). For different locales it seems work correctly

What is the expected behavior? Why is that the expected behavior?

Expect:
19. maalisk.

What do you see instead?

output:
19.3.

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateIssues and PRs that are duplicates of other issues or PRs.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