Skip to content

Commit

Permalink
fix: fix French [fr] local ordinal (iamkun#1932)
Browse files Browse the repository at this point in the history
Co-authored-by: iamkun <kunhello@outlook.com>
  • Loading branch information
R3tep and iamkun authored Jun 11, 2022
1 parent 7b4a99c commit 8f09834
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' : ''
const o = n === 1 ? 'er' : 'e'
return `${n}${o}`
}
}
Expand Down

0 comments on commit 8f09834

Please sign in to comment.