Skip to content

Commit dd192a7

Browse files
authored
fix: wrong ordinal for french locale (iamkun#2010)
1 parent b5b7be1 commit dd192a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/locale/fr.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const locale = {
3434
yy: '%d ans'
3535
},
3636
ordinal: (n) => {
37-
const o = n === 1 ? 'er' : 'e'
37+
const o = n === 1 ? 'er' : ''
3838
return `${n}${o}`
3939
}
4040
}

0 commit comments

Comments
 (0)