williamtroup/Calendar.js

Remove "st", "nd", "rd" and "th" in translations

Closed this issue · 6 comments

Describe the bug
Some translations shouldn't use "st", "nd", "rd" and "th" in the numbers of the days.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://calendar-js.com/examples/translations.html
  2. See "st", "nd", "rd" and "th" in the numbers of the days.

Expected behavior
Day numbers should be "1", "2", "3", ... without "st", "nd", "rd" and "th".

Which translation file is this for?

spanish ant catalan at least.

Fixed and released in v2.10.16.

After updating it still shows "st", "nd", "rd", and "th"...

imatge

They are still present in the examples: https://calendar-js.com/examples/translations.html

Yes, I've discovered a small issue. Will get this fixed and issued in the next release.

I've just released v2.10.17 which fixes this issue, and fixes issues around other empty strings being used.