@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/tk.js
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Turkmen [tk]
|
|
3
|
+
//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy
|
|
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 suffixes = {
|
|
15
|
+
1: "'inji",
|
|
16
|
+
5: "'inji",
|
|
17
|
+
8: "'inji",
|
|
18
|
+
70: "'inji",
|
|
19
|
+
80: "'inji",
|
|
20
|
+
2: "'nji",
|
|
21
|
+
7: "'nji",
|
|
22
|
+
20: "'nji",
|
|
23
|
+
50: "'nji",
|
|
24
|
+
3: "'ünji",
|
|
25
|
+
4: "'ünji",
|
|
26
|
+
100: "'ünji",
|
|
27
|
+
6: "'njy",
|
|
28
|
+
9: "'unjy",
|
|
29
|
+
10: "'unjy",
|
|
30
|
+
30: "'unjy",
|
|
31
|
+
60: "'ynjy",
|
|
32
|
+
90: "'ynjy",
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var tk = moment.defineLocale('tk', {
|
|
36
|
+
months: 'Ýanwar_Fewral_Mart_Aprel_Maý_Iýun_Iýul_Awgust_Sentýabr_Oktýabr_Noýabr_Dekabr'.split(
|
|
37
|
+
'_'
|
|
38
|
+
),
|
|
39
|
+
monthsShort: 'Ýan_Few_Mar_Apr_Maý_Iýn_Iýl_Awg_Sen_Okt_Noý_Dek'.split('_'),
|
|
40
|
+
weekdays: 'Ýekşenbe_Duşenbe_Sişenbe_Çarşenbe_Penşenbe_Anna_Şenbe'.split(
|
|
41
|
+
'_'
|
|
42
|
+
),
|
|
43
|
+
weekdaysShort: 'Ýek_Duş_Siş_Çar_Pen_Ann_Şen'.split('_'),
|
|
44
|
+
weekdaysMin: 'Ýk_Dş_Sş_Çr_Pn_An_Şn'.split('_'),
|
|
45
|
+
longDateFormat: {
|
|
46
|
+
LT: 'HH:mm',
|
|
47
|
+
LTS: 'HH:mm:ss',
|
|
48
|
+
L: 'DD.MM.YYYY',
|
|
49
|
+
LL: 'D MMMM YYYY',
|
|
50
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
51
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
52
|
+
},
|
|
53
|
+
calendar: {
|
|
54
|
+
sameDay: '[bugün sagat] LT',
|
|
55
|
+
nextDay: '[ertir sagat] LT',
|
|
56
|
+
nextWeek: '[indiki] dddd [sagat] LT',
|
|
57
|
+
lastDay: '[düýn] LT',
|
|
58
|
+
lastWeek: '[geçen] dddd [sagat] LT',
|
|
59
|
+
sameElse: 'L',
|
|
60
|
+
},
|
|
61
|
+
relativeTime: {
|
|
62
|
+
future: '%s soň',
|
|
63
|
+
past: '%s öň',
|
|
64
|
+
s: 'birnäçe sekunt',
|
|
65
|
+
m: 'bir minut',
|
|
66
|
+
mm: '%d minut',
|
|
67
|
+
h: 'bir sagat',
|
|
68
|
+
hh: '%d sagat',
|
|
69
|
+
d: 'bir gün',
|
|
70
|
+
dd: '%d gün',
|
|
71
|
+
M: 'bir aý',
|
|
72
|
+
MM: '%d aý',
|
|
73
|
+
y: 'bir ýyl',
|
|
74
|
+
yy: '%d ýyl',
|
|
75
|
+
},
|
|
76
|
+
ordinal: function (number, period) {
|
|
77
|
+
switch (period) {
|
|
78
|
+
case 'd':
|
|
79
|
+
case 'D':
|
|
80
|
+
case 'Do':
|
|
81
|
+
case 'DD':
|
|
82
|
+
return number;
|
|
83
|
+
default:
|
|
84
|
+
if (number === 0) {
|
|
85
|
+
// special case for zero
|
|
86
|
+
return number + "'unjy";
|
|
87
|
+
}
|
|
88
|
+
var a = number % 10,
|
|
89
|
+
b = (number % 100) - a,
|
|
90
|
+
c = number >= 100 ? 100 : null;
|
|
91
|
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
|
92
|
+
}
|
|
93
|
+
},
|
|
94
|
+
week: {
|
|
95
|
+
dow: 1, // Monday is the first day of the week.
|
|
96
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
97
|
+
},
|
|
98
|
+
});
|
|
99
|
+
|
|
100
|
+
return tk;
|
|
101
|
+
|
|
102
|
+
})));
|
package/locale/tl-ph.js
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Tagalog (Philippines) [tl-ph]
|
|
3
|
+
//! author : Dan Hagman : https://github.com/hagmandan
|
|
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 tlPh = moment.defineLocale('tl-ph', {
|
|
15
|
+
months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
|
19
|
+
weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
|
23
|
+
weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
|
24
|
+
longDateFormat: {
|
|
25
|
+
LT: 'HH:mm',
|
|
26
|
+
LTS: 'HH:mm:ss',
|
|
27
|
+
L: 'MM/D/YYYY',
|
|
28
|
+
LL: 'MMMM D, YYYY',
|
|
29
|
+
LLL: 'MMMM D, YYYY HH:mm',
|
|
30
|
+
LLLL: 'dddd, MMMM DD, YYYY HH:mm',
|
|
31
|
+
},
|
|
32
|
+
calendar: {
|
|
33
|
+
sameDay: 'LT [ngayong araw]',
|
|
34
|
+
nextDay: '[Bukas ng] LT',
|
|
35
|
+
nextWeek: 'LT [sa susunod na] dddd',
|
|
36
|
+
lastDay: 'LT [kahapon]',
|
|
37
|
+
lastWeek: 'LT [noong nakaraang] dddd',
|
|
38
|
+
sameElse: 'L',
|
|
39
|
+
},
|
|
40
|
+
relativeTime: {
|
|
41
|
+
future: 'sa loob ng %s',
|
|
42
|
+
past: '%s ang nakalipas',
|
|
43
|
+
s: 'ilang segundo',
|
|
44
|
+
ss: '%d segundo',
|
|
45
|
+
m: 'isang minuto',
|
|
46
|
+
mm: '%d minuto',
|
|
47
|
+
h: 'isang oras',
|
|
48
|
+
hh: '%d oras',
|
|
49
|
+
d: 'isang araw',
|
|
50
|
+
dd: '%d araw',
|
|
51
|
+
M: 'isang buwan',
|
|
52
|
+
MM: '%d buwan',
|
|
53
|
+
y: 'isang taon',
|
|
54
|
+
yy: '%d taon',
|
|
55
|
+
},
|
|
56
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
|
57
|
+
ordinal: function (number) {
|
|
58
|
+
return number;
|
|
59
|
+
},
|
|
60
|
+
week: {
|
|
61
|
+
dow: 1, // Monday is the first day of the week.
|
|
62
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
return tlPh;
|
|
67
|
+
|
|
68
|
+
})));
|
package/locale/tlh.js
ADDED
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Klingon [tlh]
|
|
3
|
+
//! author : Dominika Kruk : https://github.com/amaranthrose
|
|
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 numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
|
|
15
|
+
|
|
16
|
+
function translateFuture(output) {
|
|
17
|
+
var time = output;
|
|
18
|
+
time =
|
|
19
|
+
output.indexOf('jaj') !== -1
|
|
20
|
+
? time.slice(0, -3) + 'leS'
|
|
21
|
+
: output.indexOf('jar') !== -1
|
|
22
|
+
? time.slice(0, -3) + 'waQ'
|
|
23
|
+
: output.indexOf('DIS') !== -1
|
|
24
|
+
? time.slice(0, -3) + 'nem'
|
|
25
|
+
: time + ' pIq';
|
|
26
|
+
return time;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function translatePast(output) {
|
|
30
|
+
var time = output;
|
|
31
|
+
time =
|
|
32
|
+
output.indexOf('jaj') !== -1
|
|
33
|
+
? time.slice(0, -3) + 'Hu’'
|
|
34
|
+
: output.indexOf('jar') !== -1
|
|
35
|
+
? time.slice(0, -3) + 'wen'
|
|
36
|
+
: output.indexOf('DIS') !== -1
|
|
37
|
+
? time.slice(0, -3) + 'ben'
|
|
38
|
+
: time + ' ret';
|
|
39
|
+
return time;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function translate(number, withoutSuffix, string, isFuture) {
|
|
43
|
+
var numberNoun = numberAsNoun(number);
|
|
44
|
+
switch (string) {
|
|
45
|
+
case 'ss':
|
|
46
|
+
return numberNoun + ' lup';
|
|
47
|
+
case 'mm':
|
|
48
|
+
return numberNoun + ' tup';
|
|
49
|
+
case 'hh':
|
|
50
|
+
return numberNoun + ' rep';
|
|
51
|
+
case 'dd':
|
|
52
|
+
return numberNoun + ' jaj';
|
|
53
|
+
case 'MM':
|
|
54
|
+
return numberNoun + ' jar';
|
|
55
|
+
case 'yy':
|
|
56
|
+
return numberNoun + ' DIS';
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
function numberAsNoun(number) {
|
|
61
|
+
var hundred = Math.floor((number % 1000) / 100),
|
|
62
|
+
ten = Math.floor((number % 100) / 10),
|
|
63
|
+
one = number % 10,
|
|
64
|
+
word = '';
|
|
65
|
+
if (hundred > 0) {
|
|
66
|
+
word += numbersNouns[hundred] + 'vatlh';
|
|
67
|
+
}
|
|
68
|
+
if (ten > 0) {
|
|
69
|
+
word += (word !== '' ? ' ' : '') + numbersNouns[ten] + 'maH';
|
|
70
|
+
}
|
|
71
|
+
if (one > 0) {
|
|
72
|
+
word += (word !== '' ? ' ' : '') + numbersNouns[one];
|
|
73
|
+
}
|
|
74
|
+
return word === '' ? 'pagh' : word;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
var tlh = moment.defineLocale('tlh', {
|
|
78
|
+
months: 'tera’ jar wa’_tera’ jar cha’_tera’ jar wej_tera’ jar loS_tera’ jar vagh_tera’ jar jav_tera’ jar Soch_tera’ jar chorgh_tera’ jar Hut_tera’ jar wa’maH_tera’ jar wa’maH wa’_tera’ jar wa’maH cha’'.split(
|
|
79
|
+
'_'
|
|
80
|
+
),
|
|
81
|
+
monthsShort:
|
|
82
|
+
'jar wa’_jar cha’_jar wej_jar loS_jar vagh_jar jav_jar Soch_jar chorgh_jar Hut_jar wa’maH_jar wa’maH wa’_jar wa’maH cha’'.split(
|
|
83
|
+
'_'
|
|
84
|
+
),
|
|
85
|
+
monthsParseExact: true,
|
|
86
|
+
weekdays: 'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split(
|
|
87
|
+
'_'
|
|
88
|
+
),
|
|
89
|
+
weekdaysShort:
|
|
90
|
+
'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
|
91
|
+
weekdaysMin:
|
|
92
|
+
'lojmItjaj_DaSjaj_povjaj_ghItlhjaj_loghjaj_buqjaj_ghInjaj'.split('_'),
|
|
93
|
+
longDateFormat: {
|
|
94
|
+
LT: 'HH:mm',
|
|
95
|
+
LTS: 'HH:mm:ss',
|
|
96
|
+
L: 'DD.MM.YYYY',
|
|
97
|
+
LL: 'D MMMM YYYY',
|
|
98
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
99
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
100
|
+
},
|
|
101
|
+
calendar: {
|
|
102
|
+
sameDay: '[DaHjaj] LT',
|
|
103
|
+
nextDay: '[wa’leS] LT',
|
|
104
|
+
nextWeek: 'LLL',
|
|
105
|
+
lastDay: '[wa’Hu’] LT',
|
|
106
|
+
lastWeek: 'LLL',
|
|
107
|
+
sameElse: 'L',
|
|
108
|
+
},
|
|
109
|
+
relativeTime: {
|
|
110
|
+
future: translateFuture,
|
|
111
|
+
past: translatePast,
|
|
112
|
+
s: 'puS lup',
|
|
113
|
+
ss: translate,
|
|
114
|
+
m: 'wa’ tup',
|
|
115
|
+
mm: translate,
|
|
116
|
+
h: 'wa’ rep',
|
|
117
|
+
hh: translate,
|
|
118
|
+
d: 'wa’ jaj',
|
|
119
|
+
dd: translate,
|
|
120
|
+
M: 'wa’ jar',
|
|
121
|
+
MM: translate,
|
|
122
|
+
y: 'wa’ DIS',
|
|
123
|
+
yy: translate,
|
|
124
|
+
},
|
|
125
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
126
|
+
ordinal: '%d.',
|
|
127
|
+
week: {
|
|
128
|
+
dow: 1, // Monday is the first day of the week.
|
|
129
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
130
|
+
},
|
|
131
|
+
});
|
|
132
|
+
|
|
133
|
+
return tlh;
|
|
134
|
+
|
|
135
|
+
})));
|
package/locale/tr.js
ADDED
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Turkish [tr]
|
|
3
|
+
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
|
|
4
|
+
//! Burak Yiğit Kaya: https://github.com/BYK
|
|
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 suffixes = {
|
|
16
|
+
1: "'inci",
|
|
17
|
+
5: "'inci",
|
|
18
|
+
8: "'inci",
|
|
19
|
+
70: "'inci",
|
|
20
|
+
80: "'inci",
|
|
21
|
+
2: "'nci",
|
|
22
|
+
7: "'nci",
|
|
23
|
+
20: "'nci",
|
|
24
|
+
50: "'nci",
|
|
25
|
+
3: "'üncü",
|
|
26
|
+
4: "'üncü",
|
|
27
|
+
100: "'üncü",
|
|
28
|
+
6: "'ncı",
|
|
29
|
+
9: "'uncu",
|
|
30
|
+
10: "'uncu",
|
|
31
|
+
30: "'uncu",
|
|
32
|
+
60: "'ıncı",
|
|
33
|
+
90: "'ıncı",
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var tr = moment.defineLocale('tr', {
|
|
37
|
+
months: 'Ocak_Şubat_Mart_Nisan_Mayıs_Haziran_Temmuz_Ağustos_Eylül_Ekim_Kasım_Aralık'.split(
|
|
38
|
+
'_'
|
|
39
|
+
),
|
|
40
|
+
monthsShort: 'Oca_Şub_Mar_Nis_May_Haz_Tem_Ağu_Eyl_Eki_Kas_Ara'.split('_'),
|
|
41
|
+
weekdays: 'Pazar_Pazartesi_Salı_Çarşamba_Perşembe_Cuma_Cumartesi'.split(
|
|
42
|
+
'_'
|
|
43
|
+
),
|
|
44
|
+
weekdaysShort: 'Paz_Pzt_Sal_Çar_Per_Cum_Cmt'.split('_'),
|
|
45
|
+
weekdaysMin: 'Pz_Pt_Sa_Ça_Pe_Cu_Ct'.split('_'),
|
|
46
|
+
meridiem: function (hours, minutes, isLower) {
|
|
47
|
+
if (hours < 12) {
|
|
48
|
+
return isLower ? 'öö' : 'ÖÖ';
|
|
49
|
+
} else {
|
|
50
|
+
return isLower ? 'ös' : 'ÖS';
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
meridiemParse: /öö|ÖÖ|ös|ÖS/,
|
|
54
|
+
isPM: function (input) {
|
|
55
|
+
return input === 'ös' || input === 'ÖS';
|
|
56
|
+
},
|
|
57
|
+
longDateFormat: {
|
|
58
|
+
LT: 'HH:mm',
|
|
59
|
+
LTS: 'HH:mm:ss',
|
|
60
|
+
L: 'DD.MM.YYYY',
|
|
61
|
+
LL: 'D MMMM YYYY',
|
|
62
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
63
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
|
64
|
+
},
|
|
65
|
+
calendar: {
|
|
66
|
+
sameDay: '[bugün saat] LT',
|
|
67
|
+
nextDay: '[yarın saat] LT',
|
|
68
|
+
nextWeek: '[gelecek] dddd [saat] LT',
|
|
69
|
+
lastDay: '[dün] LT',
|
|
70
|
+
lastWeek: '[geçen] dddd [saat] LT',
|
|
71
|
+
sameElse: 'L',
|
|
72
|
+
},
|
|
73
|
+
relativeTime: {
|
|
74
|
+
future: '%s sonra',
|
|
75
|
+
past: '%s önce',
|
|
76
|
+
s: 'birkaç saniye',
|
|
77
|
+
ss: '%d saniye',
|
|
78
|
+
m: 'bir dakika',
|
|
79
|
+
mm: '%d dakika',
|
|
80
|
+
h: 'bir saat',
|
|
81
|
+
hh: '%d saat',
|
|
82
|
+
d: 'bir gün',
|
|
83
|
+
dd: '%d gün',
|
|
84
|
+
w: 'bir hafta',
|
|
85
|
+
ww: '%d hafta',
|
|
86
|
+
M: 'bir ay',
|
|
87
|
+
MM: '%d ay',
|
|
88
|
+
y: 'bir yıl',
|
|
89
|
+
yy: '%d yıl',
|
|
90
|
+
},
|
|
91
|
+
ordinal: function (number, period) {
|
|
92
|
+
switch (period) {
|
|
93
|
+
case 'd':
|
|
94
|
+
case 'D':
|
|
95
|
+
case 'Do':
|
|
96
|
+
case 'DD':
|
|
97
|
+
return number;
|
|
98
|
+
default:
|
|
99
|
+
if (number === 0) {
|
|
100
|
+
// special case for zero
|
|
101
|
+
return number + "'ıncı";
|
|
102
|
+
}
|
|
103
|
+
var a = number % 10,
|
|
104
|
+
b = (number % 100) - a,
|
|
105
|
+
c = number >= 100 ? 100 : null;
|
|
106
|
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
|
107
|
+
}
|
|
108
|
+
},
|
|
109
|
+
week: {
|
|
110
|
+
dow: 1, // Monday is the first day of the week.
|
|
111
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
|
|
115
|
+
return tr;
|
|
116
|
+
|
|
117
|
+
})));
|
package/locale/tzl.js
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Talossan [tzl]
|
|
3
|
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
|
4
|
+
//! author : Iustì Canun
|
|
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
|
+
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
|
16
|
+
// This is currently too difficult (maybe even impossible) to add.
|
|
17
|
+
var tzl = moment.defineLocale('tzl', {
|
|
18
|
+
months: 'Januar_Fevraglh_Març_Avrïu_Mai_Gün_Julia_Guscht_Setemvar_Listopäts_Noemvar_Zecemvar'.split(
|
|
19
|
+
'_'
|
|
20
|
+
),
|
|
21
|
+
monthsShort: 'Jan_Fev_Mar_Avr_Mai_Gün_Jul_Gus_Set_Lis_Noe_Zec'.split('_'),
|
|
22
|
+
weekdays: 'Súladi_Lúneçi_Maitzi_Márcuri_Xhúadi_Viénerçi_Sáturi'.split('_'),
|
|
23
|
+
weekdaysShort: 'Súl_Lún_Mai_Már_Xhú_Vié_Sát'.split('_'),
|
|
24
|
+
weekdaysMin: 'Sú_Lú_Ma_Má_Xh_Vi_Sá'.split('_'),
|
|
25
|
+
longDateFormat: {
|
|
26
|
+
LT: 'HH.mm',
|
|
27
|
+
LTS: 'HH.mm.ss',
|
|
28
|
+
L: 'DD.MM.YYYY',
|
|
29
|
+
LL: 'D. MMMM [dallas] YYYY',
|
|
30
|
+
LLL: 'D. MMMM [dallas] YYYY HH.mm',
|
|
31
|
+
LLLL: 'dddd, [li] D. MMMM [dallas] YYYY HH.mm',
|
|
32
|
+
},
|
|
33
|
+
meridiemParse: /d\'o|d\'a/i,
|
|
34
|
+
isPM: function (input) {
|
|
35
|
+
return "d'o" === input.toLowerCase();
|
|
36
|
+
},
|
|
37
|
+
meridiem: function (hours, minutes, isLower) {
|
|
38
|
+
if (hours > 11) {
|
|
39
|
+
return isLower ? "d'o" : "D'O";
|
|
40
|
+
} else {
|
|
41
|
+
return isLower ? "d'a" : "D'A";
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
calendar: {
|
|
45
|
+
sameDay: '[oxhi à] LT',
|
|
46
|
+
nextDay: '[demà à] LT',
|
|
47
|
+
nextWeek: 'dddd [à] LT',
|
|
48
|
+
lastDay: '[ieiri à] LT',
|
|
49
|
+
lastWeek: '[sür el] dddd [lasteu à] LT',
|
|
50
|
+
sameElse: 'L',
|
|
51
|
+
},
|
|
52
|
+
relativeTime: {
|
|
53
|
+
future: 'osprei %s',
|
|
54
|
+
past: 'ja%s',
|
|
55
|
+
s: processRelativeTime,
|
|
56
|
+
ss: processRelativeTime,
|
|
57
|
+
m: processRelativeTime,
|
|
58
|
+
mm: processRelativeTime,
|
|
59
|
+
h: processRelativeTime,
|
|
60
|
+
hh: processRelativeTime,
|
|
61
|
+
d: processRelativeTime,
|
|
62
|
+
dd: processRelativeTime,
|
|
63
|
+
M: processRelativeTime,
|
|
64
|
+
MM: processRelativeTime,
|
|
65
|
+
y: processRelativeTime,
|
|
66
|
+
yy: processRelativeTime,
|
|
67
|
+
},
|
|
68
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
69
|
+
ordinal: '%d.',
|
|
70
|
+
week: {
|
|
71
|
+
dow: 1, // Monday is the first day of the week.
|
|
72
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
|
73
|
+
},
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
77
|
+
var format = {
|
|
78
|
+
s: ['viensas secunds', "'iensas secunds"],
|
|
79
|
+
ss: [number + ' secunds', '' + number + ' secunds'],
|
|
80
|
+
m: ["'n míut", "'iens míut"],
|
|
81
|
+
mm: [number + ' míuts', '' + number + ' míuts'],
|
|
82
|
+
h: ["'n þora", "'iensa þora"],
|
|
83
|
+
hh: [number + ' þoras', '' + number + ' þoras'],
|
|
84
|
+
d: ["'n ziua", "'iensa ziua"],
|
|
85
|
+
dd: [number + ' ziuas', '' + number + ' ziuas'],
|
|
86
|
+
M: ["'n mes", "'iens mes"],
|
|
87
|
+
MM: [number + ' mesen', '' + number + ' mesen'],
|
|
88
|
+
y: ["'n ar", "'iens ar"],
|
|
89
|
+
yy: [number + ' ars', '' + number + ' ars'],
|
|
90
|
+
};
|
|
91
|
+
return isFuture
|
|
92
|
+
? format[key][0]
|
|
93
|
+
: withoutSuffix
|
|
94
|
+
? format[key][0]
|
|
95
|
+
: format[key][1];
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
return tzl;
|
|
99
|
+
|
|
100
|
+
})));
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Central Atlas Tamazight Latin [tzm-latn]
|
|
3
|
+
//! author : Abdel Said : https://github.com/abdelsaid
|
|
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 tzmLatn = moment.defineLocale('tzm-latn', {
|
|
15
|
+
months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort:
|
|
19
|
+
'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdays: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
|
23
|
+
weekdaysShort: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
|
24
|
+
weekdaysMin: 'asamas_aynas_asinas_akras_akwas_asimwas_asiḍyas'.split('_'),
|
|
25
|
+
longDateFormat: {
|
|
26
|
+
LT: 'HH:mm',
|
|
27
|
+
LTS: 'HH:mm:ss',
|
|
28
|
+
L: 'DD/MM/YYYY',
|
|
29
|
+
LL: 'D MMMM YYYY',
|
|
30
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
31
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
|
32
|
+
},
|
|
33
|
+
calendar: {
|
|
34
|
+
sameDay: '[asdkh g] LT',
|
|
35
|
+
nextDay: '[aska g] LT',
|
|
36
|
+
nextWeek: 'dddd [g] LT',
|
|
37
|
+
lastDay: '[assant g] LT',
|
|
38
|
+
lastWeek: 'dddd [g] LT',
|
|
39
|
+
sameElse: 'L',
|
|
40
|
+
},
|
|
41
|
+
relativeTime: {
|
|
42
|
+
future: 'dadkh s yan %s',
|
|
43
|
+
past: 'yan %s',
|
|
44
|
+
s: 'imik',
|
|
45
|
+
ss: '%d imik',
|
|
46
|
+
m: 'minuḍ',
|
|
47
|
+
mm: '%d minuḍ',
|
|
48
|
+
h: 'saɛa',
|
|
49
|
+
hh: '%d tassaɛin',
|
|
50
|
+
d: 'ass',
|
|
51
|
+
dd: '%d ossan',
|
|
52
|
+
M: 'ayowr',
|
|
53
|
+
MM: '%d iyyirn',
|
|
54
|
+
y: 'asgas',
|
|
55
|
+
yy: '%d isgasn',
|
|
56
|
+
},
|
|
57
|
+
week: {
|
|
58
|
+
dow: 6, // Saturday is the first day of the week.
|
|
59
|
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
return tzmLatn;
|
|
64
|
+
|
|
65
|
+
})));
|
package/locale/tzm.js
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
//! locale : Central Atlas Tamazight [tzm]
|
|
3
|
+
//! author : Abdel Said : https://github.com/abdelsaid
|
|
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 tzm = moment.defineLocale('tzm', {
|
|
15
|
+
months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
|
|
16
|
+
'_'
|
|
17
|
+
),
|
|
18
|
+
monthsShort:
|
|
19
|
+
'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
|
|
20
|
+
'_'
|
|
21
|
+
),
|
|
22
|
+
weekdays: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
|
23
|
+
weekdaysShort: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
|
24
|
+
weekdaysMin: 'ⴰⵙⴰⵎⴰⵙ_ⴰⵢⵏⴰⵙ_ⴰⵙⵉⵏⴰⵙ_ⴰⴽⵔⴰⵙ_ⴰⴽⵡⴰⵙ_ⴰⵙⵉⵎⵡⴰⵙ_ⴰⵙⵉⴹⵢⴰⵙ'.split('_'),
|
|
25
|
+
longDateFormat: {
|
|
26
|
+
LT: 'HH:mm',
|
|
27
|
+
LTS: 'HH:mm:ss',
|
|
28
|
+
L: 'DD/MM/YYYY',
|
|
29
|
+
LL: 'D MMMM YYYY',
|
|
30
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
31
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
|
32
|
+
},
|
|
33
|
+
calendar: {
|
|
34
|
+
sameDay: '[ⴰⵙⴷⵅ ⴴ] LT',
|
|
35
|
+
nextDay: '[ⴰⵙⴽⴰ ⴴ] LT',
|
|
36
|
+
nextWeek: 'dddd [ⴴ] LT',
|
|
37
|
+
lastDay: '[ⴰⵚⴰⵏⵜ ⴴ] LT',
|
|
38
|
+
lastWeek: 'dddd [ⴴ] LT',
|
|
39
|
+
sameElse: 'L',
|
|
40
|
+
},
|
|
41
|
+
relativeTime: {
|
|
42
|
+
future: 'ⴷⴰⴷⵅ ⵙ ⵢⴰⵏ %s',
|
|
43
|
+
past: 'ⵢⴰⵏ %s',
|
|
44
|
+
s: 'ⵉⵎⵉⴽ',
|
|
45
|
+
ss: '%d ⵉⵎⵉⴽ',
|
|
46
|
+
m: 'ⵎⵉⵏⵓⴺ',
|
|
47
|
+
mm: '%d ⵎⵉⵏⵓⴺ',
|
|
48
|
+
h: 'ⵙⴰⵄⴰ',
|
|
49
|
+
hh: '%d ⵜⴰⵙⵙⴰⵄⵉⵏ',
|
|
50
|
+
d: 'ⴰⵙⵙ',
|
|
51
|
+
dd: '%d oⵙⵙⴰⵏ',
|
|
52
|
+
M: 'ⴰⵢoⵓⵔ',
|
|
53
|
+
MM: '%d ⵉⵢⵢⵉⵔⵏ',
|
|
54
|
+
y: 'ⴰⵙⴳⴰⵙ',
|
|
55
|
+
yy: '%d ⵉⵙⴳⴰⵙⵏ',
|
|
56
|
+
},
|
|
57
|
+
week: {
|
|
58
|
+
dow: 6, // Saturday is the first day of the week.
|
|
59
|
+
doy: 12, // The week that contains Jan 12th is the first week of the year.
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
return tzm;
|
|
64
|
+
|
|
65
|
+
})));
|