bootstrap3-datetimepicker-rails 3.0.0.2 → 3.0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +9 -6
- data/lib/bootstrap3-datetimepicker-rails/version.rb +1 -1
- data/vendor/assets/javascripts/bootstrap-datetimepicker.js +476 -346
- data/vendor/assets/javascripts/bootstrap-datetimepicker.min.js +1 -105
- data/vendor/assets/stylesheets/bootstrap-datetimepicker.css +6 -5
- data/vendor/assets/stylesheets/bootstrap-datetimepicker.min.css +2 -1
- metadata +8 -69
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ar-ma.js +0 -56
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ar.js +0 -56
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.bg.js +0 -86
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.br.js +0 -107
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.bs.js +0 -139
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.by.js +0 -153
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ca.js +0 -66
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.cs.js +0 -155
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.cv.js +0 -59
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.da.js +0 -56
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.de.js +0 -71
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.el.js +0 -79
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.en-au.js +0 -62
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.en-ca.js +0 -59
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.en-gb.js +0 -63
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.eo.js +0 -65
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.es.js +0 -66
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.et.js +0 -60
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.eu.js +0 -60
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fa.js +0 -97
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fi.js +0 -103
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fr-ca.js +0 -54
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.fr.js +0 -58
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.gl.js +0 -71
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.he.js +0 -77
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.hi.js +0 -105
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.hr.js +0 -140
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.hu.js +0 -98
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.id.js +0 -67
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.is.js +0 -124
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.it.js +0 -59
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ja.js +0 -58
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ka.js +0 -108
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ko.js +0 -56
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.lt.js +0 -118
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.lv.js +0 -77
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ml.js +0 -64
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.mr.js +0 -104
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ms-my.js +0 -66
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.nb.js +0 -57
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ne.js +0 -105
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.nl.js +0 -67
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.nn.js +0 -56
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pl.js +0 -98
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt-BR.js +0 -56
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.pt.js +0 -60
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ro.js +0 -56
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.ru.js +0 -163
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sk.js +0 -156
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sl.js +0 -144
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sq.js +0 -57
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.sv.js +0 -63
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.th.js +0 -58
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.tr.js +0 -93
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.tzm-la.js +0 -55
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.tzm.js +0 -55
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.uk.js +0 -157
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.uz.js +0 -55
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.vn.js +0 -62
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-CN.js +0 -108
- data/vendor/assets/javascripts/locales/bootstrap-datetimepicker.zh-TW.js +0 -84
@@ -1,59 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : canadian english (en-ca)
|
3
|
-
// author : Jonathan Abourbih : https://github.com/jonbca
|
4
|
-
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory(window.moment); // Browser global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.lang('en-ca', {
|
15
|
-
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
16
|
-
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
17
|
-
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
18
|
-
weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
19
|
-
weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
|
20
|
-
longDateFormat : {
|
21
|
-
LT : "h:mm A",
|
22
|
-
L : "YYYY-MM-DD",
|
23
|
-
LL : "D MMMM, YYYY",
|
24
|
-
LLL : "D MMMM, YYYY LT",
|
25
|
-
LLLL : "dddd, D MMMM, YYYY LT"
|
26
|
-
},
|
27
|
-
calendar : {
|
28
|
-
sameDay : '[Today at] LT',
|
29
|
-
nextDay : '[Tomorrow at] LT',
|
30
|
-
nextWeek : 'dddd [at] LT',
|
31
|
-
lastDay : '[Yesterday at] LT',
|
32
|
-
lastWeek : '[Last] dddd [at] LT',
|
33
|
-
sameElse : 'L'
|
34
|
-
},
|
35
|
-
relativeTime : {
|
36
|
-
future : "in %s",
|
37
|
-
past : "%s ago",
|
38
|
-
s : "a few seconds",
|
39
|
-
m : "a minute",
|
40
|
-
mm : "%d minutes",
|
41
|
-
h : "an hour",
|
42
|
-
hh : "%d hours",
|
43
|
-
d : "a day",
|
44
|
-
dd : "%d days",
|
45
|
-
M : "a month",
|
46
|
-
MM : "%d months",
|
47
|
-
y : "a year",
|
48
|
-
yy : "%d years"
|
49
|
-
},
|
50
|
-
ordinal : function (number) {
|
51
|
-
var b = number % 10,
|
52
|
-
output = (~~ (number % 100 / 10) === 1) ? 'th' :
|
53
|
-
(b === 1) ? 'st' :
|
54
|
-
(b === 2) ? 'nd' :
|
55
|
-
(b === 3) ? 'rd' : 'th';
|
56
|
-
return number + output;
|
57
|
-
}
|
58
|
-
});
|
59
|
-
}));
|
@@ -1,63 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : great britain english (en-gb)
|
3
|
-
// author : Chris Gedrim : https://github.com/chrisgedrim
|
4
|
-
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory(window.moment); // Browser global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.lang('en-gb', {
|
15
|
-
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
16
|
-
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
17
|
-
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
18
|
-
weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
19
|
-
weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
|
20
|
-
longDateFormat : {
|
21
|
-
LT : "HH:mm",
|
22
|
-
L : "DD/MM/YYYY",
|
23
|
-
LL : "D MMMM YYYY",
|
24
|
-
LLL : "D MMMM YYYY LT",
|
25
|
-
LLLL : "dddd, D MMMM YYYY LT"
|
26
|
-
},
|
27
|
-
calendar : {
|
28
|
-
sameDay : '[Today at] LT',
|
29
|
-
nextDay : '[Tomorrow at] LT',
|
30
|
-
nextWeek : 'dddd [at] LT',
|
31
|
-
lastDay : '[Yesterday at] LT',
|
32
|
-
lastWeek : '[Last] dddd [at] LT',
|
33
|
-
sameElse : 'L'
|
34
|
-
},
|
35
|
-
relativeTime : {
|
36
|
-
future : "in %s",
|
37
|
-
past : "%s ago",
|
38
|
-
s : "a few seconds",
|
39
|
-
m : "a minute",
|
40
|
-
mm : "%d minutes",
|
41
|
-
h : "an hour",
|
42
|
-
hh : "%d hours",
|
43
|
-
d : "a day",
|
44
|
-
dd : "%d days",
|
45
|
-
M : "a month",
|
46
|
-
MM : "%d months",
|
47
|
-
y : "a year",
|
48
|
-
yy : "%d years"
|
49
|
-
},
|
50
|
-
ordinal : function (number) {
|
51
|
-
var b = number % 10,
|
52
|
-
output = (~~ (number % 100 / 10) === 1) ? 'th' :
|
53
|
-
(b === 1) ? 'st' :
|
54
|
-
(b === 2) ? 'nd' :
|
55
|
-
(b === 3) ? 'rd' : 'th';
|
56
|
-
return number + output;
|
57
|
-
},
|
58
|
-
week : {
|
59
|
-
dow : 1, // Monday is the first day of the week.
|
60
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
61
|
-
}
|
62
|
-
});
|
63
|
-
}));
|
@@ -1,65 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : esperanto (eo)
|
3
|
-
// author : Colin Dean : https://github.com/colindean
|
4
|
-
// komento: Mi estas malcerta se mi korekte traktis akuzativojn en tiu traduko.
|
5
|
-
// Se ne, bonvolu korekti kaj avizi min por ke mi povas lerni!
|
6
|
-
|
7
|
-
(function (factory) {
|
8
|
-
if (typeof define === 'function' && define.amd) {
|
9
|
-
define(['moment'], factory); // AMD
|
10
|
-
} else if (typeof exports === 'object') {
|
11
|
-
module.exports = factory(require('../moment')); // Node
|
12
|
-
} else {
|
13
|
-
factory(window.moment); // Browser global
|
14
|
-
}
|
15
|
-
}(function (moment) {
|
16
|
-
return moment.lang('eo', {
|
17
|
-
months : "januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro".split("_"),
|
18
|
-
monthsShort : "jan_feb_mar_apr_maj_jun_jul_aŭg_sep_okt_nov_dec".split("_"),
|
19
|
-
weekdays : "Dimanĉo_Lundo_Mardo_Merkredo_Ĵaŭdo_Vendredo_Sabato".split("_"),
|
20
|
-
weekdaysShort : "Dim_Lun_Mard_Merk_Ĵaŭ_Ven_Sab".split("_"),
|
21
|
-
weekdaysMin : "Di_Lu_Ma_Me_Ĵa_Ve_Sa".split("_"),
|
22
|
-
longDateFormat : {
|
23
|
-
LT : "HH:mm",
|
24
|
-
L : "YYYY-MM-DD",
|
25
|
-
LL : "D[-an de] MMMM, YYYY",
|
26
|
-
LLL : "D[-an de] MMMM, YYYY LT",
|
27
|
-
LLLL : "dddd, [la] D[-an de] MMMM, YYYY LT"
|
28
|
-
},
|
29
|
-
meridiem : function (hours, minutes, isLower) {
|
30
|
-
if (hours > 11) {
|
31
|
-
return isLower ? 'p.t.m.' : 'P.T.M.';
|
32
|
-
} else {
|
33
|
-
return isLower ? 'a.t.m.' : 'A.T.M.';
|
34
|
-
}
|
35
|
-
},
|
36
|
-
calendar : {
|
37
|
-
sameDay : '[Hodiaŭ je] LT',
|
38
|
-
nextDay : '[Morgaŭ je] LT',
|
39
|
-
nextWeek : 'dddd [je] LT',
|
40
|
-
lastDay : '[Hieraŭ je] LT',
|
41
|
-
lastWeek : '[pasinta] dddd [je] LT',
|
42
|
-
sameElse : 'L'
|
43
|
-
},
|
44
|
-
relativeTime : {
|
45
|
-
future : "je %s",
|
46
|
-
past : "antaŭ %s",
|
47
|
-
s : "sekundoj",
|
48
|
-
m : "minuto",
|
49
|
-
mm : "%d minutoj",
|
50
|
-
h : "horo",
|
51
|
-
hh : "%d horoj",
|
52
|
-
d : "tago",//ne 'diurno', ĉar estas uzita por proksimumo
|
53
|
-
dd : "%d tagoj",
|
54
|
-
M : "monato",
|
55
|
-
MM : "%d monatoj",
|
56
|
-
y : "jaro",
|
57
|
-
yy : "%d jaroj"
|
58
|
-
},
|
59
|
-
ordinal : "%da",
|
60
|
-
week : {
|
61
|
-
dow : 1, // Monday is the first day of the week.
|
62
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
63
|
-
}
|
64
|
-
});
|
65
|
-
}));
|
@@ -1,66 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : spanish (es)
|
3
|
-
// author : Julio Napurí : https://github.com/julionc
|
4
|
-
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory(window.moment); // Browser global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.lang('es', {
|
15
|
-
months : "enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),
|
16
|
-
monthsShort : "ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),
|
17
|
-
weekdays : "domingo_lunes_martes_miércoles_jueves_viernes_sábado".split("_"),
|
18
|
-
weekdaysShort : "dom._lun._mar._mié._jue._vie._sáb.".split("_"),
|
19
|
-
weekdaysMin : "Do_Lu_Ma_Mi_Ju_Vi_Sá".split("_"),
|
20
|
-
longDateFormat : {
|
21
|
-
LT : "H:mm",
|
22
|
-
L : "DD/MM/YYYY",
|
23
|
-
LL : "D [de] MMMM [de] YYYY",
|
24
|
-
LLL : "D [de] MMMM [de] YYYY LT",
|
25
|
-
LLLL : "dddd, D [de] MMMM [de] YYYY LT"
|
26
|
-
},
|
27
|
-
calendar : {
|
28
|
-
sameDay : function () {
|
29
|
-
return '[hoy a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
30
|
-
},
|
31
|
-
nextDay : function () {
|
32
|
-
return '[mañana a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
33
|
-
},
|
34
|
-
nextWeek : function () {
|
35
|
-
return 'dddd [a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
36
|
-
},
|
37
|
-
lastDay : function () {
|
38
|
-
return '[ayer a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
39
|
-
},
|
40
|
-
lastWeek : function () {
|
41
|
-
return '[el] dddd [pasado a la' + ((this.hours() !== 1) ? 's' : '') + '] LT';
|
42
|
-
},
|
43
|
-
sameElse : 'L'
|
44
|
-
},
|
45
|
-
relativeTime : {
|
46
|
-
future : "en %s",
|
47
|
-
past : "hace %s",
|
48
|
-
s : "unos segundos",
|
49
|
-
m : "un minuto",
|
50
|
-
mm : "%d minutos",
|
51
|
-
h : "una hora",
|
52
|
-
hh : "%d horas",
|
53
|
-
d : "un día",
|
54
|
-
dd : "%d días",
|
55
|
-
M : "un mes",
|
56
|
-
MM : "%d meses",
|
57
|
-
y : "un año",
|
58
|
-
yy : "%d años"
|
59
|
-
},
|
60
|
-
ordinal : '%dº',
|
61
|
-
week : {
|
62
|
-
dow : 1, // Monday is the first day of the week.
|
63
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
64
|
-
}
|
65
|
-
});
|
66
|
-
}));
|
@@ -1,60 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : estonian (et)
|
3
|
-
// author : Henry Kehlmann : https://github.com/madhenry
|
4
|
-
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory(window.moment); // Browser global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
function translateSeconds(number, withoutSuffix, key, isFuture) {
|
15
|
-
return (isFuture || withoutSuffix) ? 'paari sekundi' : 'paar sekundit';
|
16
|
-
}
|
17
|
-
|
18
|
-
return moment.lang('et', {
|
19
|
-
months : "jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember".split("_"),
|
20
|
-
monthsShort : "jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets".split("_"),
|
21
|
-
weekdays : "pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev".split("_"),
|
22
|
-
weekdaysShort : "P_E_T_K_N_R_L".split("_"),
|
23
|
-
weekdaysMin : "P_E_T_K_N_R_L".split("_"),
|
24
|
-
longDateFormat : {
|
25
|
-
LT : "H:mm",
|
26
|
-
L : "DD.MM.YYYY",
|
27
|
-
LL : "D. MMMM YYYY",
|
28
|
-
LLL : "D. MMMM YYYY LT",
|
29
|
-
LLLL : "dddd, D. MMMM YYYY LT"
|
30
|
-
},
|
31
|
-
calendar : {
|
32
|
-
sameDay : '[Täna,] LT',
|
33
|
-
nextDay : '[Homme,] LT',
|
34
|
-
nextWeek : '[Järgmine] dddd LT',
|
35
|
-
lastDay : '[Eile,] LT',
|
36
|
-
lastWeek : '[Eelmine] dddd LT',
|
37
|
-
sameElse : 'L'
|
38
|
-
},
|
39
|
-
relativeTime : {
|
40
|
-
future : "%s pärast",
|
41
|
-
past : "%s tagasi",
|
42
|
-
s : translateSeconds,
|
43
|
-
m : "minut",
|
44
|
-
mm : "%d minutit",
|
45
|
-
h : "tund",
|
46
|
-
hh : "%d tundi",
|
47
|
-
d : "päev",
|
48
|
-
dd : "%d päeva",
|
49
|
-
M : "kuu",
|
50
|
-
MM : "%d kuud",
|
51
|
-
y : "aasta",
|
52
|
-
yy : "%d aastat"
|
53
|
-
},
|
54
|
-
ordinal : '%d.',
|
55
|
-
week : {
|
56
|
-
dow : 1, // Monday is the first day of the week.
|
57
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
58
|
-
}
|
59
|
-
});
|
60
|
-
}));
|
@@ -1,60 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : euskara (eu)
|
3
|
-
// author : Eneko Illarramendi : https://github.com/eillarra
|
4
|
-
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory(window.moment); // Browser global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
return moment.lang('eu', {
|
15
|
-
months : "urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua".split("_"),
|
16
|
-
monthsShort : "urt._ots._mar._api._mai._eka._uzt._abu._ira._urr._aza._abe.".split("_"),
|
17
|
-
weekdays : "igandea_astelehena_asteartea_asteazkena_osteguna_ostirala_larunbata".split("_"),
|
18
|
-
weekdaysShort : "ig._al._ar._az._og._ol._lr.".split("_"),
|
19
|
-
weekdaysMin : "ig_al_ar_az_og_ol_lr".split("_"),
|
20
|
-
longDateFormat : {
|
21
|
-
LT : "HH:mm",
|
22
|
-
L : "YYYY-MM-DD",
|
23
|
-
LL : "YYYY[ko] MMMM[ren] D[a]",
|
24
|
-
LLL : "YYYY[ko] MMMM[ren] D[a] LT",
|
25
|
-
LLLL : "dddd, YYYY[ko] MMMM[ren] D[a] LT",
|
26
|
-
l : "YYYY-M-D",
|
27
|
-
ll : "YYYY[ko] MMM D[a]",
|
28
|
-
lll : "YYYY[ko] MMM D[a] LT",
|
29
|
-
llll : "ddd, YYYY[ko] MMM D[a] LT"
|
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
|
-
m : "minutu bat",
|
44
|
-
mm : "%d minutu",
|
45
|
-
h : "ordu bat",
|
46
|
-
hh : "%d ordu",
|
47
|
-
d : "egun bat",
|
48
|
-
dd : "%d egun",
|
49
|
-
M : "hilabete bat",
|
50
|
-
MM : "%d hilabete",
|
51
|
-
y : "urte bat",
|
52
|
-
yy : "%d urte"
|
53
|
-
},
|
54
|
-
ordinal : '%d.',
|
55
|
-
week : {
|
56
|
-
dow : 1, // Monday is the first day of the week.
|
57
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
58
|
-
}
|
59
|
-
});
|
60
|
-
}));
|
@@ -1,97 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : Persian Language
|
3
|
-
// author : Ebrahim Byagowi : https://github.com/ebraminio
|
4
|
-
|
5
|
-
(function (factory) {
|
6
|
-
if (typeof define === 'function' && define.amd) {
|
7
|
-
define(['moment'], factory); // AMD
|
8
|
-
} else if (typeof exports === 'object') {
|
9
|
-
module.exports = factory(require('../moment')); // Node
|
10
|
-
} else {
|
11
|
-
factory(window.moment); // Browser global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
var symbolMap = {
|
15
|
-
'1': '۱',
|
16
|
-
'2': '۲',
|
17
|
-
'3': '۳',
|
18
|
-
'4': '۴',
|
19
|
-
'5': '۵',
|
20
|
-
'6': '۶',
|
21
|
-
'7': '۷',
|
22
|
-
'8': '۸',
|
23
|
-
'9': '۹',
|
24
|
-
'0': '۰'
|
25
|
-
}, numberMap = {
|
26
|
-
'۱': '1',
|
27
|
-
'۲': '2',
|
28
|
-
'۳': '3',
|
29
|
-
'۴': '4',
|
30
|
-
'۵': '5',
|
31
|
-
'۶': '6',
|
32
|
-
'۷': '7',
|
33
|
-
'۸': '8',
|
34
|
-
'۹': '9',
|
35
|
-
'۰': '0'
|
36
|
-
};
|
37
|
-
|
38
|
-
return moment.lang('fa', {
|
39
|
-
months : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
40
|
-
monthsShort : 'ژانویه_فوریه_مارس_آوریل_مه_ژوئن_ژوئیه_اوت_سپتامبر_اکتبر_نوامبر_دسامبر'.split('_'),
|
41
|
-
weekdays : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
42
|
-
weekdaysShort : 'یک\u200cشنبه_دوشنبه_سه\u200cشنبه_چهارشنبه_پنج\u200cشنبه_جمعه_شنبه'.split('_'),
|
43
|
-
weekdaysMin : 'ی_د_س_چ_پ_ج_ش'.split('_'),
|
44
|
-
longDateFormat : {
|
45
|
-
LT : 'HH:mm',
|
46
|
-
L : 'DD/MM/YYYY',
|
47
|
-
LL : 'D MMMM YYYY',
|
48
|
-
LLL : 'D MMMM YYYY LT',
|
49
|
-
LLLL : 'dddd, D MMMM YYYY LT'
|
50
|
-
},
|
51
|
-
meridiem : function (hour, minute, isLower) {
|
52
|
-
if (hour < 12) {
|
53
|
-
return "قبل از ظهر";
|
54
|
-
} else {
|
55
|
-
return "بعد از ظهر";
|
56
|
-
}
|
57
|
-
},
|
58
|
-
calendar : {
|
59
|
-
sameDay : '[امروز ساعت] LT',
|
60
|
-
nextDay : '[فردا ساعت] LT',
|
61
|
-
nextWeek : 'dddd [ساعت] LT',
|
62
|
-
lastDay : '[دیروز ساعت] LT',
|
63
|
-
lastWeek : 'dddd [پیش] [ساعت] LT',
|
64
|
-
sameElse : 'L'
|
65
|
-
},
|
66
|
-
relativeTime : {
|
67
|
-
future : 'در %s',
|
68
|
-
past : '%s پیش',
|
69
|
-
s : 'چندین ثانیه',
|
70
|
-
m : 'یک دقیقه',
|
71
|
-
mm : '%d دقیقه',
|
72
|
-
h : 'یک ساعت',
|
73
|
-
hh : '%d ساعت',
|
74
|
-
d : 'یک روز',
|
75
|
-
dd : '%d روز',
|
76
|
-
M : 'یک ماه',
|
77
|
-
MM : '%d ماه',
|
78
|
-
y : 'یک سال',
|
79
|
-
yy : '%d سال'
|
80
|
-
},
|
81
|
-
preparse: function (string) {
|
82
|
-
return string.replace(/[۰-۹]/g, function (match) {
|
83
|
-
return numberMap[match];
|
84
|
-
}).replace(/،/g, ',');
|
85
|
-
},
|
86
|
-
postformat: function (string) {
|
87
|
-
return string.replace(/\d/g, function (match) {
|
88
|
-
return symbolMap[match];
|
89
|
-
}).replace(/,/g, '،');
|
90
|
-
},
|
91
|
-
ordinal : '%dم',
|
92
|
-
week : {
|
93
|
-
dow : 6, // Saturday is the first day of the week.
|
94
|
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
95
|
-
}
|
96
|
-
});
|
97
|
-
}));
|