Skip to content

Commit 5da98f8

Browse files
authored
fix: update Dutch [nl] locale ordinal (#1908)
#1907
1 parent 41b1405 commit 5da98f8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/locale/nl.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const locale = {
88
weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
99
months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
1010
monthsShort: 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
11-
ordinal: n => `${n}.`,
11+
ordinal: (n) => `${n}${n === 1 || n === 8 || n >= 20 ? 'ste' : 'de'}`,
1212
weekStart: 1,
1313
yearStart: 4,
1414
formats: {
@@ -33,7 +33,8 @@ const locale = {
3333
MM: '%d maanden',
3434
y: 'een jaar',
3535
yy: '%d jaar'
36-
}
36+
},
37+
3738
}
3839

3940
dayjs.locale(locale, null, true)

0 commit comments

Comments
 (0)