From dd192a72fc5d26ce56481e89b0c1ccf5f939be0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Tessier?= Date: Fri, 12 Aug 2022 14:47:31 +0200 Subject: [PATCH] fix: wrong ordinal for french locale (#2010) --- src/locale/fr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/locale/fr.js b/src/locale/fr.js index e913b4aa7..be06169f6 100644 --- a/src/locale/fr.js +++ b/src/locale/fr.js @@ -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}` } }