Skip to content

Commit

Permalink
fix: wrong ordinal for french locale (#2010)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctessier committed Aug 12, 2022
1 parent b5b7be1 commit dd192a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/locale/fr.js
Expand Up @@ -34,7 +34,7 @@ const locale = {
yy: '%d ans'
},
ordinal: (n) => {
const o = n === 1 ? 'er' : 'e'
const o = n === 1 ? 'er' : ''
return `${n}${o}`
}
}
Expand Down

0 comments on commit dd192a7

Please sign in to comment.