dayjs icon indicating copy to clipboard operation
dayjs copied to clipboard

fix: ordinal for nl not working

Open ctessier opened this issue 3 years ago • 0 comments

In dutch locale, the ordinal doesn't show properly, some letters get interpreted.

Before the fix: :x:

dayjs().locale('nl').format('Do'); // 44e
dayjs('2022-08-23').locale('nl').format('Do'); // 230te

After the fix: :heavy_check_mark:

dayjs().locale('nl').format('Do'); // 4de
dayjs('2022-08-23').locale('nl').format('Do'); // 23ste

ctessier avatar Aug 04 '22 13:08 ctessier