@revivejs/moment 2.30.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +996 -0
- package/LICENSE +22 -0
- package/README.md +158 -0
- package/dist/locale/af.js +71 -0
- package/dist/locale/ar-dz.js +156 -0
- package/dist/locale/ar-kw.js +55 -0
- package/dist/locale/ar-ly.js +171 -0
- package/dist/locale/ar-ma.js +56 -0
- package/dist/locale/ar-ps.js +112 -0
- package/dist/locale/ar-sa.js +105 -0
- package/dist/locale/ar-tn.js +55 -0
- package/dist/locale/ar.js +189 -0
- package/dist/locale/az.js +102 -0
- package/dist/locale/be.js +142 -0
- package/dist/locale/bg.js +87 -0
- package/dist/locale/bm.js +52 -0
- package/dist/locale/bn-bd.js +129 -0
- package/dist/locale/bn.js +119 -0
- package/dist/locale/bo.js +124 -0
- package/dist/locale/br.js +168 -0
- package/dist/locale/bs.js +160 -0
- package/dist/locale/ca.js +100 -0
- package/dist/locale/cs.js +181 -0
- package/dist/locale/cv.js +63 -0
- package/dist/locale/cy.js +98 -0
- package/dist/locale/da.js +53 -0
- package/dist/locale/de-at.js +79 -0
- package/dist/locale/de-ch.js +78 -0
- package/dist/locale/de.js +78 -0
- package/dist/locale/dv.js +90 -0
- package/dist/locale/el.js +106 -0
- package/dist/locale/en-au.js +68 -0
- package/dist/locale/en-ca.js +64 -0
- package/dist/locale/en-gb.js +68 -0
- package/dist/locale/en-ie.js +68 -0
- package/dist/locale/en-il.js +64 -0
- package/dist/locale/en-in.js +68 -0
- package/dist/locale/en-nz.js +68 -0
- package/dist/locale/en-sg.js +68 -0
- package/dist/locale/eo.js +68 -0
- package/dist/locale/es-do.js +108 -0
- package/dist/locale/es-mx.js +110 -0
- package/dist/locale/es-us.js +110 -0
- package/dist/locale/es.js +110 -0
- package/dist/locale/et.js +78 -0
- package/dist/locale/eu.js +65 -0
- package/dist/locale/fa.js +113 -0
- package/dist/locale/fi.js +124 -0
- package/dist/locale/fil.js +58 -0
- package/dist/locale/fo.js +57 -0
- package/dist/locale/fr-ca.js +70 -0
- package/dist/locale/fr-ch.js +74 -0
- package/dist/locale/fr.js +108 -0
- package/dist/locale/fy.js +75 -0
- package/dist/locale/ga.js +95 -0
- package/dist/locale/gd.js +95 -0
- package/dist/locale/gl.js +75 -0
- package/dist/locale/gom-deva.js +126 -0
- package/dist/locale/gom-latn.js +124 -0
- package/dist/locale/gu.js +122 -0
- package/dist/locale/he.js +94 -0
- package/dist/locale/hi.js +168 -0
- package/dist/locale/hr.js +156 -0
- package/dist/locale/hu.js +118 -0
- package/dist/locale/hy-am.js +94 -0
- package/dist/locale/id.js +76 -0
- package/dist/locale/is.js +140 -0
- package/dist/locale/it-ch.js +64 -0
- package/dist/locale/it.js +106 -0
- package/dist/locale/ja.js +148 -0
- package/dist/locale/jv.js +76 -0
- package/dist/locale/ka.js +92 -0
- package/dist/locale/kk.js +82 -0
- package/dist/locale/km.js +103 -0
- package/dist/locale/kn.js +124 -0
- package/dist/locale/ko.js +75 -0
- package/dist/locale/ku-kmr.js +121 -0
- package/dist/locale/ku.js +118 -0
- package/dist/locale/ky.js +84 -0
- package/dist/locale/lb.js +137 -0
- package/dist/locale/lo.js +66 -0
- package/dist/locale/lt.js +125 -0
- package/dist/locale/lv.js +94 -0
- package/dist/locale/me.js +117 -0
- package/dist/locale/mi.js +60 -0
- package/dist/locale/mk.js +85 -0
- package/dist/locale/ml.js +82 -0
- package/dist/locale/mn.js +100 -0
- package/dist/locale/mr.js +203 -0
- package/dist/locale/ms-my.js +76 -0
- package/dist/locale/ms.js +75 -0
- package/dist/locale/mt.js +56 -0
- package/dist/locale/my.js +91 -0
- package/dist/locale/nb.js +60 -0
- package/dist/locale/ne.js +121 -0
- package/dist/locale/nl-be.js +102 -0
- package/dist/locale/nl.js +104 -0
- package/dist/locale/nn.js +59 -0
- package/dist/locale/oc-lnc.js +85 -0
- package/dist/locale/pa-in.js +122 -0
- package/dist/locale/pl.js +140 -0
- package/dist/locale/pt-br.js +58 -0
- package/dist/locale/pt.js +63 -0
- package/dist/locale/ro.js +76 -0
- package/dist/locale/ru.js +213 -0
- package/dist/locale/sd.js +81 -0
- package/dist/locale/se.js +57 -0
- package/dist/locale/si.js +69 -0
- package/dist/locale/sk.js +145 -0
- package/dist/locale/sl.js +171 -0
- package/dist/locale/sq.js +65 -0
- package/dist/locale/sr-cyrl.js +127 -0
- package/dist/locale/sr.js +129 -0
- package/dist/locale/ss.js +84 -0
- package/dist/locale/sv.js +68 -0
- package/dist/locale/sw.js +55 -0
- package/dist/locale/ta.js +131 -0
- package/dist/locale/te.js +88 -0
- package/dist/locale/tet.js +68 -0
- package/dist/locale/tg.js +117 -0
- package/dist/locale/th.js +65 -0
- package/dist/locale/tk.js +91 -0
- package/dist/locale/tl-ph.js +57 -0
- package/dist/locale/tlh.js +124 -0
- package/dist/locale/tr.js +106 -0
- package/dist/locale/tzl.js +89 -0
- package/dist/locale/tzm-latn.js +54 -0
- package/dist/locale/tzm.js +54 -0
- package/dist/locale/ug-cn.js +111 -0
- package/dist/locale/uk.js +167 -0
- package/dist/locale/ur.js +82 -0
- package/dist/locale/uz-latn.js +54 -0
- package/dist/locale/uz.js +51 -0
- package/dist/locale/vi.js +80 -0
- package/dist/locale/x-pseudo.js +73 -0
- package/dist/locale/yo.js +53 -0
- package/dist/locale/zh-cn.js +120 -0
- package/dist/locale/zh-hk.js +101 -0
- package/dist/locale/zh-mo.js +100 -0
- package/dist/locale/zh-tw.js +99 -0
- package/dist/moment.js +5680 -0
- package/ender.js +1 -0
- package/locale/af.js +82 -0
- package/locale/ar-dz.js +167 -0
- package/locale/ar-kw.js +66 -0
- package/locale/ar-ly.js +182 -0
- package/locale/ar-ma.js +67 -0
- package/locale/ar-ps.js +123 -0
- package/locale/ar-sa.js +116 -0
- package/locale/ar-tn.js +66 -0
- package/locale/ar.js +200 -0
- package/locale/az.js +113 -0
- package/locale/be.js +153 -0
- package/locale/bg.js +98 -0
- package/locale/bm.js +62 -0
- package/locale/bn-bd.js +140 -0
- package/locale/bn.js +130 -0
- package/locale/bo.js +135 -0
- package/locale/br.js +179 -0
- package/locale/bs.js +171 -0
- package/locale/ca.js +111 -0
- package/locale/cs.js +192 -0
- package/locale/cv.js +74 -0
- package/locale/cy.js +109 -0
- package/locale/da.js +64 -0
- package/locale/de-at.js +90 -0
- package/locale/de-ch.js +87 -0
- package/locale/de.js +89 -0
- package/locale/dv.js +101 -0
- package/locale/el.js +117 -0
- package/locale/en-au.js +79 -0
- package/locale/en-ca.js +75 -0
- package/locale/en-gb.js +79 -0
- package/locale/en-ie.js +79 -0
- package/locale/en-il.js +75 -0
- package/locale/en-in.js +79 -0
- package/locale/en-nz.js +79 -0
- package/locale/en-sg.js +79 -0
- package/locale/eo.js +79 -0
- package/locale/es-do.js +119 -0
- package/locale/es-mx.js +121 -0
- package/locale/es-us.js +121 -0
- package/locale/es.js +121 -0
- package/locale/et.js +89 -0
- package/locale/eu.js +76 -0
- package/locale/fa.js +124 -0
- package/locale/fi.js +135 -0
- package/locale/fil.js +69 -0
- package/locale/fo.js +68 -0
- package/locale/fr-ca.js +81 -0
- package/locale/fr-ch.js +85 -0
- package/locale/fr.js +119 -0
- package/locale/fy.js +86 -0
- package/locale/ga.js +106 -0
- package/locale/gd.js +106 -0
- package/locale/gl.js +86 -0
- package/locale/gom-deva.js +137 -0
- package/locale/gom-latn.js +135 -0
- package/locale/gu.js +133 -0
- package/locale/he.js +105 -0
- package/locale/hi.js +179 -0
- package/locale/hr.js +167 -0
- package/locale/hu.js +129 -0
- package/locale/hy-am.js +105 -0
- package/locale/id.js +87 -0
- package/locale/is.js +151 -0
- package/locale/it-ch.js +75 -0
- package/locale/it.js +117 -0
- package/locale/ja.js +159 -0
- package/locale/jv.js +87 -0
- package/locale/ka.js +103 -0
- package/locale/kk.js +93 -0
- package/locale/km.js +114 -0
- package/locale/kn.js +135 -0
- package/locale/ko.js +86 -0
- package/locale/ku-kmr.js +125 -0
- package/locale/ku.js +129 -0
- package/locale/ky.js +95 -0
- package/locale/lb.js +148 -0
- package/locale/lo.js +77 -0
- package/locale/lt.js +136 -0
- package/locale/lv.js +105 -0
- package/locale/me.js +128 -0
- package/locale/mi.js +71 -0
- package/locale/mk.js +97 -0
- package/locale/ml.js +93 -0
- package/locale/mn.js +111 -0
- package/locale/mr.js +214 -0
- package/locale/ms-my.js +87 -0
- package/locale/ms.js +86 -0
- package/locale/mt.js +67 -0
- package/locale/my.js +102 -0
- package/locale/nb.js +71 -0
- package/locale/ne.js +132 -0
- package/locale/nl-be.js +113 -0
- package/locale/nl.js +115 -0
- package/locale/nn.js +70 -0
- package/locale/oc-lnc.js +96 -0
- package/locale/pa-in.js +133 -0
- package/locale/pl.js +151 -0
- package/locale/pt-br.js +69 -0
- package/locale/pt.js +74 -0
- package/locale/ro.js +87 -0
- package/locale/ru.js +224 -0
- package/locale/sd.js +92 -0
- package/locale/se.js +68 -0
- package/locale/si.js +80 -0
- package/locale/sk.js +156 -0
- package/locale/sl.js +182 -0
- package/locale/sq.js +76 -0
- package/locale/sr-cyrl.js +138 -0
- package/locale/sr.js +140 -0
- package/locale/ss.js +95 -0
- package/locale/sv.js +79 -0
- package/locale/sw.js +66 -0
- package/locale/ta.js +142 -0
- package/locale/te.js +99 -0
- package/locale/tet.js +79 -0
- package/locale/tg.js +128 -0
- package/locale/th.js +76 -0
- package/locale/tk.js +102 -0
- package/locale/tl-ph.js +68 -0
- package/locale/tlh.js +135 -0
- package/locale/tr.js +117 -0
- package/locale/tzl.js +100 -0
- package/locale/tzm-latn.js +65 -0
- package/locale/tzm.js +65 -0
- package/locale/ug-cn.js +122 -0
- package/locale/uk.js +178 -0
- package/locale/ur.js +93 -0
- package/locale/uz-latn.js +65 -0
- package/locale/uz.js +62 -0
- package/locale/vi.js +91 -0
- package/locale/x-pseudo.js +84 -0
- package/locale/yo.js +64 -0
- package/locale/zh-cn.js +131 -0
- package/locale/zh-hk.js +112 -0
- package/locale/zh-mo.js +111 -0
- package/locale/zh-tw.js +110 -0
- package/min/locales.js +12800 -0
- package/min/locales.min.js +2 -0
- package/min/locales.min.js.map +1 -0
- package/min/moment-with-locales.js +18472 -0
- package/min/moment-with-locales.min.js +2 -0
- package/min/moment-with-locales.min.js.map +1 -0
- package/min/moment.min.js +2 -0
- package/min/moment.min.js.map +1 -0
- package/min/tests.js +149292 -0
- package/moment.d.ts +796 -0
- package/moment.js +5688 -0
- package/package.js +11 -0
- package/package.json +152 -0
- package/ts3.1-typings/moment.d.ts +785 -0
package/locale/is.js
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Icelandic [is]
|
|
3
|
+
//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
|
|
4
|
+
|
|
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';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
function plural(n) {
|
|
15
|
+
if (n % 100 === 11) {
|
|
16
|
+
return true;
|
|
17
|
+
} else if (n % 10 === 1) {
|
|
18
|
+
return false;
|
|
19
|
+
}
|
|
20
|
+
return true;
|
|
21
|
+
}
|
|
22
|
+
function translate(number, withoutSuffix, key, isFuture) {
|
|
23
|
+
var result = number + ' ';
|
|
24
|
+
switch (key) {
|
|
25
|
+
case 's':
|
|
26
|
+
return withoutSuffix || isFuture
|
|
27
|
+
? 'nokkrar sekúndur'
|
|
28
|
+
: 'nokkrum sekúndum';
|
|
29
|
+
case 'ss':
|
|
30
|
+
if (plural(number)) {
|
|
31
|
+
return (
|
|
32
|
+
result +
|
|
33
|
+
(withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
return result + 'sekúnda';
|
|
37
|
+
case 'm':
|
|
38
|
+
return withoutSuffix ? 'mínúta' : 'mínútu';
|
|
39
|
+
case 'mm':
|
|
40
|
+
if (plural(number)) {
|
|
41
|
+
return (
|
|
42
|
+
result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')
|
|
43
|
+
);
|
|
44
|
+
} else if (withoutSuffix) {
|
|
45
|
+
return result + 'mínúta';
|
|
46
|
+
}
|
|
47
|
+
return result + 'mínútu';
|
|
48
|
+
case 'hh':
|
|
49
|
+
if (plural(number)) {
|
|
50
|
+
return (
|
|
51
|
+
result +
|
|
52
|
+
(withoutSuffix || isFuture
|
|
53
|
+
? 'klukkustundir'
|
|
54
|
+
: 'klukkustundum')
|
|
55
|
+
);
|
|
56
|
+
}
|
|
57
|
+
return result + 'klukkustund';
|
|
58
|
+
case 'd':
|
|
59
|
+
if (withoutSuffix) {
|
|
60
|
+
return 'dagur';
|
|
61
|
+
}
|
|
62
|
+
return isFuture ? 'dag' : 'degi';
|
|
63
|
+
case 'dd':
|
|
64
|
+
if (plural(number)) {
|
|
65
|
+
if (withoutSuffix) {
|
|
66
|
+
return result + 'dagar';
|
|
67
|
+
}
|
|
68
|
+
return result + (isFuture ? 'daga' : 'dögum');
|
|
69
|
+
} else if (withoutSuffix) {
|
|
70
|
+
return result + 'dagur';
|
|
71
|
+
}
|
|
72
|
+
return result + (isFuture ? 'dag' : 'degi');
|
|
73
|
+
case 'M':
|
|
74
|
+
if (withoutSuffix) {
|
|
75
|
+
return 'mánuður';
|
|
76
|
+
}
|
|
77
|
+
return isFuture ? 'mánuð' : 'mánuði';
|
|
78
|
+
case 'MM':
|
|
79
|
+
if (plural(number)) {
|
|
80
|
+
if (withoutSuffix) {
|
|
81
|
+
return result + 'mánuðir';
|
|
82
|
+
}
|
|
83
|
+
return result + (isFuture ? 'mánuði' : 'mánuðum');
|
|
84
|
+
} else if (withoutSuffix) {
|
|
85
|
+
return result + 'mánuður';
|
|
86
|
+
}
|
|
87
|
+
return result + (isFuture ? 'mánuð' : 'mánuði');
|
|
88
|
+
case 'y':
|
|
89
|
+
return withoutSuffix || isFuture ? 'ár' : 'ári';
|
|
90
|
+
case 'yy':
|
|
91
|
+
if (plural(number)) {
|
|
92
|
+
return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
|
|
93
|
+
}
|
|
94
|
+
return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
var is = moment.defineLocale('is', {
|
|
99
|
+
months: 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split(
|
|
100
|
+
'_'
|
|
101
|
+
),
|
|
102
|
+
monthsShort: 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
|
|
103
|
+
weekdays:
|
|
104
|
+
'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split(
|
|
105
|
+
'_'
|
|
106
|
+
),
|
|
107
|
+
weekdaysShort: 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
|
|
108
|
+
weekdaysMin: 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
|
|
109
|
+
longDateFormat: {
|
|
110
|
+
LT: 'H:mm',
|
|
111
|
+
LTS: 'H:mm:ss',
|
|
112
|
+
L: 'DD.MM.YYYY',
|
|
113
|
+
LL: 'D. MMMM YYYY',
|
|
114
|
+
LLL: 'D. MMMM YYYY [kl.] H:mm',
|
|
115
|
+
LLLL: 'dddd, D. MMMM YYYY [kl.] H:mm',
|
|
116
|
+
},
|
|
117
|
+
calendar: {
|
|
118
|
+
sameDay: '[í dag kl.] LT',
|
|
119
|
+
nextDay: '[á morgun kl.] LT',
|
|
120
|
+
nextWeek: 'dddd [kl.] LT',
|
|
121
|
+
lastDay: '[í gær kl.] LT',
|
|
122
|
+
lastWeek: '[síðasta] dddd [kl.] LT',
|
|
123
|
+
sameElse: 'L',
|
|
124
|
+
},
|
|
125
|
+
relativeTime: {
|
|
126
|
+
future: 'eftir %s',
|
|
127
|
+
past: 'fyrir %s síðan',
|
|
128
|
+
s: translate,
|
|
129
|
+
ss: translate,
|
|
130
|
+
m: translate,
|
|
131
|
+
mm: translate,
|
|
132
|
+
h: 'klukkustund',
|
|
133
|
+
hh: translate,
|
|
134
|
+
d: translate,
|
|
135
|
+
dd: translate,
|
|
136
|
+
M: translate,
|
|
137
|
+
MM: translate,
|
|
138
|
+
y: translate,
|
|
139
|
+
yy: translate,
|
|
140
|
+
},
|
|
141
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
142
|
+
ordinal: '%d.',
|
|
143
|
+
week: {
|
|
144
|
+
dow: 1, // Monday is the first day of the week.
|
|
145
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
146
|
+
},
|
|
147
|
+
});
|
|
148
|
+
|
|
149
|
+
return is;
|
|
150
|
+
|
|
151
|
+
})));
|
package/locale/it-ch.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Italian (Switzerland) [it-ch]
|
|
3
|
+
//! author : xfh : https://github.com/xfh
|
|
4
|
+
|
|
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';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var itCh = moment.defineLocale('it-ch', {
|
|
15
|
+
months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
|
|
19
|
+
weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
|
|
23
|
+
weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'HH:mm',
|
|
26
|
+
LTS: 'HH:mm:ss',
|
|
27
|
+
L: 'DD.MM.YYYY',
|
|
28
|
+
LL: 'D MMMM YYYY',
|
|
29
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
30
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: '[Oggi alle] LT',
|
|
34
|
+
nextDay: '[Domani alle] LT',
|
|
35
|
+
nextWeek: 'dddd [alle] LT',
|
|
36
|
+
lastDay: '[Ieri alle] LT',
|
|
37
|
+
lastWeek: function () {
|
|
38
|
+
switch (this.day()) {
|
|
39
|
+
case 0:
|
|
40
|
+
return '[la scorsa] dddd [alle] LT';
|
|
41
|
+
default:
|
|
42
|
+
return '[lo scorso] dddd [alle] LT';
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
sameElse: 'L',
|
|
46
|
+
},
|
|
47
|
+
relativeTime: {
|
|
48
|
+
future: function (s) {
|
|
49
|
+
return (/^[0-9].+$/.test(s) ? 'tra' : 'in') + ' ' + s;
|
|
50
|
+
},
|
|
51
|
+
past: '%s fa',
|
|
52
|
+
s: 'alcuni secondi',
|
|
53
|
+
ss: '%d secondi',
|
|
54
|
+
m: 'un minuto',
|
|
55
|
+
mm: '%d minuti',
|
|
56
|
+
h: "un'ora",
|
|
57
|
+
hh: '%d ore',
|
|
58
|
+
d: 'un giorno',
|
|
59
|
+
dd: '%d giorni',
|
|
60
|
+
M: 'un mese',
|
|
61
|
+
MM: '%d mesi',
|
|
62
|
+
y: 'un anno',
|
|
63
|
+
yy: '%d anni',
|
|
64
|
+
},
|
|
65
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
66
|
+
ordinal: '%dº',
|
|
67
|
+
week: {
|
|
68
|
+
dow: 1, // Monday is the first day of the week.
|
|
69
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
70
|
+
},
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
return itCh;
|
|
74
|
+
|
|
75
|
+
})));
|
package/locale/it.js
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Italian [it]
|
|
3
|
+
//! author : Lorenzo : https://github.com/aliem
|
|
4
|
+
//! author: Mattia Larentis: https://github.com/nostalgiaz
|
|
5
|
+
//! author: Marco : https://github.com/Manfre98
|
|
6
|
+
|
|
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';
|
|
13
|
+
|
|
14
|
+
//! moment.js locale configuration
|
|
15
|
+
|
|
16
|
+
var it = moment.defineLocale('it', {
|
|
17
|
+
months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
|
|
18
|
+
'_'
|
|
19
|
+
),
|
|
20
|
+
monthsShort: 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
|
|
21
|
+
weekdays: 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split(
|
|
22
|
+
'_'
|
|
23
|
+
),
|
|
24
|
+
weekdaysShort: 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
|
|
25
|
+
weekdaysMin: 'do_lu_ma_me_gi_ve_sa'.split('_'),
|
|
26
|
+
longDateFormat: {
|
|
27
|
+
LT: 'HH:mm',
|
|
28
|
+
LTS: 'HH:mm:ss',
|
|
29
|
+
L: 'DD/MM/YYYY',
|
|
30
|
+
LL: 'D MMMM YYYY',
|
|
31
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
32
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
|
33
|
+
},
|
|
34
|
+
calendar: {
|
|
35
|
+
sameDay: function () {
|
|
36
|
+
return (
|
|
37
|
+
'[Oggi a' +
|
|
38
|
+
(this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
|
|
39
|
+
']LT'
|
|
40
|
+
);
|
|
41
|
+
},
|
|
42
|
+
nextDay: function () {
|
|
43
|
+
return (
|
|
44
|
+
'[Domani a' +
|
|
45
|
+
(this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
|
|
46
|
+
']LT'
|
|
47
|
+
);
|
|
48
|
+
},
|
|
49
|
+
nextWeek: function () {
|
|
50
|
+
return (
|
|
51
|
+
'dddd [a' +
|
|
52
|
+
(this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
|
|
53
|
+
']LT'
|
|
54
|
+
);
|
|
55
|
+
},
|
|
56
|
+
lastDay: function () {
|
|
57
|
+
return (
|
|
58
|
+
'[Ieri a' +
|
|
59
|
+
(this.hours() > 1 ? 'lle ' : this.hours() === 0 ? ' ' : "ll'") +
|
|
60
|
+
']LT'
|
|
61
|
+
);
|
|
62
|
+
},
|
|
63
|
+
lastWeek: function () {
|
|
64
|
+
switch (this.day()) {
|
|
65
|
+
case 0:
|
|
66
|
+
return (
|
|
67
|
+
'[La scorsa] dddd [a' +
|
|
68
|
+
(this.hours() > 1
|
|
69
|
+
? 'lle '
|
|
70
|
+
: this.hours() === 0
|
|
71
|
+
? ' '
|
|
72
|
+
: "ll'") +
|
|
73
|
+
']LT'
|
|
74
|
+
);
|
|
75
|
+
default:
|
|
76
|
+
return (
|
|
77
|
+
'[Lo scorso] dddd [a' +
|
|
78
|
+
(this.hours() > 1
|
|
79
|
+
? 'lle '
|
|
80
|
+
: this.hours() === 0
|
|
81
|
+
? ' '
|
|
82
|
+
: "ll'") +
|
|
83
|
+
']LT'
|
|
84
|
+
);
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
sameElse: 'L',
|
|
88
|
+
},
|
|
89
|
+
relativeTime: {
|
|
90
|
+
future: 'tra %s',
|
|
91
|
+
past: '%s fa',
|
|
92
|
+
s: 'alcuni secondi',
|
|
93
|
+
ss: '%d secondi',
|
|
94
|
+
m: 'un minuto',
|
|
95
|
+
mm: '%d minuti',
|
|
96
|
+
h: "un'ora",
|
|
97
|
+
hh: '%d ore',
|
|
98
|
+
d: 'un giorno',
|
|
99
|
+
dd: '%d giorni',
|
|
100
|
+
w: 'una settimana',
|
|
101
|
+
ww: '%d settimane',
|
|
102
|
+
M: 'un mese',
|
|
103
|
+
MM: '%d mesi',
|
|
104
|
+
y: 'un anno',
|
|
105
|
+
yy: '%d anni',
|
|
106
|
+
},
|
|
107
|
+
dayOfMonthOrdinalParse: /\d{1,2}º/,
|
|
108
|
+
ordinal: '%dº',
|
|
109
|
+
week: {
|
|
110
|
+
dow: 1, // Monday is the first day of the week.
|
|
111
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
return it;
|
|
116
|
+
|
|
117
|
+
})));
|
package/locale/ja.js
ADDED
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Japanese [ja]
|
|
3
|
+
//! author : LI Long : https://github.com/baryon
|
|
4
|
+
|
|
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';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var ja = moment.defineLocale('ja', {
|
|
15
|
+
eras: [
|
|
16
|
+
{
|
|
17
|
+
since: '2019-05-01',
|
|
18
|
+
offset: 1,
|
|
19
|
+
name: '令和',
|
|
20
|
+
narrow: '㋿',
|
|
21
|
+
abbr: 'R',
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
since: '1989-01-08',
|
|
25
|
+
until: '2019-04-30',
|
|
26
|
+
offset: 1,
|
|
27
|
+
name: '平成',
|
|
28
|
+
narrow: '㍻',
|
|
29
|
+
abbr: 'H',
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
since: '1926-12-25',
|
|
33
|
+
until: '1989-01-07',
|
|
34
|
+
offset: 1,
|
|
35
|
+
name: '昭和',
|
|
36
|
+
narrow: '㍼',
|
|
37
|
+
abbr: 'S',
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
since: '1912-07-30',
|
|
41
|
+
until: '1926-12-24',
|
|
42
|
+
offset: 1,
|
|
43
|
+
name: '大正',
|
|
44
|
+
narrow: '㍽',
|
|
45
|
+
abbr: 'T',
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
since: '1873-01-01',
|
|
49
|
+
until: '1912-07-29',
|
|
50
|
+
offset: 6,
|
|
51
|
+
name: '明治',
|
|
52
|
+
narrow: '㍾',
|
|
53
|
+
abbr: 'M',
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
since: '0001-01-01',
|
|
57
|
+
until: '1873-12-31',
|
|
58
|
+
offset: 1,
|
|
59
|
+
name: '西暦',
|
|
60
|
+
narrow: 'AD',
|
|
61
|
+
abbr: 'AD',
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
since: '0000-12-31',
|
|
65
|
+
until: -Infinity,
|
|
66
|
+
offset: 1,
|
|
67
|
+
name: '紀元前',
|
|
68
|
+
narrow: 'BC',
|
|
69
|
+
abbr: 'BC',
|
|
70
|
+
},
|
|
71
|
+
],
|
|
72
|
+
eraYearOrdinalRegex: /(元|\d+)年/,
|
|
73
|
+
eraYearOrdinalParse: function (input, match) {
|
|
74
|
+
return match[1] === '元' ? 1 : parseInt(match[1] || input, 10);
|
|
75
|
+
},
|
|
76
|
+
months: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
|
|
77
|
+
monthsShort: '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split(
|
|
78
|
+
'_'
|
|
79
|
+
),
|
|
80
|
+
weekdays: '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
|
|
81
|
+
weekdaysShort: '日_月_火_水_木_金_土'.split('_'),
|
|
82
|
+
weekdaysMin: '日_月_火_水_木_金_土'.split('_'),
|
|
83
|
+
longDateFormat: {
|
|
84
|
+
LT: 'HH:mm',
|
|
85
|
+
LTS: 'HH:mm:ss',
|
|
86
|
+
L: 'YYYY/MM/DD',
|
|
87
|
+
LL: 'YYYY年M月D日',
|
|
88
|
+
LLL: 'YYYY年M月D日 HH:mm',
|
|
89
|
+
LLLL: 'YYYY年M月D日 dddd HH:mm',
|
|
90
|
+
l: 'YYYY/MM/DD',
|
|
91
|
+
ll: 'YYYY年M月D日',
|
|
92
|
+
lll: 'YYYY年M月D日 HH:mm',
|
|
93
|
+
llll: 'YYYY年M月D日(ddd) HH:mm',
|
|
94
|
+
},
|
|
95
|
+
meridiemParse: /午前|午後/i,
|
|
96
|
+
isPM: function (input) {
|
|
97
|
+
return input === '午後';
|
|
98
|
+
},
|
|
99
|
+
meridiem: function (hour, minute, isLower) {
|
|
100
|
+
if (hour < 12) {
|
|
101
|
+
return '午前';
|
|
102
|
+
} else {
|
|
103
|
+
return '午後';
|
|
104
|
+
}
|
|
105
|
+
},
|
|
106
|
+
calendar: {
|
|
107
|
+
sameDay: '[今日] LT',
|
|
108
|
+
nextDay: '[明日] LT',
|
|
109
|
+
nextWeek: function (now) {
|
|
110
|
+
if (now.week() !== this.week()) {
|
|
111
|
+
return '[来週]dddd LT';
|
|
112
|
+
} else {
|
|
113
|
+
return 'dddd LT';
|
|
114
|
+
}
|
|
115
|
+
},
|
|
116
|
+
lastDay: '[昨日] LT',
|
|
117
|
+
lastWeek: function (now) {
|
|
118
|
+
if (this.week() !== now.week()) {
|
|
119
|
+
return '[先週]dddd LT';
|
|
120
|
+
} else {
|
|
121
|
+
return 'dddd LT';
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
sameElse: 'L',
|
|
125
|
+
},
|
|
126
|
+
dayOfMonthOrdinalParse: /\d{1,2}日/,
|
|
127
|
+
ordinal: function (number, period) {
|
|
128
|
+
switch (period) {
|
|
129
|
+
case 'y':
|
|
130
|
+
return number === 1 ? '元年' : number + '年';
|
|
131
|
+
case 'd':
|
|
132
|
+
case 'D':
|
|
133
|
+
case 'DDD':
|
|
134
|
+
return number + '日';
|
|
135
|
+
default:
|
|
136
|
+
return number;
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
relativeTime: {
|
|
140
|
+
future: '%s後',
|
|
141
|
+
past: '%s前',
|
|
142
|
+
s: '数秒',
|
|
143
|
+
ss: '%d秒',
|
|
144
|
+
m: '1分',
|
|
145
|
+
mm: '%d分',
|
|
146
|
+
h: '1時間',
|
|
147
|
+
hh: '%d時間',
|
|
148
|
+
d: '1日',
|
|
149
|
+
dd: '%d日',
|
|
150
|
+
M: '1ヶ月',
|
|
151
|
+
MM: '%dヶ月',
|
|
152
|
+
y: '1年',
|
|
153
|
+
yy: '%d年',
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
|
|
157
|
+
return ja;
|
|
158
|
+
|
|
159
|
+
})));
|
package/locale/jv.js
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Javanese [jv]
|
|
3
|
+
//! author : Rony Lantip : https://github.com/lantip
|
|
4
|
+
//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
|
|
5
|
+
|
|
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';
|
|
12
|
+
|
|
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
|
+
})));
|
package/locale/ka.js
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Georgian [ka]
|
|
3
|
+
//! author : Irakli Janiashvili : https://github.com/IrakliJani
|
|
4
|
+
|
|
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';
|
|
11
|
+
|
|
12
|
+
//! moment.js locale configuration
|
|
13
|
+
|
|
14
|
+
var ka = moment.defineLocale('ka', {
|
|
15
|
+
months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
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(/წელი$/, 'წლის წინ');
|
|
62
|
+
}
|
|
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 წელი',
|
|
77
|
+
},
|
|
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 + '-ლი';
|
|
85
|
+
}
|
|
86
|
+
if (
|
|
87
|
+
number < 20 ||
|
|
88
|
+
(number <= 100 && number % 20 === 0) ||
|
|
89
|
+
number % 100 === 0
|
|
90
|
+
) {
|
|
91
|
+
return 'მე-' + number;
|
|
92
|
+
}
|
|
93
|
+
return number + '-ე';
|
|
94
|
+
},
|
|
95
|
+
week: {
|
|
96
|
+
dow: 1,
|
|
97
|
+
doy: 7,
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
|
|
101
|
+
return ka;
|
|
102
|
+
|
|
103
|
+
})));
|