effective_bootstrap 0.4.8 → 0.5.0
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.
- checksums.yaml +4 -4
- data/README.md +4 -0
- data/app/assets/javascripts/effective_date/input.js +1 -1
- data/app/assets/javascripts/effective_datetime/input.js +1 -1
- data/app/assets/javascripts/effective_time/input.js +1 -1
- data/app/assets/javascripts/moment/locale/af.js +72 -0
- data/app/assets/javascripts/moment/locale/ar-dz.js +58 -0
- data/app/assets/javascripts/moment/locale/ar-kw.js +58 -0
- data/app/assets/javascripts/moment/locale/ar-ly.js +121 -0
- data/app/assets/javascripts/moment/locale/ar-ma.js +58 -0
- data/app/assets/javascripts/moment/locale/ar-sa.js +103 -0
- data/app/assets/javascripts/moment/locale/ar-tn.js +58 -0
- data/app/assets/javascripts/moment/locale/ar.js +134 -0
- data/app/assets/javascripts/moment/locale/az.js +104 -0
- data/app/assets/javascripts/moment/locale/be.js +131 -0
- data/app/assets/javascripts/moment/locale/bg.js +89 -0
- data/app/assets/javascripts/moment/locale/bm.js +57 -0
- data/app/assets/javascripts/moment/locale/bn.js +118 -0
- data/app/assets/javascripts/moment/locale/bo.js +118 -0
- data/app/assets/javascripts/moment/locale/br.js +107 -0
- data/app/assets/javascripts/moment/locale/bs.js +150 -0
- data/app/assets/javascripts/moment/locale/ca.js +87 -0
- data/app/assets/javascripts/moment/locale/cs.js +171 -0
- data/app/assets/javascripts/moment/locale/cv.js +62 -0
- data/app/assets/javascripts/moment/locale/cy.js +79 -0
- data/app/assets/javascripts/moment/locale/da.js +59 -0
- data/app/assets/javascripts/moment/locale/de-at.js +75 -0
- data/app/assets/javascripts/moment/locale/de-ch.js +75 -0
- data/app/assets/javascripts/moment/locale/de.js +75 -0
- data/app/assets/javascripts/moment/locale/dv.js +98 -0
- data/app/assets/javascripts/moment/locale/el.js +99 -0
- data/app/assets/javascripts/moment/locale/en-SG.js +66 -0
- data/app/assets/javascripts/moment/locale/en-au.js +66 -0
- data/app/assets/javascripts/moment/locale/en-ca.js +62 -0
- data/app/assets/javascripts/moment/locale/en-gb.js +66 -0
- data/app/assets/javascripts/moment/locale/en-ie.js +66 -0
- data/app/assets/javascripts/moment/locale/en-il.js +61 -0
- data/app/assets/javascripts/moment/locale/en-nz.js +66 -0
- data/app/assets/javascripts/moment/locale/eo.js +70 -0
- data/app/assets/javascripts/moment/locale/es-do.js +91 -0
- data/app/assets/javascripts/moment/locale/es-us.js +91 -0
- data/app/assets/javascripts/moment/locale/es.js +91 -0
- data/app/assets/javascripts/moment/locale/et.js +79 -0
- data/app/assets/javascripts/moment/locale/eu.js +65 -0
- data/app/assets/javascripts/moment/locale/fa.js +105 -0
- data/app/assets/javascripts/moment/locale/fi.js +108 -0
- data/app/assets/javascripts/moment/locale/fo.js +59 -0
- data/app/assets/javascripts/moment/locale/fr-ca.js +73 -0
- data/app/assets/javascripts/moment/locale/fr-ch.js +77 -0
- data/app/assets/javascripts/moment/locale/fr.js +82 -0
- data/app/assets/javascripts/moment/locale/fy.js +74 -0
- data/app/assets/javascripts/moment/locale/ga.js +76 -0
- data/app/assets/javascripts/moment/locale/gd.js +75 -0
- data/app/assets/javascripts/moment/locale/gl.js +76 -0
- data/app/assets/javascripts/moment/locale/gom-latn.js +122 -0
- data/app/assets/javascripts/moment/locale/gu.js +123 -0
- data/app/assets/javascripts/moment/locale/he.js +96 -0
- data/app/assets/javascripts/moment/locale/hi.js +123 -0
- data/app/assets/javascripts/moment/locale/hr.js +153 -0
- data/app/assets/javascripts/moment/locale/hu.js +109 -0
- data/app/assets/javascripts/moment/locale/hy-am.js +94 -0
- data/app/assets/javascripts/moment/locale/id.js +81 -0
- data/app/assets/javascripts/moment/locale/is.js +131 -0
- data/app/assets/javascripts/moment/locale/it-ch.js +68 -0
- data/app/assets/javascripts/moment/locale/it.js +68 -0
- data/app/assets/javascripts/moment/locale/ja.js +91 -0
- data/app/assets/javascripts/moment/locale/jv.js +81 -0
- data/app/assets/javascripts/moment/locale/ka.js +88 -0
- data/app/assets/javascripts/moment/locale/kk.js +86 -0
- data/app/assets/javascripts/moment/locale/km.js +109 -0
- data/app/assets/javascripts/moment/locale/kn.js +125 -0
- data/app/assets/javascripts/moment/locale/ko.js +80 -0
- data/app/assets/javascripts/moment/locale/ku.js +118 -0
- data/app/assets/javascripts/moment/locale/ky.js +86 -0
- data/app/assets/javascripts/moment/locale/lb.js +135 -0
- data/app/assets/javascripts/moment/locale/lo.js +69 -0
- data/app/assets/javascripts/moment/locale/lt.js +117 -0
- data/app/assets/javascripts/moment/locale/lv.js +96 -0
- data/app/assets/javascripts/moment/locale/me.js +111 -0
- data/app/assets/javascripts/moment/locale/mi.js +63 -0
- data/app/assets/javascripts/moment/locale/mk.js +89 -0
- data/app/assets/javascripts/moment/locale/ml.js +80 -0
- data/app/assets/javascripts/moment/locale/mn.js +103 -0
- data/app/assets/javascripts/moment/locale/mr.js +159 -0
- data/app/assets/javascripts/moment/locale/ms-my.js +81 -0
- data/app/assets/javascripts/moment/locale/ms.js +81 -0
- data/app/assets/javascripts/moment/locale/mt.js +59 -0
- data/app/assets/javascripts/moment/locale/my.js +92 -0
- data/app/assets/javascripts/moment/locale/nb.js +61 -0
- data/app/assets/javascripts/moment/locale/ne.js +122 -0
- data/app/assets/javascripts/moment/locale/nl-be.js +86 -0
- data/app/assets/javascripts/moment/locale/nl.js +86 -0
- data/app/assets/javascripts/moment/locale/nn.js +59 -0
- data/app/assets/javascripts/moment/locale/pa-in.js +123 -0
- data/app/assets/javascripts/moment/locale/pl.js +125 -0
- data/app/assets/javascripts/moment/locale/pt-br.js +60 -0
- data/app/assets/javascripts/moment/locale/pt.js +64 -0
- data/app/assets/javascripts/moment/locale/ro.js +74 -0
- data/app/assets/javascripts/moment/locale/ru.js +181 -0
- data/app/assets/javascripts/moment/locale/sd.js +97 -0
- data/app/assets/javascripts/moment/locale/se.js +59 -0
- data/app/assets/javascripts/moment/locale/si.js +70 -0
- data/app/assets/javascripts/moment/locale/sk.js +155 -0
- data/app/assets/javascripts/moment/locale/sl.js +172 -0
- data/app/assets/javascripts/moment/locale/sq.js +67 -0
- data/app/assets/javascripts/moment/locale/sr-cyrl.js +110 -0
- data/app/assets/javascripts/moment/locale/sr.js +110 -0
- data/app/assets/javascripts/moment/locale/ss.js +87 -0
- data/app/assets/javascripts/moment/locale/sv.js +68 -0
- data/app/assets/javascripts/moment/locale/sw.js +58 -0
- data/app/assets/javascripts/moment/locale/ta.js +128 -0
- data/app/assets/javascripts/moment/locale/te.js +88 -0
- data/app/assets/javascripts/moment/locale/tet.js +66 -0
- data/app/assets/javascripts/moment/locale/tg.js +115 -0
- data/app/assets/javascripts/moment/locale/th.js +66 -0
- data/app/assets/javascripts/moment/locale/tl-ph.js +61 -0
- data/app/assets/javascripts/moment/locale/tlh.js +121 -0
- data/app/assets/javascripts/moment/locale/tr.js +93 -0
- data/app/assets/javascripts/moment/locale/tzl.js +90 -0
- data/app/assets/javascripts/moment/locale/tzm-latn.js +57 -0
- data/app/assets/javascripts/moment/locale/tzm.js +57 -0
- data/app/assets/javascripts/moment/locale/ug-cn.js +118 -0
- data/app/assets/javascripts/moment/locale/uk.js +153 -0
- data/app/assets/javascripts/moment/locale/ur.js +97 -0
- data/app/assets/javascripts/moment/locale/uz-latn.js +57 -0
- data/app/assets/javascripts/moment/locale/uz.js +57 -0
- data/app/assets/javascripts/moment/locale/vi.js +78 -0
- data/app/assets/javascripts/moment/locale/x-pseudo.js +67 -0
- data/app/assets/javascripts/moment/locale/yo.js +59 -0
- data/app/assets/javascripts/moment/locale/zh-cn.js +109 -0
- data/app/assets/javascripts/moment/locale/zh-hk.js +102 -0
- data/app/assets/javascripts/moment/locale/zh-tw.js +102 -0
- data/app/assets/javascripts/moment/moment.js +4603 -0
- data/lib/effective_bootstrap/version.rb +1 -1
- metadata +129 -2
- data/app/assets/javascripts/effective_datetime/moment.js +0 -4535
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
|
|
3
|
+
;(function (global, factory) {
|
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
5
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
6
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
7
|
+
factory(global.moment)
|
|
8
|
+
}(this, (function (moment) { 'use strict';
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var mt = moment.defineLocale('mt', {
|
|
12
|
+
months : 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split('_'),
|
|
13
|
+
monthsShort : 'Jan_Fra_Mar_Apr_Mej_Ġun_Lul_Aww_Set_Ott_Nov_Diċ'.split('_'),
|
|
14
|
+
weekdays : 'Il-Ħadd_It-Tnejn_It-Tlieta_L-Erbgħa_Il-Ħamis_Il-Ġimgħa_Is-Sibt'.split('_'),
|
|
15
|
+
weekdaysShort : 'Ħad_Tne_Tli_Erb_Ħam_Ġim_Sib'.split('_'),
|
|
16
|
+
weekdaysMin : 'Ħa_Tn_Tl_Er_Ħa_Ġi_Si'.split('_'),
|
|
17
|
+
longDateFormat : {
|
|
18
|
+
LT : 'HH:mm',
|
|
19
|
+
LTS : 'HH:mm:ss',
|
|
20
|
+
L : 'DD/MM/YYYY',
|
|
21
|
+
LL : 'D MMMM YYYY',
|
|
22
|
+
LLL : 'D MMMM YYYY HH:mm',
|
|
23
|
+
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
|
24
|
+
},
|
|
25
|
+
calendar : {
|
|
26
|
+
sameDay : '[Illum fil-]LT',
|
|
27
|
+
nextDay : '[Għada fil-]LT',
|
|
28
|
+
nextWeek : 'dddd [fil-]LT',
|
|
29
|
+
lastDay : '[Il-bieraħ fil-]LT',
|
|
30
|
+
lastWeek : 'dddd [li għadda] [fil-]LT',
|
|
31
|
+
sameElse : 'L'
|
|
32
|
+
},
|
|
33
|
+
relativeTime : {
|
|
34
|
+
future : 'f’ %s',
|
|
35
|
+
past : '%s ilu',
|
|
36
|
+
s : 'ftit sekondi',
|
|
37
|
+
ss : '%d sekondi',
|
|
38
|
+
m : 'minuta',
|
|
39
|
+
mm : '%d minuti',
|
|
40
|
+
h : 'siegħa',
|
|
41
|
+
hh : '%d siegħat',
|
|
42
|
+
d : 'ġurnata',
|
|
43
|
+
dd : '%d ġranet',
|
|
44
|
+
M : 'xahar',
|
|
45
|
+
MM : '%d xhur',
|
|
46
|
+
y : 'sena',
|
|
47
|
+
yy : '%d sni'
|
|
48
|
+
},
|
|
49
|
+
dayOfMonthOrdinalParse : /\d{1,2}º/,
|
|
50
|
+
ordinal: '%dº',
|
|
51
|
+
week : {
|
|
52
|
+
dow : 1, // Monday is the first day of the week.
|
|
53
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
54
|
+
}
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
return mt;
|
|
58
|
+
|
|
59
|
+
})));
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
|
|
3
|
+
;(function (global, factory) {
|
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
5
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
6
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
7
|
+
factory(global.moment)
|
|
8
|
+
}(this, (function (moment) { 'use strict';
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var symbolMap = {
|
|
12
|
+
'1': '၁',
|
|
13
|
+
'2': '၂',
|
|
14
|
+
'3': '၃',
|
|
15
|
+
'4': '၄',
|
|
16
|
+
'5': '၅',
|
|
17
|
+
'6': '၆',
|
|
18
|
+
'7': '၇',
|
|
19
|
+
'8': '၈',
|
|
20
|
+
'9': '၉',
|
|
21
|
+
'0': '၀'
|
|
22
|
+
}, numberMap = {
|
|
23
|
+
'၁': '1',
|
|
24
|
+
'၂': '2',
|
|
25
|
+
'၃': '3',
|
|
26
|
+
'၄': '4',
|
|
27
|
+
'၅': '5',
|
|
28
|
+
'၆': '6',
|
|
29
|
+
'၇': '7',
|
|
30
|
+
'၈': '8',
|
|
31
|
+
'၉': '9',
|
|
32
|
+
'၀': '0'
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
var my = moment.defineLocale('my', {
|
|
36
|
+
months: 'ဇန်နဝါရီ_ဖေဖော်ဝါရီ_မတ်_ဧပြီ_မေ_ဇွန်_ဇူလိုင်_သြဂုတ်_စက်တင်ဘာ_အောက်တိုဘာ_နိုဝင်ဘာ_ဒီဇင်ဘာ'.split('_'),
|
|
37
|
+
monthsShort: 'ဇန်_ဖေ_မတ်_ပြီ_မေ_ဇွန်_လိုင်_သြ_စက်_အောက်_နို_ဒီ'.split('_'),
|
|
38
|
+
weekdays: 'တနင်္ဂနွေ_တနင်္လာ_အင်္ဂါ_ဗုဒ္ဓဟူး_ကြာသပတေး_သောကြာ_စနေ'.split('_'),
|
|
39
|
+
weekdaysShort: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
|
40
|
+
weekdaysMin: 'နွေ_လာ_ဂါ_ဟူး_ကြာ_သော_နေ'.split('_'),
|
|
41
|
+
|
|
42
|
+
longDateFormat: {
|
|
43
|
+
LT: 'HH:mm',
|
|
44
|
+
LTS: 'HH:mm:ss',
|
|
45
|
+
L: 'DD/MM/YYYY',
|
|
46
|
+
LL: 'D MMMM YYYY',
|
|
47
|
+
LLL: 'D MMMM YYYY HH:mm',
|
|
48
|
+
LLLL: 'dddd D MMMM YYYY HH:mm'
|
|
49
|
+
},
|
|
50
|
+
calendar: {
|
|
51
|
+
sameDay: '[ယနေ.] LT [မှာ]',
|
|
52
|
+
nextDay: '[မနက်ဖြန်] LT [မှာ]',
|
|
53
|
+
nextWeek: 'dddd LT [မှာ]',
|
|
54
|
+
lastDay: '[မနေ.က] LT [မှာ]',
|
|
55
|
+
lastWeek: '[ပြီးခဲ့သော] dddd LT [မှာ]',
|
|
56
|
+
sameElse: 'L'
|
|
57
|
+
},
|
|
58
|
+
relativeTime: {
|
|
59
|
+
future: 'လာမည့် %s မှာ',
|
|
60
|
+
past: 'လွန်ခဲ့သော %s က',
|
|
61
|
+
s: 'စက္ကန်.အနည်းငယ်',
|
|
62
|
+
ss : '%d စက္ကန့်',
|
|
63
|
+
m: 'တစ်မိနစ်',
|
|
64
|
+
mm: '%d မိနစ်',
|
|
65
|
+
h: 'တစ်နာရီ',
|
|
66
|
+
hh: '%d နာရီ',
|
|
67
|
+
d: 'တစ်ရက်',
|
|
68
|
+
dd: '%d ရက်',
|
|
69
|
+
M: 'တစ်လ',
|
|
70
|
+
MM: '%d လ',
|
|
71
|
+
y: 'တစ်နှစ်',
|
|
72
|
+
yy: '%d နှစ်'
|
|
73
|
+
},
|
|
74
|
+
preparse: function (string) {
|
|
75
|
+
return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
|
|
76
|
+
return numberMap[match];
|
|
77
|
+
});
|
|
78
|
+
},
|
|
79
|
+
postformat: function (string) {
|
|
80
|
+
return string.replace(/\d/g, function (match) {
|
|
81
|
+
return symbolMap[match];
|
|
82
|
+
});
|
|
83
|
+
},
|
|
84
|
+
week: {
|
|
85
|
+
dow: 1, // Monday is the first day of the week.
|
|
86
|
+
doy: 4 // The week that contains Jan 4th is the first week of the year.
|
|
87
|
+
}
|
|
88
|
+
});
|
|
89
|
+
|
|
90
|
+
return my;
|
|
91
|
+
|
|
92
|
+
})));
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
|
|
3
|
+
;(function (global, factory) {
|
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
5
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
6
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
7
|
+
factory(global.moment)
|
|
8
|
+
}(this, (function (moment) { 'use strict';
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var nb = moment.defineLocale('nb', {
|
|
12
|
+
months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
|
13
|
+
monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
|
|
14
|
+
monthsParseExact : true,
|
|
15
|
+
weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
|
16
|
+
weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
|
|
17
|
+
weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
|
|
18
|
+
weekdaysParseExact : true,
|
|
19
|
+
longDateFormat : {
|
|
20
|
+
LT : 'HH:mm',
|
|
21
|
+
LTS : 'HH:mm:ss',
|
|
22
|
+
L : 'DD.MM.YYYY',
|
|
23
|
+
LL : 'D. MMMM YYYY',
|
|
24
|
+
LLL : 'D. MMMM YYYY [kl.] HH:mm',
|
|
25
|
+
LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
|
|
26
|
+
},
|
|
27
|
+
calendar : {
|
|
28
|
+
sameDay: '[i dag kl.] LT',
|
|
29
|
+
nextDay: '[i morgen kl.] LT',
|
|
30
|
+
nextWeek: 'dddd [kl.] LT',
|
|
31
|
+
lastDay: '[i går kl.] LT',
|
|
32
|
+
lastWeek: '[forrige] dddd [kl.] LT',
|
|
33
|
+
sameElse: 'L'
|
|
34
|
+
},
|
|
35
|
+
relativeTime : {
|
|
36
|
+
future : 'om %s',
|
|
37
|
+
past : '%s siden',
|
|
38
|
+
s : 'noen sekunder',
|
|
39
|
+
ss : '%d sekunder',
|
|
40
|
+
m : 'ett minutt',
|
|
41
|
+
mm : '%d minutter',
|
|
42
|
+
h : 'en time',
|
|
43
|
+
hh : '%d timer',
|
|
44
|
+
d : 'en dag',
|
|
45
|
+
dd : '%d dager',
|
|
46
|
+
M : 'en måned',
|
|
47
|
+
MM : '%d måneder',
|
|
48
|
+
y : 'ett år',
|
|
49
|
+
yy : '%d år'
|
|
50
|
+
},
|
|
51
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
52
|
+
ordinal : '%d.',
|
|
53
|
+
week : {
|
|
54
|
+
dow : 1, // Monday is the first day of the week.
|
|
55
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
56
|
+
}
|
|
57
|
+
});
|
|
58
|
+
|
|
59
|
+
return nb;
|
|
60
|
+
|
|
61
|
+
})));
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
|
|
3
|
+
;(function (global, factory) {
|
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
5
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
6
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
7
|
+
factory(global.moment)
|
|
8
|
+
}(this, (function (moment) { 'use strict';
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var symbolMap = {
|
|
12
|
+
'1': '१',
|
|
13
|
+
'2': '२',
|
|
14
|
+
'3': '३',
|
|
15
|
+
'4': '४',
|
|
16
|
+
'5': '५',
|
|
17
|
+
'6': '६',
|
|
18
|
+
'7': '७',
|
|
19
|
+
'8': '८',
|
|
20
|
+
'9': '९',
|
|
21
|
+
'0': '०'
|
|
22
|
+
},
|
|
23
|
+
numberMap = {
|
|
24
|
+
'१': '1',
|
|
25
|
+
'२': '2',
|
|
26
|
+
'३': '3',
|
|
27
|
+
'४': '4',
|
|
28
|
+
'५': '5',
|
|
29
|
+
'६': '6',
|
|
30
|
+
'७': '7',
|
|
31
|
+
'८': '8',
|
|
32
|
+
'९': '9',
|
|
33
|
+
'०': '0'
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
var ne = moment.defineLocale('ne', {
|
|
37
|
+
months : 'जनवरी_फेब्रुवरी_मार्च_अप्रिल_मई_जुन_जुलाई_अगष्ट_सेप्टेम्बर_अक्टोबर_नोभेम्बर_डिसेम्बर'.split('_'),
|
|
38
|
+
monthsShort : 'जन._फेब्रु._मार्च_अप्रि._मई_जुन_जुलाई._अग._सेप्ट._अक्टो._नोभे._डिसे.'.split('_'),
|
|
39
|
+
monthsParseExact : true,
|
|
40
|
+
weekdays : 'आइतबार_सोमबार_मङ्गलबार_बुधबार_बिहिबार_शुक्रबार_शनिबार'.split('_'),
|
|
41
|
+
weekdaysShort : 'आइत._सोम._मङ्गल._बुध._बिहि._शुक्र._शनि.'.split('_'),
|
|
42
|
+
weekdaysMin : 'आ._सो._मं._बु._बि._शु._श.'.split('_'),
|
|
43
|
+
weekdaysParseExact : true,
|
|
44
|
+
longDateFormat : {
|
|
45
|
+
LT : 'Aको h:mm बजे',
|
|
46
|
+
LTS : 'Aको h:mm:ss बजे',
|
|
47
|
+
L : 'DD/MM/YYYY',
|
|
48
|
+
LL : 'D MMMM YYYY',
|
|
49
|
+
LLL : 'D MMMM YYYY, Aको h:mm बजे',
|
|
50
|
+
LLLL : 'dddd, D MMMM YYYY, Aको h:mm बजे'
|
|
51
|
+
},
|
|
52
|
+
preparse: function (string) {
|
|
53
|
+
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
|
54
|
+
return numberMap[match];
|
|
55
|
+
});
|
|
56
|
+
},
|
|
57
|
+
postformat: function (string) {
|
|
58
|
+
return string.replace(/\d/g, function (match) {
|
|
59
|
+
return symbolMap[match];
|
|
60
|
+
});
|
|
61
|
+
},
|
|
62
|
+
meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
|
|
63
|
+
meridiemHour : function (hour, meridiem) {
|
|
64
|
+
if (hour === 12) {
|
|
65
|
+
hour = 0;
|
|
66
|
+
}
|
|
67
|
+
if (meridiem === 'राति') {
|
|
68
|
+
return hour < 4 ? hour : hour + 12;
|
|
69
|
+
} else if (meridiem === 'बिहान') {
|
|
70
|
+
return hour;
|
|
71
|
+
} else if (meridiem === 'दिउँसो') {
|
|
72
|
+
return hour >= 10 ? hour : hour + 12;
|
|
73
|
+
} else if (meridiem === 'साँझ') {
|
|
74
|
+
return hour + 12;
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
meridiem : function (hour, minute, isLower) {
|
|
78
|
+
if (hour < 3) {
|
|
79
|
+
return 'राति';
|
|
80
|
+
} else if (hour < 12) {
|
|
81
|
+
return 'बिहान';
|
|
82
|
+
} else if (hour < 16) {
|
|
83
|
+
return 'दिउँसो';
|
|
84
|
+
} else if (hour < 20) {
|
|
85
|
+
return 'साँझ';
|
|
86
|
+
} else {
|
|
87
|
+
return 'राति';
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
calendar : {
|
|
91
|
+
sameDay : '[आज] LT',
|
|
92
|
+
nextDay : '[भोलि] LT',
|
|
93
|
+
nextWeek : '[आउँदो] dddd[,] LT',
|
|
94
|
+
lastDay : '[हिजो] LT',
|
|
95
|
+
lastWeek : '[गएको] dddd[,] LT',
|
|
96
|
+
sameElse : 'L'
|
|
97
|
+
},
|
|
98
|
+
relativeTime : {
|
|
99
|
+
future : '%sमा',
|
|
100
|
+
past : '%s अगाडि',
|
|
101
|
+
s : 'केही क्षण',
|
|
102
|
+
ss : '%d सेकेण्ड',
|
|
103
|
+
m : 'एक मिनेट',
|
|
104
|
+
mm : '%d मिनेट',
|
|
105
|
+
h : 'एक घण्टा',
|
|
106
|
+
hh : '%d घण्टा',
|
|
107
|
+
d : 'एक दिन',
|
|
108
|
+
dd : '%d दिन',
|
|
109
|
+
M : 'एक महिना',
|
|
110
|
+
MM : '%d महिना',
|
|
111
|
+
y : 'एक बर्ष',
|
|
112
|
+
yy : '%d बर्ष'
|
|
113
|
+
},
|
|
114
|
+
week : {
|
|
115
|
+
dow : 0, // Sunday is the first day of the week.
|
|
116
|
+
doy : 6 // The week that contains Jan 6th is the first week of the year.
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
|
|
120
|
+
return ne;
|
|
121
|
+
|
|
122
|
+
})));
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
|
|
3
|
+
;(function (global, factory) {
|
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
5
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
6
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
7
|
+
factory(global.moment)
|
|
8
|
+
}(this, (function (moment) { 'use strict';
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
|
12
|
+
monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
|
|
13
|
+
|
|
14
|
+
var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
|
|
15
|
+
var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
|
|
16
|
+
|
|
17
|
+
var nlBe = moment.defineLocale('nl-be', {
|
|
18
|
+
months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
|
|
19
|
+
monthsShort : function (m, format) {
|
|
20
|
+
if (!m) {
|
|
21
|
+
return monthsShortWithDots;
|
|
22
|
+
} else if (/-MMM-/.test(format)) {
|
|
23
|
+
return monthsShortWithoutDots[m.month()];
|
|
24
|
+
} else {
|
|
25
|
+
return monthsShortWithDots[m.month()];
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
monthsRegex: monthsRegex,
|
|
30
|
+
monthsShortRegex: monthsRegex,
|
|
31
|
+
monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
|
|
32
|
+
monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
|
33
|
+
|
|
34
|
+
monthsParse : monthsParse,
|
|
35
|
+
longMonthsParse : monthsParse,
|
|
36
|
+
shortMonthsParse : monthsParse,
|
|
37
|
+
|
|
38
|
+
weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
|
|
39
|
+
weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
|
40
|
+
weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'),
|
|
41
|
+
weekdaysParseExact : true,
|
|
42
|
+
longDateFormat : {
|
|
43
|
+
LT : 'HH:mm',
|
|
44
|
+
LTS : 'HH:mm:ss',
|
|
45
|
+
L : 'DD/MM/YYYY',
|
|
46
|
+
LL : 'D MMMM YYYY',
|
|
47
|
+
LLL : 'D MMMM YYYY HH:mm',
|
|
48
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
|
49
|
+
},
|
|
50
|
+
calendar : {
|
|
51
|
+
sameDay: '[vandaag om] LT',
|
|
52
|
+
nextDay: '[morgen om] LT',
|
|
53
|
+
nextWeek: 'dddd [om] LT',
|
|
54
|
+
lastDay: '[gisteren om] LT',
|
|
55
|
+
lastWeek: '[afgelopen] dddd [om] LT',
|
|
56
|
+
sameElse: 'L'
|
|
57
|
+
},
|
|
58
|
+
relativeTime : {
|
|
59
|
+
future : 'over %s',
|
|
60
|
+
past : '%s geleden',
|
|
61
|
+
s : 'een paar seconden',
|
|
62
|
+
ss : '%d seconden',
|
|
63
|
+
m : 'één minuut',
|
|
64
|
+
mm : '%d minuten',
|
|
65
|
+
h : 'één uur',
|
|
66
|
+
hh : '%d uur',
|
|
67
|
+
d : 'één dag',
|
|
68
|
+
dd : '%d dagen',
|
|
69
|
+
M : 'één maand',
|
|
70
|
+
MM : '%d maanden',
|
|
71
|
+
y : 'één jaar',
|
|
72
|
+
yy : '%d jaar'
|
|
73
|
+
},
|
|
74
|
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
|
75
|
+
ordinal : function (number) {
|
|
76
|
+
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
|
|
77
|
+
},
|
|
78
|
+
week : {
|
|
79
|
+
dow : 1, // Monday is the first day of the week.
|
|
80
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
return nlBe;
|
|
85
|
+
|
|
86
|
+
})));
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//! moment.js locale configuration
|
|
2
|
+
|
|
3
|
+
;(function (global, factory) {
|
|
4
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
|
5
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
|
6
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
|
7
|
+
factory(global.moment)
|
|
8
|
+
}(this, (function (moment) { 'use strict';
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var monthsShortWithDots = 'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
|
12
|
+
monthsShortWithoutDots = 'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_');
|
|
13
|
+
|
|
14
|
+
var monthsParse = [/^jan/i, /^feb/i, /^maart|mrt.?$/i, /^apr/i, /^mei$/i, /^jun[i.]?$/i, /^jul[i.]?$/i, /^aug/i, /^sep/i, /^okt/i, /^nov/i, /^dec/i];
|
|
15
|
+
var monthsRegex = /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
|
|
16
|
+
|
|
17
|
+
var nl = moment.defineLocale('nl', {
|
|
18
|
+
months : 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split('_'),
|
|
19
|
+
monthsShort : function (m, format) {
|
|
20
|
+
if (!m) {
|
|
21
|
+
return monthsShortWithDots;
|
|
22
|
+
} else if (/-MMM-/.test(format)) {
|
|
23
|
+
return monthsShortWithoutDots[m.month()];
|
|
24
|
+
} else {
|
|
25
|
+
return monthsShortWithDots[m.month()];
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
|
|
29
|
+
monthsRegex: monthsRegex,
|
|
30
|
+
monthsShortRegex: monthsRegex,
|
|
31
|
+
monthsStrictRegex: /^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
|
|
32
|
+
monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
|
33
|
+
|
|
34
|
+
monthsParse : monthsParse,
|
|
35
|
+
longMonthsParse : monthsParse,
|
|
36
|
+
shortMonthsParse : monthsParse,
|
|
37
|
+
|
|
38
|
+
weekdays : 'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
|
|
39
|
+
weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
|
40
|
+
weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'),
|
|
41
|
+
weekdaysParseExact : true,
|
|
42
|
+
longDateFormat : {
|
|
43
|
+
LT : 'HH:mm',
|
|
44
|
+
LTS : 'HH:mm:ss',
|
|
45
|
+
L : 'DD-MM-YYYY',
|
|
46
|
+
LL : 'D MMMM YYYY',
|
|
47
|
+
LLL : 'D MMMM YYYY HH:mm',
|
|
48
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
|
49
|
+
},
|
|
50
|
+
calendar : {
|
|
51
|
+
sameDay: '[vandaag om] LT',
|
|
52
|
+
nextDay: '[morgen om] LT',
|
|
53
|
+
nextWeek: 'dddd [om] LT',
|
|
54
|
+
lastDay: '[gisteren om] LT',
|
|
55
|
+
lastWeek: '[afgelopen] dddd [om] LT',
|
|
56
|
+
sameElse: 'L'
|
|
57
|
+
},
|
|
58
|
+
relativeTime : {
|
|
59
|
+
future : 'over %s',
|
|
60
|
+
past : '%s geleden',
|
|
61
|
+
s : 'een paar seconden',
|
|
62
|
+
ss : '%d seconden',
|
|
63
|
+
m : 'één minuut',
|
|
64
|
+
mm : '%d minuten',
|
|
65
|
+
h : 'één uur',
|
|
66
|
+
hh : '%d uur',
|
|
67
|
+
d : 'één dag',
|
|
68
|
+
dd : '%d dagen',
|
|
69
|
+
M : 'één maand',
|
|
70
|
+
MM : '%d maanden',
|
|
71
|
+
y : 'één jaar',
|
|
72
|
+
yy : '%d jaar'
|
|
73
|
+
},
|
|
74
|
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
|
75
|
+
ordinal : function (number) {
|
|
76
|
+
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
|
|
77
|
+
},
|
|
78
|
+
week : {
|
|
79
|
+
dow : 1, // Monday is the first day of the week.
|
|
80
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
|
81
|
+
}
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
return nl;
|
|
85
|
+
|
|
86
|
+
})));
|