date-format icon indicating copy to clipboard operation
date-format copied to clipboard

French suffix of days

Open Pafzedog opened this issue 4 years ago • 0 comments

Hello,

I think there is a mistake with dayOfMonthSuffix for french language. In french, only the first day of the month need the suffix "er", all the others are just left as it. It seems that you add "e" as suffix for all the other days.

toFrenchOrdinalSuffix : Int -> String
toFrenchOrdinalSuffix n =
    if n == 1 then
        "er"

    else
        "e"

Pafzedog avatar Jul 01 '20 22:07 Pafzedog