Skip to content

Wrong translation for French. #1391

@Dallas62

Description

@Dallas62

Hi!

When we use the format iiii do MMMM yyyy, we should have this translation:

"Jeudi 1er août 2019" and "Jeudi 29 août 2019"
but we have:
"Jeudi 1er août 2019" and "Jeudi 29ème août 2019"

There is an extra "ième" when the day is greater than 1, this should not happen.

src/locale/fr/_lib/formatters/index.js is not included / loaded and use the wrong format (Do instead of do). I didn't know how to do it. formatters is not used when I place it in the locale... and the engine seems to ignore it...

It does not break the functionalities but it's a bad "experience" for users... I can replace it if French, but... 😄

Regards

EDIT:
New link in v3: https://github.com/date-fns/date-fns/blob/main/src/_lib/format/formatters/index.ts#L317

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions