2017-04-20 12:24:20 +08:00
|
|
|
|
//! moment.js locale configuration
|
2020-11-11 09:34:26 +08:00
|
|
|
|
//! locale : Kyrgyz [ky]
|
|
|
|
|
//! author : Chyngyz Arystan uulu : https://github.com/chyngyz
|
2017-04-20 12:24:20 +08:00
|
|
|
|
|
|
|
|
|
;(function (global, factory) {
|
|
|
|
|
typeof exports === 'object' && typeof module !== 'undefined'
|
|
|
|
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
|
|
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
|
|
|
factory(global.moment)
|
|
|
|
|
}(this, (function (moment) { 'use strict';
|
|
|
|
|
|
2020-11-11 09:34:26 +08:00
|
|
|
|
//! moment.js locale configuration
|
2017-04-20 12:24:20 +08:00
|
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
|
var suffixes = {
|
|
|
|
|
0: '-чү',
|
|
|
|
|
1: '-чи',
|
|
|
|
|
2: '-чи',
|
|
|
|
|
3: '-чү',
|
|
|
|
|
4: '-чү',
|
|
|
|
|
5: '-чи',
|
|
|
|
|
6: '-чы',
|
|
|
|
|
7: '-чи',
|
|
|
|
|
8: '-чи',
|
|
|
|
|
9: '-чу',
|
|
|
|
|
10: '-чу',
|
|
|
|
|
20: '-чы',
|
|
|
|
|
30: '-чу',
|
|
|
|
|
40: '-чы',
|
|
|
|
|
50: '-чү',
|
|
|
|
|
60: '-чы',
|
|
|
|
|
70: '-чи',
|
|
|
|
|
80: '-чи',
|
|
|
|
|
90: '-чу',
|
2020-11-11 09:34:26 +08:00
|
|
|
|
100: '-чү',
|
2018-04-26 15:15:53 +08:00
|
|
|
|
};
|
2017-04-20 12:24:20 +08:00
|
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
|
var ky = moment.defineLocale('ky', {
|
2020-11-11 09:34:26 +08:00
|
|
|
|
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',
|
2018-04-26 15:15:53 +08:00
|
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
|
calendar: {
|
|
|
|
|
sameDay: '[Бүгүн саат] LT',
|
|
|
|
|
nextDay: '[Эртең саат] LT',
|
|
|
|
|
nextWeek: 'dddd [саат] LT',
|
|
|
|
|
lastDay: '[Кечээ саат] LT',
|
|
|
|
|
lastWeek: '[Өткөн аптанын] dddd [күнү] [саат] LT',
|
|
|
|
|
sameElse: 'L',
|
2018-04-26 15:15:53 +08:00
|
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
|
relativeTime: {
|
|
|
|
|
future: '%s ичинде',
|
|
|
|
|
past: '%s мурун',
|
|
|
|
|
s: 'бирнече секунд',
|
|
|
|
|
ss: '%d секунд',
|
|
|
|
|
m: 'бир мүнөт',
|
|
|
|
|
mm: '%d мүнөт',
|
|
|
|
|
h: 'бир саат',
|
|
|
|
|
hh: '%d саат',
|
|
|
|
|
d: 'бир күн',
|
|
|
|
|
dd: '%d күн',
|
|
|
|
|
M: 'бир ай',
|
|
|
|
|
MM: '%d ай',
|
|
|
|
|
y: 'бир жыл',
|
|
|
|
|
yy: '%d жыл',
|
2018-04-26 15:15:53 +08:00
|
|
|
|
},
|
|
|
|
|
dayOfMonthOrdinalParse: /\d{1,2}-(чи|чы|чү|чу)/,
|
2020-11-11 09:34:26 +08:00
|
|
|
|
ordinal: function (number) {
|
2018-04-26 15:15:53 +08:00
|
|
|
|
var a = number % 10,
|
|
|
|
|
b = number >= 100 ? 100 : null;
|
|
|
|
|
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
|
|
|
|
},
|
2020-11-11 09:34:26 +08:00
|
|
|
|
week: {
|
|
|
|
|
dow: 1, // Monday is the first day of the week.
|
|
|
|
|
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
|
|
|
},
|
2018-04-26 15:15:53 +08:00
|
|
|
|
});
|
2017-04-20 12:24:20 +08:00
|
|
|
|
|
2018-04-26 15:15:53 +08:00
|
|
|
|
return ky;
|
2017-04-20 12:24:20 +08:00
|
|
|
|
|
|
|
|
|
})));
|