//! moment.js locale configuration
//! locale : Kyrgyz [ky]
//! author : Chyngyz Arystan uulu : https://github.com/chyngyz
import moment from '../moment';
var suffixes = {
0: '-??',
1: '-??',
2: '-??',
3: '-??',
4: '-??',
5: '-??',
6: '-??',
7: '-??',
8: '-??',
9: '-??',
10: '-??',
20: '-??',
30: '-??',
40: '-??',
50: '-??',
60: '-??',
70: '-??',
80: '-??',
90: '-??',
100: '-??'
};
export default moment.defineLocale('ky', {
months : '??????_???????_????_??????_???_????_????_??????_????????_???????_??????_???????'.split('_'),
monthsShort : '???_???_????_???_???_????_????_???_???_???_???_???'.split('_'),
weekdays : '????????_????????_????????_????????_????????_????_??????'.split('_'),
weekdaysShort : '???_???_???_???_???_???_???'.split('_'),
weekdaysMin : '??_??_??_??_??_??_??'.split('_'),
longDateFormat : {
LT : 'HH:mm',
LTS : 'HH:mm:ss',
L : 'DD.MM.YYYY',
LL : 'D MMMM YYYY',
LLL : 'D MMMM YYYY HH:mm',
LLLL : 'dddd, D MMMM YYYY HH:mm'
},
calendar : {
sameDay : '[????? ????] LT',
nextDay : '[????? ????] LT',
nextWeek : 'dddd [????] LT',
lastDay : '[???? ????] LT',
lastWeek : '[????? ???????] dddd [????] [????] LT',
sameElse : 'L'
},
relativeTime : {
future : '%s ??????',
past : '%s ?????',
s : '??????? ??????',
m : '??? ?????',
mm : '%d ?????',
h : '??? ????',
hh : '%d ????',
d : '??? ???',
dd : '%d ???',
M : '??? ??',
MM : '%d ??',
y : '??? ???',
yy : '%d ???'
},
dayOfMonthOrdinalParse: /\d{1,2}-(??|??|??|??)/,
ordinal : function (number) {
var a = number % 10,
b = number >= 100 ? 100 : null;
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
},
week : {
dow : 1, // Monday is the first day of the week.
doy : 7 // The week that contains Jan 1st is the first week of the year.
}
});
|