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
@@ -4,139 +4,150 @@
|
|
4
4
|
//! author: Praleska: http://praleska.pro/
|
5
5
|
//! Author : Menelion Elensúle : https://github.com/Oire
|
6
6
|
|
7
|
-
|
7
|
+
;(function (global, factory) {
|
8
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
9
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
10
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11
|
+
factory(global.moment)
|
12
|
+
}(this, (function (moment) { 'use strict';
|
8
13
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
14
|
+
//! moment.js locale configuration
|
15
|
+
|
16
|
+
function plural(word, num) {
|
17
|
+
var forms = word.split('_');
|
18
|
+
return num % 10 === 1 && num % 100 !== 11
|
19
|
+
? forms[0]
|
20
|
+
: num % 10 >= 2 && num % 10 <= 4 && (num % 100 < 10 || num % 100 >= 20)
|
21
|
+
? forms[1]
|
22
|
+
: forms[2];
|
23
|
+
}
|
24
|
+
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
25
|
+
var format = {
|
26
|
+
ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
|
27
|
+
mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
|
28
|
+
hh: withoutSuffix ? 'гадзіна_гадзіны_гадзін' : 'гадзіну_гадзіны_гадзін',
|
29
|
+
dd: 'дзень_дні_дзён',
|
30
|
+
MM: 'месяц_месяцы_месяцаў',
|
31
|
+
yy: 'год_гады_гадоў',
|
32
|
+
};
|
33
|
+
if (key === 'm') {
|
34
|
+
return withoutSuffix ? 'хвіліна' : 'хвіліну';
|
35
|
+
} else if (key === 'h') {
|
36
|
+
return withoutSuffix ? 'гадзіна' : 'гадзіну';
|
37
|
+
} else {
|
38
|
+
return number + ' ' + plural(format[key], +number);
|
39
|
+
}
|
32
40
|
}
|
33
|
-
}
|
34
41
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
'_'
|
39
|
-
),
|
40
|
-
standalone:
|
41
|
-
'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
|
42
|
+
var be = moment.defineLocale('be', {
|
43
|
+
months: {
|
44
|
+
format: 'студзеня_лютага_сакавіка_красавіка_траўня_чэрвеня_ліпеня_жніўня_верасня_кастрычніка_лістапада_снежня'.split(
|
42
45
|
'_'
|
43
46
|
),
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
'
|
47
|
+
standalone:
|
48
|
+
'студзень_люты_сакавік_красавік_травень_чэрвень_ліпень_жнівень_верасень_кастрычнік_лістапад_снежань'.split(
|
49
|
+
'_'
|
50
|
+
),
|
51
|
+
},
|
52
|
+
monthsShort:
|
53
|
+
'студ_лют_сак_крас_трав_чэрв_ліп_жнів_вер_каст_ліст_снеж'.split('_'),
|
54
|
+
weekdays: {
|
55
|
+
format: 'нядзелю_панядзелак_аўторак_сераду_чацвер_пятніцу_суботу'.split(
|
53
56
|
'_'
|
54
57
|
),
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
58
|
+
standalone:
|
59
|
+
'нядзеля_панядзелак_аўторак_серада_чацвер_пятніца_субота'.split(
|
60
|
+
'_'
|
61
|
+
),
|
62
|
+
isFormat: /\[ ?[Ууў] ?(?:мінулую|наступную)? ?\] ?dddd/,
|
63
|
+
},
|
64
|
+
weekdaysShort: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
|
65
|
+
weekdaysMin: 'нд_пн_ат_ср_чц_пт_сб'.split('_'),
|
66
|
+
longDateFormat: {
|
67
|
+
LT: 'HH:mm',
|
68
|
+
LTS: 'HH:mm:ss',
|
69
|
+
L: 'DD.MM.YYYY',
|
70
|
+
LL: 'D MMMM YYYY г.',
|
71
|
+
LLL: 'D MMMM YYYY г., HH:mm',
|
72
|
+
LLLL: 'dddd, D MMMM YYYY г., HH:mm',
|
73
|
+
},
|
74
|
+
calendar: {
|
75
|
+
sameDay: '[Сёння ў] LT',
|
76
|
+
nextDay: '[Заўтра ў] LT',
|
77
|
+
lastDay: '[Учора ў] LT',
|
78
|
+
nextWeek: function () {
|
79
|
+
return '[У] dddd [ў] LT';
|
80
|
+
},
|
81
|
+
lastWeek: function () {
|
82
|
+
switch (this.day()) {
|
83
|
+
case 0:
|
84
|
+
case 3:
|
85
|
+
case 5:
|
86
|
+
case 6:
|
87
|
+
return '[У мінулую] dddd [ў] LT';
|
88
|
+
case 1:
|
89
|
+
case 2:
|
90
|
+
case 4:
|
91
|
+
return '[У мінулы] dddd [ў] LT';
|
92
|
+
}
|
93
|
+
},
|
94
|
+
sameElse: 'L',
|
95
|
+
},
|
96
|
+
relativeTime: {
|
97
|
+
future: 'праз %s',
|
98
|
+
past: '%s таму',
|
99
|
+
s: 'некалькі секунд',
|
100
|
+
m: relativeTimeWithPlural,
|
101
|
+
mm: relativeTimeWithPlural,
|
102
|
+
h: relativeTimeWithPlural,
|
103
|
+
hh: relativeTimeWithPlural,
|
104
|
+
d: 'дзень',
|
105
|
+
dd: relativeTimeWithPlural,
|
106
|
+
M: 'месяц',
|
107
|
+
MM: relativeTimeWithPlural,
|
108
|
+
y: 'год',
|
109
|
+
yy: relativeTimeWithPlural,
|
110
|
+
},
|
111
|
+
meridiemParse: /ночы|раніцы|дня|вечара/,
|
112
|
+
isPM: function (input) {
|
113
|
+
return /^(дня|вечара)$/.test(input);
|
73
114
|
},
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
case 4:
|
84
|
-
return '[У мінулы] dddd [ў] LT';
|
115
|
+
meridiem: function (hour, minute, isLower) {
|
116
|
+
if (hour < 4) {
|
117
|
+
return 'ночы';
|
118
|
+
} else if (hour < 12) {
|
119
|
+
return 'раніцы';
|
120
|
+
} else if (hour < 17) {
|
121
|
+
return 'дня';
|
122
|
+
} else {
|
123
|
+
return 'вечара';
|
85
124
|
}
|
86
125
|
},
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
} else {
|
116
|
-
return 'вечара';
|
117
|
-
}
|
118
|
-
},
|
119
|
-
dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
|
120
|
-
ordinal: function (number, period) {
|
121
|
-
switch (period) {
|
122
|
-
case 'M':
|
123
|
-
case 'd':
|
124
|
-
case 'DDD':
|
125
|
-
case 'w':
|
126
|
-
case 'W':
|
127
|
-
return (number % 10 === 2 || number % 10 === 3) &&
|
128
|
-
number % 100 !== 12 &&
|
129
|
-
number % 100 !== 13
|
130
|
-
? number + '-і'
|
131
|
-
: number + '-ы';
|
132
|
-
case 'D':
|
133
|
-
return number + '-га';
|
134
|
-
default:
|
135
|
-
return number;
|
136
|
-
}
|
137
|
-
},
|
138
|
-
week: {
|
139
|
-
dow: 1, // Monday is the first day of the week.
|
140
|
-
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
141
|
-
},
|
142
|
-
});
|
126
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(і|ы|га)/,
|
127
|
+
ordinal: function (number, period) {
|
128
|
+
switch (period) {
|
129
|
+
case 'M':
|
130
|
+
case 'd':
|
131
|
+
case 'DDD':
|
132
|
+
case 'w':
|
133
|
+
case 'W':
|
134
|
+
return (number % 10 === 2 || number % 10 === 3) &&
|
135
|
+
number % 100 !== 12 &&
|
136
|
+
number % 100 !== 13
|
137
|
+
? number + '-і'
|
138
|
+
: number + '-ы';
|
139
|
+
case 'D':
|
140
|
+
return number + '-га';
|
141
|
+
default:
|
142
|
+
return number;
|
143
|
+
}
|
144
|
+
},
|
145
|
+
week: {
|
146
|
+
dow: 1, // Monday is the first day of the week.
|
147
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
148
|
+
},
|
149
|
+
});
|
150
|
+
|
151
|
+
return be;
|
152
|
+
|
153
|
+
})));
|
@@ -2,86 +2,97 @@
|
|
2
2
|
//! locale : Bulgarian [bg]
|
3
3
|
//! author : Krasen Borisov : https://github.com/kraz
|
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
|
-
|
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
|
-
|
12
|
+
//! moment.js locale configuration
|
13
|
+
|
14
|
+
var bg = moment.defineLocale('bg', {
|
15
|
+
months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
|
16
|
+
'_'
|
17
|
+
),
|
18
|
+
monthsShort: 'яну_фев_мар_апр_май_юни_юли_авг_сеп_окт_ное_дек'.split('_'),
|
19
|
+
weekdays: 'неделя_понеделник_вторник_сряда_четвъртък_петък_събота'.split(
|
20
|
+
'_'
|
21
|
+
),
|
22
|
+
weekdaysShort: 'нед_пон_вто_сря_чет_пет_съб'.split('_'),
|
23
|
+
weekdaysMin: 'нд_пн_вт_ср_чт_пт_сб'.split('_'),
|
24
|
+
longDateFormat: {
|
25
|
+
LT: 'H:mm',
|
26
|
+
LTS: 'H:mm:ss',
|
27
|
+
L: 'D.MM.YYYY',
|
28
|
+
LL: 'D MMMM YYYY',
|
29
|
+
LLL: 'D MMMM YYYY H:mm',
|
30
|
+
LLLL: 'dddd, D MMMM YYYY H:mm',
|
31
|
+
},
|
32
|
+
calendar: {
|
33
|
+
sameDay: '[Днес в] LT',
|
34
|
+
nextDay: '[Утре в] LT',
|
35
|
+
nextWeek: 'dddd [в] LT',
|
36
|
+
lastDay: '[Вчера в] LT',
|
37
|
+
lastWeek: function () {
|
38
|
+
switch (this.day()) {
|
39
|
+
case 0:
|
40
|
+
case 3:
|
41
|
+
case 6:
|
42
|
+
return '[Миналата] dddd [в] LT';
|
43
|
+
case 1:
|
44
|
+
case 2:
|
45
|
+
case 4:
|
46
|
+
case 5:
|
47
|
+
return '[Миналия] dddd [в] LT';
|
48
|
+
}
|
49
|
+
},
|
50
|
+
sameElse: 'L',
|
51
|
+
},
|
52
|
+
relativeTime: {
|
53
|
+
future: 'след %s',
|
54
|
+
past: 'преди %s',
|
55
|
+
s: 'няколко секунди',
|
56
|
+
ss: '%d секунди',
|
57
|
+
m: 'минута',
|
58
|
+
mm: '%d минути',
|
59
|
+
h: 'час',
|
60
|
+
hh: '%d часа',
|
61
|
+
d: 'ден',
|
62
|
+
dd: '%d дена',
|
63
|
+
w: 'седмица',
|
64
|
+
ww: '%d седмици',
|
65
|
+
M: 'месец',
|
66
|
+
MM: '%d месеца',
|
67
|
+
y: 'година',
|
68
|
+
yy: '%d години',
|
69
|
+
},
|
70
|
+
dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
|
71
|
+
ordinal: function (number) {
|
72
|
+
var lastDigit = number % 10,
|
73
|
+
last2Digits = number % 100;
|
74
|
+
if (number === 0) {
|
75
|
+
return number + '-ев';
|
76
|
+
} else if (last2Digits === 0) {
|
77
|
+
return number + '-ен';
|
78
|
+
} else if (last2Digits > 10 && last2Digits < 20) {
|
79
|
+
return number + '-ти';
|
80
|
+
} else if (lastDigit === 1) {
|
81
|
+
return number + '-ви';
|
82
|
+
} else if (lastDigit === 2) {
|
83
|
+
return number + '-ри';
|
84
|
+
} else if (lastDigit === 7 || lastDigit === 8) {
|
85
|
+
return number + '-ми';
|
86
|
+
} else {
|
87
|
+
return number + '-ти';
|
41
88
|
}
|
42
89
|
},
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
h: 'час',
|
53
|
-
hh: '%d часа',
|
54
|
-
d: 'ден',
|
55
|
-
dd: '%d дена',
|
56
|
-
w: 'седмица',
|
57
|
-
ww: '%d седмици',
|
58
|
-
M: 'месец',
|
59
|
-
MM: '%d месеца',
|
60
|
-
y: 'година',
|
61
|
-
yy: '%d години',
|
62
|
-
},
|
63
|
-
dayOfMonthOrdinalParse: /\d{1,2}-(ев|ен|ти|ви|ри|ми)/,
|
64
|
-
ordinal: function (number) {
|
65
|
-
var lastDigit = number % 10,
|
66
|
-
last2Digits = number % 100;
|
67
|
-
if (number === 0) {
|
68
|
-
return number + '-ев';
|
69
|
-
} else if (last2Digits === 0) {
|
70
|
-
return number + '-ен';
|
71
|
-
} else if (last2Digits > 10 && last2Digits < 20) {
|
72
|
-
return number + '-ти';
|
73
|
-
} else if (lastDigit === 1) {
|
74
|
-
return number + '-ви';
|
75
|
-
} else if (lastDigit === 2) {
|
76
|
-
return number + '-ри';
|
77
|
-
} else if (lastDigit === 7 || lastDigit === 8) {
|
78
|
-
return number + '-ми';
|
79
|
-
} else {
|
80
|
-
return number + '-ти';
|
81
|
-
}
|
82
|
-
},
|
83
|
-
week: {
|
84
|
-
dow: 1, // Monday is the first day of the week.
|
85
|
-
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
86
|
-
},
|
87
|
-
});
|
90
|
+
week: {
|
91
|
+
dow: 1, // Monday is the first day of the week.
|
92
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
93
|
+
},
|
94
|
+
});
|
95
|
+
|
96
|
+
return bg;
|
97
|
+
|
98
|
+
})));
|
@@ -1,52 +1,62 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
2
|
//! locale : Bambara [bm]
|
3
3
|
//! author : Estelle Comment : https://github.com/estellecomment
|
4
|
-
// Language contact person : Abdoufata Kane : https://github.com/abdoufata
|
5
4
|
|
6
|
-
|
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';
|
7
11
|
|
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
|
-
|
12
|
+
//! moment.js locale configuration
|
13
|
+
|
14
|
+
var bm = moment.defineLocale('bm', {
|
15
|
+
months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
|
16
|
+
'_'
|
17
|
+
),
|
18
|
+
monthsShort: 'Zan_Few_Mar_Awi_Mɛ_Zuw_Zul_Uti_Sɛt_ɔku_Now_Des'.split('_'),
|
19
|
+
weekdays: 'Kari_Ntɛnɛn_Tarata_Araba_Alamisa_Juma_Sibiri'.split('_'),
|
20
|
+
weekdaysShort: 'Kar_Ntɛ_Tar_Ara_Ala_Jum_Sib'.split('_'),
|
21
|
+
weekdaysMin: 'Ka_Nt_Ta_Ar_Al_Ju_Si'.split('_'),
|
22
|
+
longDateFormat: {
|
23
|
+
LT: 'HH:mm',
|
24
|
+
LTS: 'HH:mm:ss',
|
25
|
+
L: 'DD/MM/YYYY',
|
26
|
+
LL: 'MMMM [tile] D [san] YYYY',
|
27
|
+
LLL: 'MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
|
28
|
+
LLLL: 'dddd MMMM [tile] D [san] YYYY [lɛrɛ] HH:mm',
|
29
|
+
},
|
30
|
+
calendar: {
|
31
|
+
sameDay: '[Bi lɛrɛ] LT',
|
32
|
+
nextDay: '[Sini lɛrɛ] LT',
|
33
|
+
nextWeek: 'dddd [don lɛrɛ] LT',
|
34
|
+
lastDay: '[Kunu lɛrɛ] LT',
|
35
|
+
lastWeek: 'dddd [tɛmɛnen lɛrɛ] LT',
|
36
|
+
sameElse: 'L',
|
37
|
+
},
|
38
|
+
relativeTime: {
|
39
|
+
future: '%s kɔnɔ',
|
40
|
+
past: 'a bɛ %s bɔ',
|
41
|
+
s: 'sanga dama dama',
|
42
|
+
ss: 'sekondi %d',
|
43
|
+
m: 'miniti kelen',
|
44
|
+
mm: 'miniti %d',
|
45
|
+
h: 'lɛrɛ kelen',
|
46
|
+
hh: 'lɛrɛ %d',
|
47
|
+
d: 'tile kelen',
|
48
|
+
dd: 'tile %d',
|
49
|
+
M: 'kalo kelen',
|
50
|
+
MM: 'kalo %d',
|
51
|
+
y: 'san kelen',
|
52
|
+
yy: 'san %d',
|
53
|
+
},
|
54
|
+
week: {
|
55
|
+
dow: 1, // Monday is the first day of the week.
|
56
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
57
|
+
},
|
58
|
+
});
|
59
|
+
|
60
|
+
return bm;
|
61
|
+
|
62
|
+
})));
|