Skip to content

Commit

Permalink
fix: wrong ordinal for french locale
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément Tessier committed Aug 4, 2022
1 parent b5b7be1 commit 3d84e16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/locale/fr.js
Original file line number Diff line number Diff line change
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 3d84e16

Please sign in to comment.