@Bek This should fix it: https://github.com/flarum/core/pull/967
Incidentally ... I'm guessing that you copied your config.js
file from another language pack and edited it?
Your file has:
ordinalParse: /\d{1,2}(er|)/,
ordinal : function (number) {
return number + (number === 1 ? 'er' : '');
},
The Moment.js file for Turkish has:
ordinalParse: /\d{1,2}'(inci|nci|üncü|ncı|uncu|ıncı)/,
ordinal : function (number) {
if (number === 0) { // special case for zero
return number + '\'ıncı';
}
var a = number % 10,
b = number % 100 - a,
c = number >= 100 ? 100 : null;
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
},
You may want to check that section and modify it if necessary.