momentjs-rails 2.29.4 → 2.29.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/news.md +3 -0
- data/vendor/assets/javascripts/moment/af.js +77 -66
- data/vendor/assets/javascripts/moment/ar-dz.js +156 -145
- data/vendor/assets/javascripts/moment/ar-kw.js +59 -48
- data/vendor/assets/javascripts/moment/ar-ly.js +175 -164
- data/vendor/assets/javascripts/moment/ar-ma.js +59 -48
- data/vendor/assets/javascripts/moment/ar-sa.js +108 -97
- data/vendor/assets/javascripts/moment/ar-tn.js +59 -48
- data/vendor/assets/javascripts/moment/ar.js +191 -180
- data/vendor/assets/javascripts/moment/az.js +105 -94
- data/vendor/assets/javascripts/moment/be.js +137 -126
- data/vendor/assets/javascripts/moment/bg.js +91 -80
- data/vendor/assets/javascripts/moment/bm.js +57 -47
- data/vendor/assets/javascripts/moment/bn-bd.js +130 -119
- data/vendor/assets/javascripts/moment/bn.js +122 -111
- data/vendor/assets/javascripts/moment/bo.js +125 -114
- data/vendor/assets/javascripts/moment/br.js +165 -154
- data/vendor/assets/javascripts/moment/bs.js +149 -138
- data/vendor/assets/javascripts/moment/ca.js +99 -88
- data/vendor/assets/javascripts/moment/cs.js +179 -168
- data/vendor/assets/javascripts/moment/cv.js +66 -55
- data/vendor/assets/javascripts/moment/cy.js +100 -89
- data/vendor/assets/javascripts/moment/da.js +59 -48
- data/vendor/assets/javascripts/moment/de-at.js +79 -68
- data/vendor/assets/javascripts/moment/de-ch.js +78 -69
- data/vendor/assets/javascripts/moment/de.js +79 -68
- data/vendor/assets/javascripts/moment/dv.js +95 -84
- data/vendor/assets/javascripts/moment/el.js +107 -96
- data/vendor/assets/javascripts/moment/en-au.js +74 -63
- data/vendor/assets/javascripts/moment/en-ca.js +70 -59
- data/vendor/assets/javascripts/moment/en-gb.js +74 -63
- data/vendor/assets/javascripts/moment/en-ie.js +74 -63
- data/vendor/assets/javascripts/moment/en-il.js +70 -59
- data/vendor/assets/javascripts/moment/en-in.js +74 -63
- data/vendor/assets/javascripts/moment/en-nz.js +74 -63
- data/vendor/assets/javascripts/moment/en-sg.js +74 -63
- data/vendor/assets/javascripts/moment/eo.js +71 -60
- data/vendor/assets/javascripts/moment/es-do.js +108 -97
- data/vendor/assets/javascripts/moment/es-mx.js +109 -98
- data/vendor/assets/javascripts/moment/es-us.js +108 -97
- data/vendor/assets/javascripts/moment/es.js +109 -98
- data/vendor/assets/javascripts/moment/et.js +79 -68
- data/vendor/assets/javascripts/moment/eu.js +69 -58
- data/vendor/assets/javascripts/moment/fa.js +116 -105
- data/vendor/assets/javascripts/moment/fi.js +126 -115
- data/vendor/assets/javascripts/moment/fil.js +63 -52
- data/vendor/assets/javascripts/moment/fo.js +60 -49
- data/vendor/assets/javascripts/moment/fr-ca.js +73 -62
- data/vendor/assets/javascripts/moment/fr-ch.js +77 -66
- data/vendor/assets/javascripts/moment/fr.js +109 -98
- data/vendor/assets/javascripts/moment/fy.js +80 -69
- data/vendor/assets/javascripts/moment/ga.js +100 -89
- data/vendor/assets/javascripts/moment/gd.js +100 -89
- data/vendor/assets/javascripts/moment/gl.js +75 -64
- data/vendor/assets/javascripts/moment/gom-deva.js +129 -118
- data/vendor/assets/javascripts/moment/gom-latn.js +127 -116
- data/vendor/assets/javascripts/moment/gu.js +125 -114
- data/vendor/assets/javascripts/moment/he.js +93 -82
- data/vendor/assets/javascripts/moment/hi.js +165 -154
- data/vendor/assets/javascripts/moment/hr.js +154 -143
- data/vendor/assets/javascripts/moment/hu.js +117 -106
- data/vendor/assets/javascripts/moment/hy-am.js +96 -85
- data/vendor/assets/javascripts/moment/id.js +81 -70
- data/vendor/assets/javascripts/moment/is.js +136 -125
- data/vendor/assets/javascripts/moment/it-ch.js +68 -57
- data/vendor/assets/javascripts/moment/it.js +106 -95
- data/vendor/assets/javascripts/moment/ja.js +146 -135
- data/vendor/assets/javascripts/moment/jv.js +81 -70
- data/vendor/assets/javascripts/moment/ka.js +91 -80
- data/vendor/assets/javascripts/moment/kk.js +87 -76
- data/vendor/assets/javascripts/moment/km.js +106 -95
- data/vendor/assets/javascripts/moment/kn.js +127 -116
- data/vendor/assets/javascripts/moment/ko.js +80 -69
- data/vendor/assets/javascripts/moment/ku.js +123 -112
- data/vendor/assets/javascripts/moment/ky.js +89 -78
- data/vendor/assets/javascripts/moment/lb.js +132 -121
- data/vendor/assets/javascripts/moment/lo.js +70 -59
- data/vendor/assets/javascripts/moment/lt.js +123 -112
- data/vendor/assets/javascripts/moment/lv.js +95 -84
- data/vendor/assets/javascripts/moment/me.js +119 -108
- data/vendor/assets/javascripts/moment/mi.js +64 -53
- data/vendor/assets/javascripts/moment/mk.js +90 -78
- data/vendor/assets/javascripts/moment/ml.js +86 -75
- data/vendor/assets/javascripts/moment/mn.js +101 -90
- data/vendor/assets/javascripts/moment/mr.js +202 -191
- data/vendor/assets/javascripts/moment/ms-my.js +81 -70
- data/vendor/assets/javascripts/moment/ms.js +81 -70
- data/vendor/assets/javascripts/moment/mt.js +60 -49
- data/vendor/assets/javascripts/moment/my.js +93 -82
- data/vendor/assets/javascripts/moment/nb.js +64 -53
- data/vendor/assets/javascripts/moment/ne.js +124 -113
- data/vendor/assets/javascripts/moment/nl-be.js +103 -92
- data/vendor/assets/javascripts/moment/nl.js +105 -94
- data/vendor/assets/javascripts/moment/nn.js +64 -53
- data/vendor/assets/javascripts/moment/oc-lnc.js +87 -76
- data/vendor/assets/javascripts/moment/pa-in.js +125 -114
- data/vendor/assets/javascripts/moment/pl.js +138 -127
- data/vendor/assets/javascripts/moment/pt-br.js +61 -50
- data/vendor/assets/javascripts/moment/pt.js +66 -55
- data/vendor/assets/javascripts/moment/ro.js +76 -65
- data/vendor/assets/javascripts/moment/ru.js +198 -187
- data/vendor/assets/javascripts/moment/sd.js +86 -75
- data/vendor/assets/javascripts/moment/se.js +61 -50
- data/vendor/assets/javascripts/moment/si.js +73 -62
- data/vendor/assets/javascripts/moment/sk.js +146 -135
- data/vendor/assets/javascripts/moment/sl.js +170 -159
- data/vendor/assets/javascripts/moment/sq.js +69 -58
- data/vendor/assets/javascripts/moment/sr-cyrl.js +126 -115
- data/vendor/assets/javascripts/moment/sr.js +128 -117
- data/vendor/assets/javascripts/moment/ss.js +87 -76
- data/vendor/assets/javascripts/moment/sv.js +74 -63
- data/vendor/assets/javascripts/moment/sw.js +59 -48
- data/vendor/assets/javascripts/moment/ta.js +132 -121
- data/vendor/assets/javascripts/moment/te.js +92 -81
- data/vendor/assets/javascripts/moment/tet.js +72 -61
- data/vendor/assets/javascripts/moment/tg.js +120 -109
- data/vendor/assets/javascripts/moment/th.js +69 -58
- data/vendor/assets/javascripts/moment/tk.js +96 -85
- data/vendor/assets/javascripts/moment/tl-ph.js +63 -52
- data/vendor/assets/javascripts/moment/tlh.js +120 -109
- data/vendor/assets/javascripts/moment/tr.js +110 -99
- data/vendor/assets/javascripts/moment/tzl.js +93 -82
- data/vendor/assets/javascripts/moment/tzm-latn.js +58 -47
- data/vendor/assets/javascripts/moment/tzm.js +58 -47
- data/vendor/assets/javascripts/moment/ug-cn.js +114 -103
- data/vendor/assets/javascripts/moment/uk.js +163 -152
- data/vendor/assets/javascripts/moment/ur.js +86 -75
- data/vendor/assets/javascripts/moment/uz-latn.js +58 -47
- data/vendor/assets/javascripts/moment/uz.js +57 -46
- data/vendor/assets/javascripts/moment/vi.js +83 -72
- data/vendor/assets/javascripts/moment/x-pseudo.js +77 -66
- data/vendor/assets/javascripts/moment/yo.js +59 -48
- data/vendor/assets/javascripts/moment/zh-cn.js +118 -107
- data/vendor/assets/javascripts/moment/zh-hk.js +104 -93
- data/vendor/assets/javascripts/moment/zh-mo.js +104 -93
- data/vendor/assets/javascripts/moment/zh-tw.js +104 -93
- data/vendor/assets/javascripts/moment.js +5018 -5010
- metadata +2 -2
@@ -3,74 +3,85 @@
|
|
3
3
|
//! author : Rony Lantip : https://github.com/lantip
|
4
4
|
//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
|
5
5
|
|
6
|
-
|
6
|
+
;(function (global, factory) {
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10
|
+
factory(global.moment)
|
11
|
+
}(this, (function (moment) { 'use strict';
|
7
12
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
13
|
+
//! moment.js locale configuration
|
14
|
+
|
15
|
+
var jv = moment.defineLocale('jv', {
|
16
|
+
months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(
|
17
|
+
'_'
|
18
|
+
),
|
19
|
+
monthsShort: 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nop_Des'.split('_'),
|
20
|
+
weekdays: 'Minggu_Senen_Seloso_Rebu_Kemis_Jemuwah_Septu'.split('_'),
|
21
|
+
weekdaysShort: 'Min_Sen_Sel_Reb_Kem_Jem_Sep'.split('_'),
|
22
|
+
weekdaysMin: 'Mg_Sn_Sl_Rb_Km_Jm_Sp'.split('_'),
|
23
|
+
longDateFormat: {
|
24
|
+
LT: 'HH.mm',
|
25
|
+
LTS: 'HH.mm.ss',
|
26
|
+
L: 'DD/MM/YYYY',
|
27
|
+
LL: 'D MMMM YYYY',
|
28
|
+
LLL: 'D MMMM YYYY [pukul] HH.mm',
|
29
|
+
LLLL: 'dddd, D MMMM YYYY [pukul] HH.mm',
|
30
|
+
},
|
31
|
+
meridiemParse: /enjing|siyang|sonten|ndalu/,
|
32
|
+
meridiemHour: function (hour, meridiem) {
|
33
|
+
if (hour === 12) {
|
34
|
+
hour = 0;
|
35
|
+
}
|
36
|
+
if (meridiem === 'enjing') {
|
37
|
+
return hour;
|
38
|
+
} else if (meridiem === 'siyang') {
|
39
|
+
return hour >= 11 ? hour : hour + 12;
|
40
|
+
} else if (meridiem === 'sonten' || meridiem === 'ndalu') {
|
41
|
+
return hour + 12;
|
42
|
+
}
|
43
|
+
},
|
44
|
+
meridiem: function (hours, minutes, isLower) {
|
45
|
+
if (hours < 11) {
|
46
|
+
return 'enjing';
|
47
|
+
} else if (hours < 15) {
|
48
|
+
return 'siyang';
|
49
|
+
} else if (hours < 19) {
|
50
|
+
return 'sonten';
|
51
|
+
} else {
|
52
|
+
return 'ndalu';
|
53
|
+
}
|
54
|
+
},
|
55
|
+
calendar: {
|
56
|
+
sameDay: '[Dinten puniko pukul] LT',
|
57
|
+
nextDay: '[Mbenjang pukul] LT',
|
58
|
+
nextWeek: 'dddd [pukul] LT',
|
59
|
+
lastDay: '[Kala wingi pukul] LT',
|
60
|
+
lastWeek: 'dddd [kepengker pukul] LT',
|
61
|
+
sameElse: 'L',
|
62
|
+
},
|
63
|
+
relativeTime: {
|
64
|
+
future: 'wonten ing %s',
|
65
|
+
past: '%s ingkang kepengker',
|
66
|
+
s: 'sawetawis detik',
|
67
|
+
ss: '%d detik',
|
68
|
+
m: 'setunggal menit',
|
69
|
+
mm: '%d menit',
|
70
|
+
h: 'setunggal jam',
|
71
|
+
hh: '%d jam',
|
72
|
+
d: 'sedinten',
|
73
|
+
dd: '%d dinten',
|
74
|
+
M: 'sewulan',
|
75
|
+
MM: '%d wulan',
|
76
|
+
y: 'setaun',
|
77
|
+
yy: '%d taun',
|
78
|
+
},
|
79
|
+
week: {
|
80
|
+
dow: 1, // Monday is the first day of the week.
|
81
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
82
|
+
},
|
83
|
+
});
|
84
|
+
|
85
|
+
return jv;
|
86
|
+
|
87
|
+
})));
|
@@ -2,91 +2,102 @@
|
|
2
2
|
//! locale : Georgian [ka]
|
3
3
|
//! author : Irakli Janiashvili : https://github.com/IrakliJani
|
4
4
|
|
5
|
-
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, (function (moment) { 'use strict';
|
6
11
|
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
|
12
|
-
weekdays: {
|
13
|
-
standalone:
|
14
|
-
'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(
|
15
|
-
'_'
|
16
|
-
),
|
17
|
-
format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(
|
12
|
+
//! moment.js locale configuration
|
13
|
+
|
14
|
+
var ka = moment.defineLocale('ka', {
|
15
|
+
months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(
|
18
16
|
'_'
|
19
17
|
),
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
18
|
+
monthsShort: 'იან_თებ_მარ_აპრ_მაი_ივნ_ივლ_აგვ_სექ_ოქტ_ნოე_დეკ'.split('_'),
|
19
|
+
weekdays: {
|
20
|
+
standalone:
|
21
|
+
'კვირა_ორშაბათი_სამშაბათი_ოთხშაბათი_ხუთშაბათი_პარასკევი_შაბათი'.split(
|
22
|
+
'_'
|
23
|
+
),
|
24
|
+
format: 'კვირას_ორშაბათს_სამშაბათს_ოთხშაბათს_ხუთშაბათს_პარასკევს_შაბათს'.split(
|
25
|
+
'_'
|
26
|
+
),
|
27
|
+
isFormat: /(წინა|შემდეგ)/,
|
28
|
+
},
|
29
|
+
weekdaysShort: 'კვი_ორშ_სამ_ოთხ_ხუთ_პარ_შაბ'.split('_'),
|
30
|
+
weekdaysMin: 'კვ_ორ_სა_ოთ_ხუ_პა_შა'.split('_'),
|
31
|
+
longDateFormat: {
|
32
|
+
LT: 'HH:mm',
|
33
|
+
LTS: 'HH:mm:ss',
|
34
|
+
L: 'DD/MM/YYYY',
|
35
|
+
LL: 'D MMMM YYYY',
|
36
|
+
LLL: 'D MMMM YYYY HH:mm',
|
37
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
38
|
+
},
|
39
|
+
calendar: {
|
40
|
+
sameDay: '[დღეს] LT[-ზე]',
|
41
|
+
nextDay: '[ხვალ] LT[-ზე]',
|
42
|
+
lastDay: '[გუშინ] LT[-ზე]',
|
43
|
+
nextWeek: '[შემდეგ] dddd LT[-ზე]',
|
44
|
+
lastWeek: '[წინა] dddd LT-ზე',
|
45
|
+
sameElse: 'L',
|
46
|
+
},
|
47
|
+
relativeTime: {
|
48
|
+
future: function (s) {
|
49
|
+
return s.replace(
|
50
|
+
/(წამ|წუთ|საათ|წელ|დღ|თვ)(ი|ე)/,
|
51
|
+
function ($0, $1, $2) {
|
52
|
+
return $2 === 'ი' ? $1 + 'ში' : $1 + $2 + 'ში';
|
53
|
+
}
|
54
|
+
);
|
55
|
+
},
|
56
|
+
past: function (s) {
|
57
|
+
if (/(წამი|წუთი|საათი|დღე|თვე)/.test(s)) {
|
58
|
+
return s.replace(/(ი|ე)$/, 'ის წინ');
|
59
|
+
}
|
60
|
+
if (/წელი/.test(s)) {
|
61
|
+
return s.replace(/წელი$/, 'წლის წინ');
|
46
62
|
}
|
47
|
-
|
63
|
+
return s;
|
64
|
+
},
|
65
|
+
s: 'რამდენიმე წამი',
|
66
|
+
ss: '%d წამი',
|
67
|
+
m: 'წუთი',
|
68
|
+
mm: '%d წუთი',
|
69
|
+
h: 'საათი',
|
70
|
+
hh: '%d საათი',
|
71
|
+
d: 'დღე',
|
72
|
+
dd: '%d დღე',
|
73
|
+
M: 'თვე',
|
74
|
+
MM: '%d თვე',
|
75
|
+
y: 'წელი',
|
76
|
+
yy: '%d წელი',
|
48
77
|
},
|
49
|
-
|
50
|
-
|
51
|
-
|
78
|
+
dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
|
79
|
+
ordinal: function (number) {
|
80
|
+
if (number === 0) {
|
81
|
+
return number;
|
82
|
+
}
|
83
|
+
if (number === 1) {
|
84
|
+
return number + '-ლი';
|
52
85
|
}
|
53
|
-
if (
|
54
|
-
|
86
|
+
if (
|
87
|
+
number < 20 ||
|
88
|
+
(number <= 100 && number % 20 === 0) ||
|
89
|
+
number % 100 === 0
|
90
|
+
) {
|
91
|
+
return 'მე-' + number;
|
55
92
|
}
|
56
|
-
return
|
93
|
+
return number + '-ე';
|
57
94
|
},
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
MM: '%d თვე',
|
68
|
-
y: 'წელი',
|
69
|
-
yy: '%d წელი',
|
70
|
-
},
|
71
|
-
dayOfMonthOrdinalParse: /0|1-ლი|მე-\d{1,2}|\d{1,2}-ე/,
|
72
|
-
ordinal: function (number) {
|
73
|
-
if (number === 0) {
|
74
|
-
return number;
|
75
|
-
}
|
76
|
-
if (number === 1) {
|
77
|
-
return number + '-ლი';
|
78
|
-
}
|
79
|
-
if (
|
80
|
-
number < 20 ||
|
81
|
-
(number <= 100 && number % 20 === 0) ||
|
82
|
-
number % 100 === 0
|
83
|
-
) {
|
84
|
-
return 'მე-' + number;
|
85
|
-
}
|
86
|
-
return number + '-ე';
|
87
|
-
},
|
88
|
-
week: {
|
89
|
-
dow: 1,
|
90
|
-
doy: 7,
|
91
|
-
},
|
92
|
-
});
|
95
|
+
week: {
|
96
|
+
dow: 1,
|
97
|
+
doy: 7,
|
98
|
+
},
|
99
|
+
});
|
100
|
+
|
101
|
+
return ka;
|
102
|
+
|
103
|
+
})));
|
@@ -2,81 +2,92 @@
|
|
2
2
|
//! locale : Kazakh [kk]
|
3
3
|
//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
|
4
4
|
|
5
|
-
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, (function (moment) { 'use strict';
|
6
11
|
|
7
|
-
|
8
|
-
0: '-ші',
|
9
|
-
1: '-ші',
|
10
|
-
2: '-ші',
|
11
|
-
3: '-ші',
|
12
|
-
4: '-ші',
|
13
|
-
5: '-ші',
|
14
|
-
6: '-шы',
|
15
|
-
7: '-ші',
|
16
|
-
8: '-ші',
|
17
|
-
9: '-шы',
|
18
|
-
10: '-шы',
|
19
|
-
20: '-шы',
|
20
|
-
30: '-шы',
|
21
|
-
40: '-шы',
|
22
|
-
50: '-ші',
|
23
|
-
60: '-шы',
|
24
|
-
70: '-ші',
|
25
|
-
80: '-ші',
|
26
|
-
90: '-шы',
|
27
|
-
100: '-ші',
|
28
|
-
};
|
12
|
+
//! moment.js locale configuration
|
29
13
|
|
30
|
-
|
31
|
-
|
32
|
-
'
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
'
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
14
|
+
var suffixes = {
|
15
|
+
0: '-ші',
|
16
|
+
1: '-ші',
|
17
|
+
2: '-ші',
|
18
|
+
3: '-ші',
|
19
|
+
4: '-ші',
|
20
|
+
5: '-ші',
|
21
|
+
6: '-шы',
|
22
|
+
7: '-ші',
|
23
|
+
8: '-ші',
|
24
|
+
9: '-шы',
|
25
|
+
10: '-шы',
|
26
|
+
20: '-шы',
|
27
|
+
30: '-шы',
|
28
|
+
40: '-шы',
|
29
|
+
50: '-ші',
|
30
|
+
60: '-шы',
|
31
|
+
70: '-ші',
|
32
|
+
80: '-ші',
|
33
|
+
90: '-шы',
|
34
|
+
100: '-ші',
|
35
|
+
};
|
36
|
+
|
37
|
+
var kk = moment.defineLocale('kk', {
|
38
|
+
months: 'қаңтар_ақпан_наурыз_сәуір_мамыр_маусым_шілде_тамыз_қыркүйек_қазан_қараша_желтоқсан'.split(
|
39
|
+
'_'
|
40
|
+
),
|
41
|
+
monthsShort: 'қаң_ақп_нау_сәу_мам_мау_шіл_там_қыр_қаз_қар_жел'.split('_'),
|
42
|
+
weekdays: 'жексенбі_дүйсенбі_сейсенбі_сәрсенбі_бейсенбі_жұма_сенбі'.split(
|
43
|
+
'_'
|
44
|
+
),
|
45
|
+
weekdaysShort: 'жек_дүй_сей_сәр_бей_жұм_сен'.split('_'),
|
46
|
+
weekdaysMin: 'жк_дй_сй_ср_бй_жм_сн'.split('_'),
|
47
|
+
longDateFormat: {
|
48
|
+
LT: 'HH:mm',
|
49
|
+
LTS: 'HH:mm:ss',
|
50
|
+
L: 'DD.MM.YYYY',
|
51
|
+
LL: 'D MMMM YYYY',
|
52
|
+
LLL: 'D MMMM YYYY HH:mm',
|
53
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
54
|
+
},
|
55
|
+
calendar: {
|
56
|
+
sameDay: '[Бүгін сағат] LT',
|
57
|
+
nextDay: '[Ертең сағат] LT',
|
58
|
+
nextWeek: 'dddd [сағат] LT',
|
59
|
+
lastDay: '[Кеше сағат] LT',
|
60
|
+
lastWeek: '[Өткен аптаның] dddd [сағат] LT',
|
61
|
+
sameElse: 'L',
|
62
|
+
},
|
63
|
+
relativeTime: {
|
64
|
+
future: '%s ішінде',
|
65
|
+
past: '%s бұрын',
|
66
|
+
s: 'бірнеше секунд',
|
67
|
+
ss: '%d секунд',
|
68
|
+
m: 'бір минут',
|
69
|
+
mm: '%d минут',
|
70
|
+
h: 'бір сағат',
|
71
|
+
hh: '%d сағат',
|
72
|
+
d: 'бір күн',
|
73
|
+
dd: '%d күн',
|
74
|
+
M: 'бір ай',
|
75
|
+
MM: '%d ай',
|
76
|
+
y: 'бір жыл',
|
77
|
+
yy: '%d жыл',
|
78
|
+
},
|
79
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(ші|шы)/,
|
80
|
+
ordinal: function (number) {
|
81
|
+
var a = number % 10,
|
82
|
+
b = number >= 100 ? 100 : null;
|
83
|
+
return number + (suffixes[number] || suffixes[a] || suffixes[b]);
|
84
|
+
},
|
85
|
+
week: {
|
86
|
+
dow: 1, // Monday is the first day of the week.
|
87
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
88
|
+
},
|
89
|
+
});
|
90
|
+
|
91
|
+
return kk;
|
92
|
+
|
93
|
+
})));
|