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,140 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : hrvatski (hr)
|
3
|
-
// author : Bojan Marković : https://github.com/bmarkovic
|
4
|
-
|
5
|
-
// based on (sl) translation by Robert Sedovšek
|
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
|
-
|
17
|
-
function translate(number, withoutSuffix, key) {
|
18
|
-
var result = number + " ";
|
19
|
-
switch (key) {
|
20
|
-
case 'm':
|
21
|
-
return withoutSuffix ? 'jedna minuta' : 'jedne minute';
|
22
|
-
case 'mm':
|
23
|
-
if (number === 1) {
|
24
|
-
result += 'minuta';
|
25
|
-
} else if (number === 2 || number === 3 || number === 4) {
|
26
|
-
result += 'minute';
|
27
|
-
} else {
|
28
|
-
result += 'minuta';
|
29
|
-
}
|
30
|
-
return result;
|
31
|
-
case 'h':
|
32
|
-
return withoutSuffix ? 'jedan sat' : 'jednog sata';
|
33
|
-
case 'hh':
|
34
|
-
if (number === 1) {
|
35
|
-
result += 'sat';
|
36
|
-
} else if (number === 2 || number === 3 || number === 4) {
|
37
|
-
result += 'sata';
|
38
|
-
} else {
|
39
|
-
result += 'sati';
|
40
|
-
}
|
41
|
-
return result;
|
42
|
-
case 'dd':
|
43
|
-
if (number === 1) {
|
44
|
-
result += 'dan';
|
45
|
-
} else {
|
46
|
-
result += 'dana';
|
47
|
-
}
|
48
|
-
return result;
|
49
|
-
case 'MM':
|
50
|
-
if (number === 1) {
|
51
|
-
result += 'mjesec';
|
52
|
-
} else if (number === 2 || number === 3 || number === 4) {
|
53
|
-
result += 'mjeseca';
|
54
|
-
} else {
|
55
|
-
result += 'mjeseci';
|
56
|
-
}
|
57
|
-
return result;
|
58
|
-
case 'yy':
|
59
|
-
if (number === 1) {
|
60
|
-
result += 'godina';
|
61
|
-
} else if (number === 2 || number === 3 || number === 4) {
|
62
|
-
result += 'godine';
|
63
|
-
} else {
|
64
|
-
result += 'godina';
|
65
|
-
}
|
66
|
-
return result;
|
67
|
-
}
|
68
|
-
}
|
69
|
-
|
70
|
-
return moment.lang('hr', {
|
71
|
-
months : "sječanj_veljača_ožujak_travanj_svibanj_lipanj_srpanj_kolovoz_rujan_listopad_studeni_prosinac".split("_"),
|
72
|
-
monthsShort : "sje._vel._ožu._tra._svi._lip._srp._kol._ruj._lis._stu._pro.".split("_"),
|
73
|
-
weekdays : "nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota".split("_"),
|
74
|
-
weekdaysShort : "ned._pon._uto._sri._čet._pet._sub.".split("_"),
|
75
|
-
weekdaysMin : "ne_po_ut_sr_če_pe_su".split("_"),
|
76
|
-
longDateFormat : {
|
77
|
-
LT : "H:mm",
|
78
|
-
L : "DD. MM. YYYY",
|
79
|
-
LL : "D. MMMM YYYY",
|
80
|
-
LLL : "D. MMMM YYYY LT",
|
81
|
-
LLLL : "dddd, D. MMMM YYYY LT"
|
82
|
-
},
|
83
|
-
calendar : {
|
84
|
-
sameDay : '[danas u] LT',
|
85
|
-
nextDay : '[sutra u] LT',
|
86
|
-
|
87
|
-
nextWeek : function () {
|
88
|
-
switch (this.day()) {
|
89
|
-
case 0:
|
90
|
-
return '[u] [nedjelju] [u] LT';
|
91
|
-
case 3:
|
92
|
-
return '[u] [srijedu] [u] LT';
|
93
|
-
case 6:
|
94
|
-
return '[u] [subotu] [u] LT';
|
95
|
-
case 1:
|
96
|
-
case 2:
|
97
|
-
case 4:
|
98
|
-
case 5:
|
99
|
-
return '[u] dddd [u] LT';
|
100
|
-
}
|
101
|
-
},
|
102
|
-
lastDay : '[jučer u] LT',
|
103
|
-
lastWeek : function () {
|
104
|
-
switch (this.day()) {
|
105
|
-
case 0:
|
106
|
-
case 3:
|
107
|
-
return '[prošlu] dddd [u] LT';
|
108
|
-
case 6:
|
109
|
-
return '[prošle] [subote] [u] LT';
|
110
|
-
case 1:
|
111
|
-
case 2:
|
112
|
-
case 4:
|
113
|
-
case 5:
|
114
|
-
return '[prošli] dddd [u] LT';
|
115
|
-
}
|
116
|
-
},
|
117
|
-
sameElse : 'L'
|
118
|
-
},
|
119
|
-
relativeTime : {
|
120
|
-
future : "za %s",
|
121
|
-
past : "prije %s",
|
122
|
-
s : "par sekundi",
|
123
|
-
m : translate,
|
124
|
-
mm : translate,
|
125
|
-
h : translate,
|
126
|
-
hh : translate,
|
127
|
-
d : "dan",
|
128
|
-
dd : translate,
|
129
|
-
M : "mjesec",
|
130
|
-
MM : translate,
|
131
|
-
y : "godinu",
|
132
|
-
yy : translate
|
133
|
-
},
|
134
|
-
ordinal : '%d.',
|
135
|
-
week : {
|
136
|
-
dow : 1, // Monday is the first day of the week.
|
137
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
138
|
-
}
|
139
|
-
});
|
140
|
-
}));
|
@@ -1,98 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : hungarian (hu)
|
3
|
-
// author : Adam Brunner : https://github.com/adambrunner
|
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 weekEndings = 'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
|
15
|
-
|
16
|
-
function translate(number, withoutSuffix, key, isFuture) {
|
17
|
-
var num = number,
|
18
|
-
suffix;
|
19
|
-
|
20
|
-
switch (key) {
|
21
|
-
case 's':
|
22
|
-
return (isFuture || withoutSuffix) ? 'néhány másodperc' : 'néhány másodperce';
|
23
|
-
case 'm':
|
24
|
-
return 'egy' + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
25
|
-
case 'mm':
|
26
|
-
return num + (isFuture || withoutSuffix ? ' perc' : ' perce');
|
27
|
-
case 'h':
|
28
|
-
return 'egy' + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
29
|
-
case 'hh':
|
30
|
-
return num + (isFuture || withoutSuffix ? ' óra' : ' órája');
|
31
|
-
case 'd':
|
32
|
-
return 'egy' + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
33
|
-
case 'dd':
|
34
|
-
return num + (isFuture || withoutSuffix ? ' nap' : ' napja');
|
35
|
-
case 'M':
|
36
|
-
return 'egy' + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
37
|
-
case 'MM':
|
38
|
-
return num + (isFuture || withoutSuffix ? ' hónap' : ' hónapja');
|
39
|
-
case 'y':
|
40
|
-
return 'egy' + (isFuture || withoutSuffix ? ' év' : ' éve');
|
41
|
-
case 'yy':
|
42
|
-
return num + (isFuture || withoutSuffix ? ' év' : ' éve');
|
43
|
-
}
|
44
|
-
|
45
|
-
return '';
|
46
|
-
}
|
47
|
-
|
48
|
-
function week(isFuture) {
|
49
|
-
return (isFuture ? '' : '[múlt] ') + '[' + weekEndings[this.day()] + '] LT[-kor]';
|
50
|
-
}
|
51
|
-
|
52
|
-
return moment.lang('hu', {
|
53
|
-
months : "január_február_március_április_május_június_július_augusztus_szeptember_október_november_december".split("_"),
|
54
|
-
monthsShort : "jan_feb_márc_ápr_máj_jún_júl_aug_szept_okt_nov_dec".split("_"),
|
55
|
-
weekdays : "vasárnap_hétfő_kedd_szerda_csütörtök_péntek_szombat".split("_"),
|
56
|
-
weekdaysShort : "vas_hét_kedd_sze_csüt_pén_szo".split("_"),
|
57
|
-
weekdaysMin : "v_h_k_sze_cs_p_szo".split("_"),
|
58
|
-
longDateFormat : {
|
59
|
-
LT : "H:mm",
|
60
|
-
L : "YYYY.MM.DD.",
|
61
|
-
LL : "YYYY. MMMM D.",
|
62
|
-
LLL : "YYYY. MMMM D., LT",
|
63
|
-
LLLL : "YYYY. MMMM D., dddd LT"
|
64
|
-
},
|
65
|
-
calendar : {
|
66
|
-
sameDay : '[ma] LT[-kor]',
|
67
|
-
nextDay : '[holnap] LT[-kor]',
|
68
|
-
nextWeek : function () {
|
69
|
-
return week.call(this, true);
|
70
|
-
},
|
71
|
-
lastDay : '[tegnap] LT[-kor]',
|
72
|
-
lastWeek : function () {
|
73
|
-
return week.call(this, false);
|
74
|
-
},
|
75
|
-
sameElse : 'L'
|
76
|
-
},
|
77
|
-
relativeTime : {
|
78
|
-
future : "%s múlva",
|
79
|
-
past : "%s",
|
80
|
-
s : translate,
|
81
|
-
m : translate,
|
82
|
-
mm : translate,
|
83
|
-
h : translate,
|
84
|
-
hh : translate,
|
85
|
-
d : translate,
|
86
|
-
dd : translate,
|
87
|
-
M : translate,
|
88
|
-
MM : translate,
|
89
|
-
y : translate,
|
90
|
-
yy : translate
|
91
|
-
},
|
92
|
-
ordinal : '%d.',
|
93
|
-
week : {
|
94
|
-
dow : 1, // Monday is the first day of the week.
|
95
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
96
|
-
}
|
97
|
-
});
|
98
|
-
}));
|
@@ -1,67 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : Bahasa Indonesia (id)
|
3
|
-
// author : Mohammad Satrio Utomo : https://github.com/tyok
|
4
|
-
// reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
|
5
|
-
|
6
|
-
(function (factory) {
|
7
|
-
if (typeof define === 'function' && define.amd) {
|
8
|
-
define(['moment'], factory); // AMD
|
9
|
-
} else if (typeof exports === 'object') {
|
10
|
-
module.exports = factory(require('../moment')); // Node
|
11
|
-
} else {
|
12
|
-
factory(window.moment); // Browser global
|
13
|
-
}
|
14
|
-
}(function (moment) {
|
15
|
-
return moment.lang('id', {
|
16
|
-
months : "Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember".split("_"),
|
17
|
-
monthsShort : "Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des".split("_"),
|
18
|
-
weekdays : "Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu".split("_"),
|
19
|
-
weekdaysShort : "Min_Sen_Sel_Rab_Kam_Jum_Sab".split("_"),
|
20
|
-
weekdaysMin : "Mg_Sn_Sl_Rb_Km_Jm_Sb".split("_"),
|
21
|
-
longDateFormat : {
|
22
|
-
LT : "HH.mm",
|
23
|
-
L : "DD/MM/YYYY",
|
24
|
-
LL : "D MMMM YYYY",
|
25
|
-
LLL : "D MMMM YYYY [pukul] LT",
|
26
|
-
LLLL : "dddd, D MMMM YYYY [pukul] LT"
|
27
|
-
},
|
28
|
-
meridiem : function (hours, minutes, isLower) {
|
29
|
-
if (hours < 11) {
|
30
|
-
return 'pagi';
|
31
|
-
} else if (hours < 15) {
|
32
|
-
return 'siang';
|
33
|
-
} else if (hours < 19) {
|
34
|
-
return 'sore';
|
35
|
-
} else {
|
36
|
-
return 'malam';
|
37
|
-
}
|
38
|
-
},
|
39
|
-
calendar : {
|
40
|
-
sameDay : '[Hari ini pukul] LT',
|
41
|
-
nextDay : '[Besok pukul] LT',
|
42
|
-
nextWeek : 'dddd [pukul] LT',
|
43
|
-
lastDay : '[Kemarin pukul] LT',
|
44
|
-
lastWeek : 'dddd [lalu pukul] LT',
|
45
|
-
sameElse : 'L'
|
46
|
-
},
|
47
|
-
relativeTime : {
|
48
|
-
future : "dalam %s",
|
49
|
-
past : "%s yang lalu",
|
50
|
-
s : "beberapa detik",
|
51
|
-
m : "semenit",
|
52
|
-
mm : "%d menit",
|
53
|
-
h : "sejam",
|
54
|
-
hh : "%d jam",
|
55
|
-
d : "sehari",
|
56
|
-
dd : "%d hari",
|
57
|
-
M : "sebulan",
|
58
|
-
MM : "%d bulan",
|
59
|
-
y : "setahun",
|
60
|
-
yy : "%d tahun"
|
61
|
-
},
|
62
|
-
week : {
|
63
|
-
dow : 1, // Monday is the first day of the week.
|
64
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
65
|
-
}
|
66
|
-
});
|
67
|
-
}));
|
@@ -1,124 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : icelandic (is)
|
3
|
-
// author : Hinrik Örn Sigurðsson : https://github.com/hinrik
|
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 plural(n) {
|
15
|
-
if (n % 100 === 11) {
|
16
|
-
return true;
|
17
|
-
} else if (n % 10 === 1) {
|
18
|
-
return false;
|
19
|
-
}
|
20
|
-
return true;
|
21
|
-
}
|
22
|
-
|
23
|
-
function translate(number, withoutSuffix, key, isFuture) {
|
24
|
-
var result = number + " ";
|
25
|
-
switch (key) {
|
26
|
-
case 's':
|
27
|
-
return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
|
28
|
-
case 'm':
|
29
|
-
return withoutSuffix ? 'mínúta' : 'mínútu';
|
30
|
-
case 'mm':
|
31
|
-
if (plural(number)) {
|
32
|
-
return result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum');
|
33
|
-
} else if (withoutSuffix) {
|
34
|
-
return result + 'mínúta';
|
35
|
-
}
|
36
|
-
return result + 'mínútu';
|
37
|
-
case 'hh':
|
38
|
-
if (plural(number)) {
|
39
|
-
return result + (withoutSuffix || isFuture ? 'klukkustundir' : 'klukkustundum');
|
40
|
-
}
|
41
|
-
return result + 'klukkustund';
|
42
|
-
case 'd':
|
43
|
-
if (withoutSuffix) {
|
44
|
-
return 'dagur';
|
45
|
-
}
|
46
|
-
return isFuture ? 'dag' : 'degi';
|
47
|
-
case 'dd':
|
48
|
-
if (plural(number)) {
|
49
|
-
if (withoutSuffix) {
|
50
|
-
return result + 'dagar';
|
51
|
-
}
|
52
|
-
return result + (isFuture ? 'daga' : 'dögum');
|
53
|
-
} else if (withoutSuffix) {
|
54
|
-
return result + 'dagur';
|
55
|
-
}
|
56
|
-
return result + (isFuture ? 'dag' : 'degi');
|
57
|
-
case 'M':
|
58
|
-
if (withoutSuffix) {
|
59
|
-
return 'mánuður';
|
60
|
-
}
|
61
|
-
return isFuture ? 'mánuð' : 'mánuði';
|
62
|
-
case 'MM':
|
63
|
-
if (plural(number)) {
|
64
|
-
if (withoutSuffix) {
|
65
|
-
return result + 'mánuðir';
|
66
|
-
}
|
67
|
-
return result + (isFuture ? 'mánuði' : 'mánuðum');
|
68
|
-
} else if (withoutSuffix) {
|
69
|
-
return result + 'mánuður';
|
70
|
-
}
|
71
|
-
return result + (isFuture ? 'mánuð' : 'mánuði');
|
72
|
-
case 'y':
|
73
|
-
return withoutSuffix || isFuture ? 'ár' : 'ári';
|
74
|
-
case 'yy':
|
75
|
-
if (plural(number)) {
|
76
|
-
return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
|
77
|
-
}
|
78
|
-
return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
|
-
return moment.lang('is', {
|
83
|
-
months : "janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember".split("_"),
|
84
|
-
monthsShort : "jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des".split("_"),
|
85
|
-
weekdays : "sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur".split("_"),
|
86
|
-
weekdaysShort : "sun_mán_þri_mið_fim_fös_lau".split("_"),
|
87
|
-
weekdaysMin : "Su_Má_Þr_Mi_Fi_Fö_La".split("_"),
|
88
|
-
longDateFormat : {
|
89
|
-
LT : "H:mm",
|
90
|
-
L : "DD/MM/YYYY",
|
91
|
-
LL : "D. MMMM YYYY",
|
92
|
-
LLL : "D. MMMM YYYY [kl.] LT",
|
93
|
-
LLLL : "dddd, D. MMMM YYYY [kl.] LT"
|
94
|
-
},
|
95
|
-
calendar : {
|
96
|
-
sameDay : '[í dag kl.] LT',
|
97
|
-
nextDay : '[á morgun kl.] LT',
|
98
|
-
nextWeek : 'dddd [kl.] LT',
|
99
|
-
lastDay : '[í gær kl.] LT',
|
100
|
-
lastWeek : '[síðasta] dddd [kl.] LT',
|
101
|
-
sameElse : 'L'
|
102
|
-
},
|
103
|
-
relativeTime : {
|
104
|
-
future : "eftir %s",
|
105
|
-
past : "fyrir %s síðan",
|
106
|
-
s : translate,
|
107
|
-
m : translate,
|
108
|
-
mm : translate,
|
109
|
-
h : "klukkustund",
|
110
|
-
hh : translate,
|
111
|
-
d : translate,
|
112
|
-
dd : translate,
|
113
|
-
M : translate,
|
114
|
-
MM : translate,
|
115
|
-
y : translate,
|
116
|
-
yy : translate
|
117
|
-
},
|
118
|
-
ordinal : '%d.',
|
119
|
-
week : {
|
120
|
-
dow : 1, // Monday is the first day of the week.
|
121
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
122
|
-
}
|
123
|
-
});
|
124
|
-
}));
|
@@ -1,59 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : italian (it)
|
3
|
-
// author : Lorenzo : https://github.com/aliem
|
4
|
-
// author: Mattia Larentis: https://github.com/nostalgiaz
|
5
|
-
|
6
|
-
(function (factory) {
|
7
|
-
if (typeof define === 'function' && define.amd) {
|
8
|
-
define(['moment'], factory); // AMD
|
9
|
-
} else if (typeof exports === 'object') {
|
10
|
-
module.exports = factory(require('../moment')); // Node
|
11
|
-
} else {
|
12
|
-
factory(window.moment); // Browser global
|
13
|
-
}
|
14
|
-
}(function (moment) {
|
15
|
-
return moment.lang('it', {
|
16
|
-
months : "Gennaio_Febbraio_Marzo_Aprile_Maggio_Giugno_Luglio_Agosto_Settembre_Ottobre_Novembre_Dicembre".split("_"),
|
17
|
-
monthsShort : "Gen_Feb_Mar_Apr_Mag_Giu_Lug_Ago_Set_Ott_Nov_Dic".split("_"),
|
18
|
-
weekdays : "Domenica_Lunedì_Martedì_Mercoledì_Giovedì_Venerdì_Sabato".split("_"),
|
19
|
-
weekdaysShort : "Dom_Lun_Mar_Mer_Gio_Ven_Sab".split("_"),
|
20
|
-
weekdaysMin : "D_L_Ma_Me_G_V_S".split("_"),
|
21
|
-
longDateFormat : {
|
22
|
-
LT : "HH:mm",
|
23
|
-
L : "DD/MM/YYYY",
|
24
|
-
LL : "D MMMM YYYY",
|
25
|
-
LLL : "D MMMM YYYY LT",
|
26
|
-
LLLL : "dddd, D MMMM YYYY LT"
|
27
|
-
},
|
28
|
-
calendar : {
|
29
|
-
sameDay: '[Oggi alle] LT',
|
30
|
-
nextDay: '[Domani alle] LT',
|
31
|
-
nextWeek: 'dddd [alle] LT',
|
32
|
-
lastDay: '[Ieri alle] LT',
|
33
|
-
lastWeek: '[lo scorso] dddd [alle] LT',
|
34
|
-
sameElse: 'L'
|
35
|
-
},
|
36
|
-
relativeTime : {
|
37
|
-
future : function (s) {
|
38
|
-
return ((/^[0-9].+$/).test(s) ? "tra" : "in") + " " + s;
|
39
|
-
},
|
40
|
-
past : "%s fa",
|
41
|
-
s : "secondi",
|
42
|
-
m : "un minuto",
|
43
|
-
mm : "%d minuti",
|
44
|
-
h : "un'ora",
|
45
|
-
hh : "%d ore",
|
46
|
-
d : "un giorno",
|
47
|
-
dd : "%d giorni",
|
48
|
-
M : "un mese",
|
49
|
-
MM : "%d mesi",
|
50
|
-
y : "un anno",
|
51
|
-
yy : "%d anni"
|
52
|
-
},
|
53
|
-
ordinal: '%dº',
|
54
|
-
week : {
|
55
|
-
dow : 1, // Monday is the first day of the week.
|
56
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
57
|
-
}
|
58
|
-
});
|
59
|
-
}));
|