effective_bootstrap 0.4.8 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,91 @@
|
|
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 monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
|
12
|
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
|
13
|
+
|
14
|
+
var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
|
15
|
+
var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
16
|
+
|
17
|
+
var esDo = moment.defineLocale('es-do', {
|
18
|
+
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
|
19
|
+
monthsShort : function (m, format) {
|
20
|
+
if (!m) {
|
21
|
+
return monthsShortDot;
|
22
|
+
} else if (/-MMM-/.test(format)) {
|
23
|
+
return monthsShort[m.month()];
|
24
|
+
} else {
|
25
|
+
return monthsShortDot[m.month()];
|
26
|
+
}
|
27
|
+
},
|
28
|
+
monthsRegex: monthsRegex,
|
29
|
+
monthsShortRegex: monthsRegex,
|
30
|
+
monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
31
|
+
monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
32
|
+
monthsParse: monthsParse,
|
33
|
+
longMonthsParse: monthsParse,
|
34
|
+
shortMonthsParse: monthsParse,
|
35
|
+
weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
36
|
+
weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
37
|
+
weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
38
|
+
weekdaysParseExact : true,
|
39
|
+
longDateFormat : {
|
40
|
+
LT : 'h:mm A',
|
41
|
+
LTS : 'h:mm:ss A',
|
42
|
+
L : 'DD/MM/YYYY',
|
43
|
+
LL : 'D [de] MMMM [de] YYYY',
|
44
|
+
LLL : 'D [de] MMMM [de] YYYY h:mm A',
|
45
|
+
LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A'
|
46
|
+
},
|
47
|
+
calendar : {
|
48
|
+
sameDay : function () {
|
49
|
+
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
50
|
+
},
|
51
|
+
nextDay : function () {
|
52
|
+
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
53
|
+
},
|
54
|
+
nextWeek : function () {
|
55
|
+
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
56
|
+
},
|
57
|
+
lastDay : function () {
|
58
|
+
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
59
|
+
},
|
60
|
+
lastWeek : function () {
|
61
|
+
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
62
|
+
},
|
63
|
+
sameElse : 'L'
|
64
|
+
},
|
65
|
+
relativeTime : {
|
66
|
+
future : 'en %s',
|
67
|
+
past : 'hace %s',
|
68
|
+
s : 'unos segundos',
|
69
|
+
ss : '%d segundos',
|
70
|
+
m : 'un minuto',
|
71
|
+
mm : '%d minutos',
|
72
|
+
h : 'una hora',
|
73
|
+
hh : '%d horas',
|
74
|
+
d : 'un día',
|
75
|
+
dd : '%d días',
|
76
|
+
M : 'un mes',
|
77
|
+
MM : '%d meses',
|
78
|
+
y : 'un año',
|
79
|
+
yy : '%d años'
|
80
|
+
},
|
81
|
+
dayOfMonthOrdinalParse : /\d{1,2}º/,
|
82
|
+
ordinal : '%dº',
|
83
|
+
week : {
|
84
|
+
dow : 1, // Monday is the first day of the week.
|
85
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
86
|
+
}
|
87
|
+
});
|
88
|
+
|
89
|
+
return esDo;
|
90
|
+
|
91
|
+
})));
|
@@ -0,0 +1,91 @@
|
|
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 monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
|
12
|
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
|
13
|
+
|
14
|
+
var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
|
15
|
+
var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
16
|
+
|
17
|
+
var esUs = moment.defineLocale('es-us', {
|
18
|
+
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
|
19
|
+
monthsShort : function (m, format) {
|
20
|
+
if (!m) {
|
21
|
+
return monthsShortDot;
|
22
|
+
} else if (/-MMM-/.test(format)) {
|
23
|
+
return monthsShort[m.month()];
|
24
|
+
} else {
|
25
|
+
return monthsShortDot[m.month()];
|
26
|
+
}
|
27
|
+
},
|
28
|
+
monthsRegex: monthsRegex,
|
29
|
+
monthsShortRegex: monthsRegex,
|
30
|
+
monthsStrictRegex: /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
31
|
+
monthsShortStrictRegex: /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
32
|
+
monthsParse: monthsParse,
|
33
|
+
longMonthsParse: monthsParse,
|
34
|
+
shortMonthsParse: monthsParse,
|
35
|
+
weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
36
|
+
weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
37
|
+
weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
38
|
+
weekdaysParseExact : true,
|
39
|
+
longDateFormat : {
|
40
|
+
LT : 'h:mm A',
|
41
|
+
LTS : 'h:mm:ss A',
|
42
|
+
L : 'MM/DD/YYYY',
|
43
|
+
LL : 'D [de] MMMM [de] YYYY',
|
44
|
+
LLL : 'D [de] MMMM [de] YYYY h:mm A',
|
45
|
+
LLLL : 'dddd, D [de] MMMM [de] YYYY h:mm A'
|
46
|
+
},
|
47
|
+
calendar : {
|
48
|
+
sameDay : function () {
|
49
|
+
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
50
|
+
},
|
51
|
+
nextDay : function () {
|
52
|
+
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
53
|
+
},
|
54
|
+
nextWeek : function () {
|
55
|
+
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
56
|
+
},
|
57
|
+
lastDay : function () {
|
58
|
+
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
59
|
+
},
|
60
|
+
lastWeek : function () {
|
61
|
+
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
62
|
+
},
|
63
|
+
sameElse : 'L'
|
64
|
+
},
|
65
|
+
relativeTime : {
|
66
|
+
future : 'en %s',
|
67
|
+
past : 'hace %s',
|
68
|
+
s : 'unos segundos',
|
69
|
+
ss : '%d segundos',
|
70
|
+
m : 'un minuto',
|
71
|
+
mm : '%d minutos',
|
72
|
+
h : 'una hora',
|
73
|
+
hh : '%d horas',
|
74
|
+
d : 'un día',
|
75
|
+
dd : '%d días',
|
76
|
+
M : 'un mes',
|
77
|
+
MM : '%d meses',
|
78
|
+
y : 'un año',
|
79
|
+
yy : '%d años'
|
80
|
+
},
|
81
|
+
dayOfMonthOrdinalParse : /\d{1,2}º/,
|
82
|
+
ordinal : '%dº',
|
83
|
+
week : {
|
84
|
+
dow : 0, // Sunday is the first day of the week.
|
85
|
+
doy : 6 // The week that contains Jan 6th is the first week of the year.
|
86
|
+
}
|
87
|
+
});
|
88
|
+
|
89
|
+
return esUs;
|
90
|
+
|
91
|
+
})));
|
@@ -0,0 +1,91 @@
|
|
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 monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
|
12
|
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
|
13
|
+
|
14
|
+
var monthsParse = [/^ene/i, /^feb/i, /^mar/i, /^abr/i, /^may/i, /^jun/i, /^jul/i, /^ago/i, /^sep/i, /^oct/i, /^nov/i, /^dic/i];
|
15
|
+
var monthsRegex = /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
16
|
+
|
17
|
+
var es = moment.defineLocale('es', {
|
18
|
+
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
|
19
|
+
monthsShort : function (m, format) {
|
20
|
+
if (!m) {
|
21
|
+
return monthsShortDot;
|
22
|
+
} else if (/-MMM-/.test(format)) {
|
23
|
+
return monthsShort[m.month()];
|
24
|
+
} else {
|
25
|
+
return monthsShortDot[m.month()];
|
26
|
+
}
|
27
|
+
},
|
28
|
+
monthsRegex : monthsRegex,
|
29
|
+
monthsShortRegex : monthsRegex,
|
30
|
+
monthsStrictRegex : /^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
31
|
+
monthsShortStrictRegex : /^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
32
|
+
monthsParse : monthsParse,
|
33
|
+
longMonthsParse : monthsParse,
|
34
|
+
shortMonthsParse : monthsParse,
|
35
|
+
weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
36
|
+
weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
37
|
+
weekdaysMin : 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
38
|
+
weekdaysParseExact : true,
|
39
|
+
longDateFormat : {
|
40
|
+
LT : 'H:mm',
|
41
|
+
LTS : 'H:mm:ss',
|
42
|
+
L : 'DD/MM/YYYY',
|
43
|
+
LL : 'D [de] MMMM [de] YYYY',
|
44
|
+
LLL : 'D [de] MMMM [de] YYYY H:mm',
|
45
|
+
LLLL : 'dddd, D [de] MMMM [de] YYYY H:mm'
|
46
|
+
},
|
47
|
+
calendar : {
|
48
|
+
sameDay : function () {
|
49
|
+
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
50
|
+
},
|
51
|
+
nextDay : function () {
|
52
|
+
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
53
|
+
},
|
54
|
+
nextWeek : function () {
|
55
|
+
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
56
|
+
},
|
57
|
+
lastDay : function () {
|
58
|
+
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
59
|
+
},
|
60
|
+
lastWeek : function () {
|
61
|
+
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
62
|
+
},
|
63
|
+
sameElse : 'L'
|
64
|
+
},
|
65
|
+
relativeTime : {
|
66
|
+
future : 'en %s',
|
67
|
+
past : 'hace %s',
|
68
|
+
s : 'unos segundos',
|
69
|
+
ss : '%d segundos',
|
70
|
+
m : 'un minuto',
|
71
|
+
mm : '%d minutos',
|
72
|
+
h : 'una hora',
|
73
|
+
hh : '%d horas',
|
74
|
+
d : 'un día',
|
75
|
+
dd : '%d días',
|
76
|
+
M : 'un mes',
|
77
|
+
MM : '%d meses',
|
78
|
+
y : 'un año',
|
79
|
+
yy : '%d años'
|
80
|
+
},
|
81
|
+
dayOfMonthOrdinalParse : /\d{1,2}º/,
|
82
|
+
ordinal : '%dº',
|
83
|
+
week : {
|
84
|
+
dow : 1, // Monday is the first day of the week.
|
85
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
86
|
+
}
|
87
|
+
});
|
88
|
+
|
89
|
+
return es;
|
90
|
+
|
91
|
+
})));
|
@@ -0,0 +1,79 @@
|
|
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
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
12
|
+
var format = {
|
13
|
+
's' : ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
|
14
|
+
'ss': [number + 'sekundi', number + 'sekundit'],
|
15
|
+
'm' : ['ühe minuti', 'üks minut'],
|
16
|
+
'mm': [number + ' minuti', number + ' minutit'],
|
17
|
+
'h' : ['ühe tunni', 'tund aega', 'üks tund'],
|
18
|
+
'hh': [number + ' tunni', number + ' tundi'],
|
19
|
+
'd' : ['ühe päeva', 'üks päev'],
|
20
|
+
'M' : ['kuu aja', 'kuu aega', 'üks kuu'],
|
21
|
+
'MM': [number + ' kuu', number + ' kuud'],
|
22
|
+
'y' : ['ühe aasta', 'aasta', 'üks aasta'],
|
23
|
+
'yy': [number + ' aasta', number + ' aastat']
|
24
|
+
};
|
25
|
+
if (withoutSuffix) {
|
26
|
+
return format[key][2] ? format[key][2] : format[key][1];
|
27
|
+
}
|
28
|
+
return isFuture ? format[key][0] : format[key][1];
|
29
|
+
}
|
30
|
+
|
31
|
+
var et = moment.defineLocale('et', {
|
32
|
+
months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
|
33
|
+
monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
|
34
|
+
weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
|
35
|
+
weekdaysShort : 'P_E_T_K_N_R_L'.split('_'),
|
36
|
+
weekdaysMin : 'P_E_T_K_N_R_L'.split('_'),
|
37
|
+
longDateFormat : {
|
38
|
+
LT : 'H:mm',
|
39
|
+
LTS : 'H:mm:ss',
|
40
|
+
L : 'DD.MM.YYYY',
|
41
|
+
LL : 'D. MMMM YYYY',
|
42
|
+
LLL : 'D. MMMM YYYY H:mm',
|
43
|
+
LLLL : 'dddd, D. MMMM YYYY H:mm'
|
44
|
+
},
|
45
|
+
calendar : {
|
46
|
+
sameDay : '[Täna,] LT',
|
47
|
+
nextDay : '[Homme,] LT',
|
48
|
+
nextWeek : '[Järgmine] dddd LT',
|
49
|
+
lastDay : '[Eile,] LT',
|
50
|
+
lastWeek : '[Eelmine] dddd LT',
|
51
|
+
sameElse : 'L'
|
52
|
+
},
|
53
|
+
relativeTime : {
|
54
|
+
future : '%s pärast',
|
55
|
+
past : '%s tagasi',
|
56
|
+
s : processRelativeTime,
|
57
|
+
ss : processRelativeTime,
|
58
|
+
m : processRelativeTime,
|
59
|
+
mm : processRelativeTime,
|
60
|
+
h : processRelativeTime,
|
61
|
+
hh : processRelativeTime,
|
62
|
+
d : processRelativeTime,
|
63
|
+
dd : '%d päeva',
|
64
|
+
M : processRelativeTime,
|
65
|
+
MM : processRelativeTime,
|
66
|
+
y : processRelativeTime,
|
67
|
+
yy : processRelativeTime
|
68
|
+
},
|
69
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
70
|
+
ordinal : '%d.',
|
71
|
+
week : {
|
72
|
+
dow : 1, // Monday is the first day of the week.
|
73
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
74
|
+
}
|
75
|
+
});
|
76
|
+
|
77
|
+
return et;
|
78
|
+
|
79
|
+
})));
|
@@ -0,0 +1,65 @@
|
|
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 eu = moment.defineLocale('eu', {
|
12
|
+
months : 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split('_'),
|
13
|
+
monthsShort : 'urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.'.split('_'),
|
14
|
+
monthsParseExact : true,
|
15
|
+
weekdays : 'igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata'.split('_'),
|
16
|
+
weekdaysShort : 'ig._al._ar._az._og._ol._lr.'.split('_'),
|
17
|
+
weekdaysMin : 'ig_al_ar_az_og_ol_lr'.split('_'),
|
18
|
+
weekdaysParseExact : true,
|
19
|
+
longDateFormat : {
|
20
|
+
LT : 'HH:mm',
|
21
|
+
LTS : 'HH:mm:ss',
|
22
|
+
L : 'YYYY-MM-DD',
|
23
|
+
LL : 'YYYY[ko] MMMM[ren] D[a]',
|
24
|
+
LLL : 'YYYY[ko] MMMM[ren] D[a] HH:mm',
|
25
|
+
LLLL : 'dddd, YYYY[ko] MMMM[ren] D[a] HH:mm',
|
26
|
+
l : 'YYYY-M-D',
|
27
|
+
ll : 'YYYY[ko] MMM D[a]',
|
28
|
+
lll : 'YYYY[ko] MMM D[a] HH:mm',
|
29
|
+
llll : 'ddd, YYYY[ko] MMM D[a] HH:mm'
|
30
|
+
},
|
31
|
+
calendar : {
|
32
|
+
sameDay : '[gaur] LT[etan]',
|
33
|
+
nextDay : '[bihar] LT[etan]',
|
34
|
+
nextWeek : 'dddd LT[etan]',
|
35
|
+
lastDay : '[atzo] LT[etan]',
|
36
|
+
lastWeek : '[aurreko] dddd LT[etan]',
|
37
|
+
sameElse : 'L'
|
38
|
+
},
|
39
|
+
relativeTime : {
|
40
|
+
future : '%s barru',
|
41
|
+
past : 'duela %s',
|
42
|
+
s : 'segundo batzuk',
|
43
|
+
ss : '%d segundo',
|
44
|
+
m : 'minutu bat',
|
45
|
+
mm : '%d minutu',
|
46
|
+
h : 'ordu bat',
|
47
|
+
hh : '%d ordu',
|
48
|
+
d : 'egun bat',
|
49
|
+
dd : '%d egun',
|
50
|
+
M : 'hilabete bat',
|
51
|
+
MM : '%d hilabete',
|
52
|
+
y : 'urte bat',
|
53
|
+
yy : '%d urte'
|
54
|
+
},
|
55
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
56
|
+
ordinal : '%d.',
|
57
|
+
week : {
|
58
|
+
dow : 1, // Monday is the first day of the week.
|
59
|
+
doy : 7 // The week that contains Jan 7th is the first week of the year.
|
60
|
+
}
|
61
|
+
});
|
62
|
+
|
63
|
+
return eu;
|
64
|
+
|
65
|
+
})));
|
@@ -0,0 +1,105 @@
|
|
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 fa = moment.defineLocale('fa', {
|
36
|
+
months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
37
|
+
monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
38
|
+
weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
39
|
+
weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
40
|
+
weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.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
|
+
meridiemParse: /قبل از ظهر|بعد از ظهر/,
|
51
|
+
isPM: function (input) {
|
52
|
+
return /بعد از ظهر/.test(input);
|
53
|
+
},
|
54
|
+
meridiem : function (hour, minute, isLower) {
|
55
|
+
if (hour < 12) {
|
56
|
+
return 'قبل از ظهر';
|
57
|
+
} else {
|
58
|
+
return 'بعد از ظهر';
|
59
|
+
}
|
60
|
+
},
|
61
|
+
calendar : {
|
62
|
+
sameDay : '[امروز ساعت] LT',
|
63
|
+
nextDay : '[فردا ساعت] LT',
|
64
|
+
nextWeek : 'dddd [ساعت] LT',
|
65
|
+
lastDay : '[دیروز ساعت] LT',
|
66
|
+
lastWeek : 'dddd [پیش] [ساعت] LT',
|
67
|
+
sameElse : 'L'
|
68
|
+
},
|
69
|
+
relativeTime : {
|
70
|
+
future : 'در %s',
|
71
|
+
past : '%s پیش',
|
72
|
+
s : 'چند ثانیه',
|
73
|
+
ss : 'ثانیه d%',
|
74
|
+
m : 'یک دقیقه',
|
75
|
+
mm : '%d دقیقه',
|
76
|
+
h : 'یک ساعت',
|
77
|
+
hh : '%d ساعت',
|
78
|
+
d : 'یک روز',
|
79
|
+
dd : '%d روز',
|
80
|
+
M : 'یک ماه',
|
81
|
+
MM : '%d ماه',
|
82
|
+
y : 'یک سال',
|
83
|
+
yy : '%d سال'
|
84
|
+
},
|
85
|
+
preparse: function (string) {
|
86
|
+
return string.replace(/[۰-۹]/g, function (match) {
|
87
|
+
return numberMap[match];
|
88
|
+
}).replace(/،/g, ',');
|
89
|
+
},
|
90
|
+
postformat: function (string) {
|
91
|
+
return string.replace(/\d/g, function (match) {
|
92
|
+
return symbolMap[match];
|
93
|
+
}).replace(/,/g, '،');
|
94
|
+
},
|
95
|
+
dayOfMonthOrdinalParse: /\d{1,2}م/,
|
96
|
+
ordinal : '%dم',
|
97
|
+
week : {
|
98
|
+
dow : 6, // Saturday is the first day of the week.
|
99
|
+
doy : 12 // The week that contains Jan 12th is the first week of the year.
|
100
|
+
}
|
101
|
+
});
|
102
|
+
|
103
|
+
return fa;
|
104
|
+
|
105
|
+
})));
|