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,155 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : czech (cs)
|
3
|
-
// author : petrbela : https://github.com/petrbela
|
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 months = "leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec".split("_"),
|
15
|
-
monthsShort = "led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro".split("_");
|
16
|
-
|
17
|
-
function plural(n) {
|
18
|
-
return (n > 1) && (n < 5) && (~~(n / 10) !== 1);
|
19
|
-
}
|
20
|
-
|
21
|
-
function translate(number, withoutSuffix, key, isFuture) {
|
22
|
-
var result = number + " ";
|
23
|
-
switch (key) {
|
24
|
-
case 's': // a few seconds / in a few seconds / a few seconds ago
|
25
|
-
return (withoutSuffix || isFuture) ? 'pár vteřin' : 'pár vteřinami';
|
26
|
-
case 'm': // a minute / in a minute / a minute ago
|
27
|
-
return withoutSuffix ? 'minuta' : (isFuture ? 'minutu' : 'minutou');
|
28
|
-
case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
|
29
|
-
if (withoutSuffix || isFuture) {
|
30
|
-
return result + (plural(number) ? 'minuty' : 'minut');
|
31
|
-
} else {
|
32
|
-
return result + 'minutami';
|
33
|
-
}
|
34
|
-
break;
|
35
|
-
case 'h': // an hour / in an hour / an hour ago
|
36
|
-
return withoutSuffix ? 'hodina' : (isFuture ? 'hodinu' : 'hodinou');
|
37
|
-
case 'hh': // 9 hours / in 9 hours / 9 hours ago
|
38
|
-
if (withoutSuffix || isFuture) {
|
39
|
-
return result + (plural(number) ? 'hodiny' : 'hodin');
|
40
|
-
} else {
|
41
|
-
return result + 'hodinami';
|
42
|
-
}
|
43
|
-
break;
|
44
|
-
case 'd': // a day / in a day / a day ago
|
45
|
-
return (withoutSuffix || isFuture) ? 'den' : 'dnem';
|
46
|
-
case 'dd': // 9 days / in 9 days / 9 days ago
|
47
|
-
if (withoutSuffix || isFuture) {
|
48
|
-
return result + (plural(number) ? 'dny' : 'dní');
|
49
|
-
} else {
|
50
|
-
return result + 'dny';
|
51
|
-
}
|
52
|
-
break;
|
53
|
-
case 'M': // a month / in a month / a month ago
|
54
|
-
return (withoutSuffix || isFuture) ? 'měsíc' : 'měsícem';
|
55
|
-
case 'MM': // 9 months / in 9 months / 9 months ago
|
56
|
-
if (withoutSuffix || isFuture) {
|
57
|
-
return result + (plural(number) ? 'měsíce' : 'měsíců');
|
58
|
-
} else {
|
59
|
-
return result + 'měsíci';
|
60
|
-
}
|
61
|
-
break;
|
62
|
-
case 'y': // a year / in a year / a year ago
|
63
|
-
return (withoutSuffix || isFuture) ? 'rok' : 'rokem';
|
64
|
-
case 'yy': // 9 years / in 9 years / 9 years ago
|
65
|
-
if (withoutSuffix || isFuture) {
|
66
|
-
return result + (plural(number) ? 'roky' : 'let');
|
67
|
-
} else {
|
68
|
-
return result + 'lety';
|
69
|
-
}
|
70
|
-
break;
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
return moment.lang('cs', {
|
75
|
-
months : months,
|
76
|
-
monthsShort : monthsShort,
|
77
|
-
monthsParse : (function (months, monthsShort) {
|
78
|
-
var i, _monthsParse = [];
|
79
|
-
for (i = 0; i < 12; i++) {
|
80
|
-
// use custom parser to solve problem with July (červenec)
|
81
|
-
_monthsParse[i] = new RegExp('^' + months[i] + '$|^' + monthsShort[i] + '$', 'i');
|
82
|
-
}
|
83
|
-
return _monthsParse;
|
84
|
-
}(months, monthsShort)),
|
85
|
-
weekdays : "neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota".split("_"),
|
86
|
-
weekdaysShort : "ne_po_út_st_čt_pá_so".split("_"),
|
87
|
-
weekdaysMin : "ne_po_út_st_čt_pá_so".split("_"),
|
88
|
-
longDateFormat : {
|
89
|
-
LT: "H:mm",
|
90
|
-
L : "DD.MM.YYYY",
|
91
|
-
LL : "D. MMMM YYYY",
|
92
|
-
LLL : "D. MMMM YYYY LT",
|
93
|
-
LLLL : "dddd D. MMMM YYYY LT"
|
94
|
-
},
|
95
|
-
calendar : {
|
96
|
-
sameDay: "[dnes v] LT",
|
97
|
-
nextDay: '[zítra v] LT',
|
98
|
-
nextWeek: function () {
|
99
|
-
switch (this.day()) {
|
100
|
-
case 0:
|
101
|
-
return '[v neděli v] LT';
|
102
|
-
case 1:
|
103
|
-
case 2:
|
104
|
-
return '[v] dddd [v] LT';
|
105
|
-
case 3:
|
106
|
-
return '[ve středu v] LT';
|
107
|
-
case 4:
|
108
|
-
return '[ve čtvrtek v] LT';
|
109
|
-
case 5:
|
110
|
-
return '[v pátek v] LT';
|
111
|
-
case 6:
|
112
|
-
return '[v sobotu v] LT';
|
113
|
-
}
|
114
|
-
},
|
115
|
-
lastDay: '[včera v] LT',
|
116
|
-
lastWeek: function () {
|
117
|
-
switch (this.day()) {
|
118
|
-
case 0:
|
119
|
-
return '[minulou neděli v] LT';
|
120
|
-
case 1:
|
121
|
-
case 2:
|
122
|
-
return '[minulé] dddd [v] LT';
|
123
|
-
case 3:
|
124
|
-
return '[minulou středu v] LT';
|
125
|
-
case 4:
|
126
|
-
case 5:
|
127
|
-
return '[minulý] dddd [v] LT';
|
128
|
-
case 6:
|
129
|
-
return '[minulou sobotu v] LT';
|
130
|
-
}
|
131
|
-
},
|
132
|
-
sameElse: "L"
|
133
|
-
},
|
134
|
-
relativeTime : {
|
135
|
-
future : "za %s",
|
136
|
-
past : "před %s",
|
137
|
-
s : translate,
|
138
|
-
m : translate,
|
139
|
-
mm : translate,
|
140
|
-
h : translate,
|
141
|
-
hh : translate,
|
142
|
-
d : translate,
|
143
|
-
dd : translate,
|
144
|
-
M : translate,
|
145
|
-
MM : translate,
|
146
|
-
y : translate,
|
147
|
-
yy : translate
|
148
|
-
},
|
149
|
-
ordinal : '%d.',
|
150
|
-
week : {
|
151
|
-
dow : 1, // Monday is the first day of the week.
|
152
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
153
|
-
}
|
154
|
-
});
|
155
|
-
}));
|
@@ -1,59 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : chuvash (cv)
|
3
|
-
// author : Anatoly Mironov : https://github.com/mirontoli
|
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('cv', {
|
15
|
-
months : "кăрлач_нарăс_пуш_ака_май_çĕртме_утă_çурла_авăн_юпа_чӳк_раштав".split("_"),
|
16
|
-
monthsShort : "кăр_нар_пуш_ака_май_çĕр_утă_çур_ав_юпа_чӳк_раш".split("_"),
|
17
|
-
weekdays : "вырсарникун_тунтикун_ытларикун_юнкун_кĕçнерникун_эрнекун_шăматкун".split("_"),
|
18
|
-
weekdaysShort : "выр_тун_ытл_юн_кĕç_эрн_шăм".split("_"),
|
19
|
-
weekdaysMin : "вр_тн_ыт_юн_кç_эр_шм".split("_"),
|
20
|
-
longDateFormat : {
|
21
|
-
LT : "HH:mm",
|
22
|
-
L : "DD-MM-YYYY",
|
23
|
-
LL : "YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ]",
|
24
|
-
LLL : "YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT",
|
25
|
-
LLLL : "dddd, YYYY [çулхи] MMMM [уйăхĕн] D[-мĕшĕ], LT"
|
26
|
-
},
|
27
|
-
calendar : {
|
28
|
-
sameDay: '[Паян] LT [сехетре]',
|
29
|
-
nextDay: '[Ыран] LT [сехетре]',
|
30
|
-
lastDay: '[Ĕнер] LT [сехетре]',
|
31
|
-
nextWeek: '[Çитес] dddd LT [сехетре]',
|
32
|
-
lastWeek: '[Иртнĕ] dddd LT [сехетре]',
|
33
|
-
sameElse: 'L'
|
34
|
-
},
|
35
|
-
relativeTime : {
|
36
|
-
future : function (output) {
|
37
|
-
var affix = /сехет$/i.exec(output) ? "рен" : /çул$/i.exec(output) ? "тан" : "ран";
|
38
|
-
return output + affix;
|
39
|
-
},
|
40
|
-
past : "%s каялла",
|
41
|
-
s : "пĕр-ик çеккунт",
|
42
|
-
m : "пĕр минут",
|
43
|
-
mm : "%d минут",
|
44
|
-
h : "пĕр сехет",
|
45
|
-
hh : "%d сехет",
|
46
|
-
d : "пĕр кун",
|
47
|
-
dd : "%d кун",
|
48
|
-
M : "пĕр уйăх",
|
49
|
-
MM : "%d уйăх",
|
50
|
-
y : "пĕр çул",
|
51
|
-
yy : "%d çул"
|
52
|
-
},
|
53
|
-
ordinal : '%d-мĕш',
|
54
|
-
week : {
|
55
|
-
dow : 1, // Monday is the first day of the week.
|
56
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
57
|
-
}
|
58
|
-
});
|
59
|
-
}));
|
@@ -1,56 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : danish (da)
|
3
|
-
// author : Ulrik Nielsen : https://github.com/mrbase
|
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('da', {
|
15
|
-
months : "januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december".split("_"),
|
16
|
-
monthsShort : "jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),
|
17
|
-
weekdays : "søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag".split("_"),
|
18
|
-
weekdaysShort : "søn_man_tir_ons_tor_fre_lør".split("_"),
|
19
|
-
weekdaysMin : "sø_ma_ti_on_to_fr_lø".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 : '[I dag kl.] LT',
|
29
|
-
nextDay : '[I morgen kl.] LT',
|
30
|
-
nextWeek : 'dddd [kl.] LT',
|
31
|
-
lastDay : '[I går kl.] LT',
|
32
|
-
lastWeek : '[sidste] dddd [kl] LT',
|
33
|
-
sameElse : 'L'
|
34
|
-
},
|
35
|
-
relativeTime : {
|
36
|
-
future : "om %s",
|
37
|
-
past : "%s siden",
|
38
|
-
s : "få sekunder",
|
39
|
-
m : "et minut",
|
40
|
-
mm : "%d minutter",
|
41
|
-
h : "en time",
|
42
|
-
hh : "%d timer",
|
43
|
-
d : "en dag",
|
44
|
-
dd : "%d dage",
|
45
|
-
M : "en måned",
|
46
|
-
MM : "%d måneder",
|
47
|
-
y : "et år",
|
48
|
-
yy : "%d år"
|
49
|
-
},
|
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
|
-
}));
|
@@ -1,71 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : german (de)
|
3
|
-
// author : lluchs : https://github.com/lluchs
|
4
|
-
// author: Menelion Elensúle: https://github.com/Oire
|
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
|
-
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
16
|
-
var format = {
|
17
|
-
'm': ['eine Minute', 'einer Minute'],
|
18
|
-
'h': ['eine Stunde', 'einer Stunde'],
|
19
|
-
'd': ['ein Tag', 'einem Tag'],
|
20
|
-
'dd': [number + ' Tage', number + ' Tagen'],
|
21
|
-
'M': ['ein Monat', 'einem Monat'],
|
22
|
-
'MM': [number + ' Monate', number + ' Monaten'],
|
23
|
-
'y': ['ein Jahr', 'einem Jahr'],
|
24
|
-
'yy': [number + ' Jahre', number + ' Jahren']
|
25
|
-
};
|
26
|
-
return withoutSuffix ? format[key][0] : format[key][1];
|
27
|
-
}
|
28
|
-
|
29
|
-
return moment.lang('de', {
|
30
|
-
months : "Januar_Februar_März_April_Mai_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),
|
31
|
-
monthsShort : "Jan._Febr._Mrz._Apr._Mai_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),
|
32
|
-
weekdays : "Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag".split("_"),
|
33
|
-
weekdaysShort : "So._Mo._Di._Mi._Do._Fr._Sa.".split("_"),
|
34
|
-
weekdaysMin : "So_Mo_Di_Mi_Do_Fr_Sa".split("_"),
|
35
|
-
longDateFormat : {
|
36
|
-
LT: "H:mm [Uhr]",
|
37
|
-
L : "DD.MM.YYYY",
|
38
|
-
LL : "D. MMMM YYYY",
|
39
|
-
LLL : "D. MMMM YYYY LT",
|
40
|
-
LLLL : "dddd, D. MMMM YYYY LT"
|
41
|
-
},
|
42
|
-
calendar : {
|
43
|
-
sameDay: "[Heute um] LT",
|
44
|
-
sameElse: "L",
|
45
|
-
nextDay: '[Morgen um] LT',
|
46
|
-
nextWeek: 'dddd [um] LT',
|
47
|
-
lastDay: '[Gestern um] LT',
|
48
|
-
lastWeek: '[letzten] dddd [um] LT'
|
49
|
-
},
|
50
|
-
relativeTime : {
|
51
|
-
future : "in %s",
|
52
|
-
past : "vor %s",
|
53
|
-
s : "ein paar Sekunden",
|
54
|
-
m : processRelativeTime,
|
55
|
-
mm : "%d Minuten",
|
56
|
-
h : processRelativeTime,
|
57
|
-
hh : "%d Stunden",
|
58
|
-
d : processRelativeTime,
|
59
|
-
dd : processRelativeTime,
|
60
|
-
M : processRelativeTime,
|
61
|
-
MM : processRelativeTime,
|
62
|
-
y : processRelativeTime,
|
63
|
-
yy : processRelativeTime
|
64
|
-
},
|
65
|
-
ordinal : '%d.',
|
66
|
-
week : {
|
67
|
-
dow : 1, // Monday is the first day of the week.
|
68
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
69
|
-
}
|
70
|
-
});
|
71
|
-
}));
|
@@ -1,79 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : modern greek (el)
|
3
|
-
// author : Aggelos Karalias : https://github.com/mehiel
|
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('el', {
|
15
|
-
monthsNominativeEl : "Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος".split("_"),
|
16
|
-
monthsGenitiveEl : "Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου".split("_"),
|
17
|
-
months : function (momentToFormat, format) {
|
18
|
-
if (/D/.test(format.substring(0, format.indexOf("MMMM")))) { // if there is a day number before 'MMMM'
|
19
|
-
return this._monthsGenitiveEl[momentToFormat.month()];
|
20
|
-
} else {
|
21
|
-
return this._monthsNominativeEl[momentToFormat.month()];
|
22
|
-
}
|
23
|
-
},
|
24
|
-
monthsShort : "Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ".split("_"),
|
25
|
-
weekdays : "Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο".split("_"),
|
26
|
-
weekdaysShort : "Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ".split("_"),
|
27
|
-
weekdaysMin : "Κυ_Δε_Τρ_Τε_Πε_Πα_Σα".split("_"),
|
28
|
-
meridiem : function (hours, minutes, isLower) {
|
29
|
-
if (hours > 11) {
|
30
|
-
return isLower ? 'μμ' : 'ΜΜ';
|
31
|
-
} else {
|
32
|
-
return isLower ? 'πμ' : 'ΠΜ';
|
33
|
-
}
|
34
|
-
},
|
35
|
-
longDateFormat : {
|
36
|
-
LT : "h:mm A",
|
37
|
-
L : "DD/MM/YYYY",
|
38
|
-
LL : "D MMMM YYYY",
|
39
|
-
LLL : "D MMMM YYYY LT",
|
40
|
-
LLLL : "dddd, D MMMM YYYY LT"
|
41
|
-
},
|
42
|
-
calendarEl : {
|
43
|
-
sameDay : '[Σήμερα {}] LT',
|
44
|
-
nextDay : '[Αύριο {}] LT',
|
45
|
-
nextWeek : 'dddd [{}] LT',
|
46
|
-
lastDay : '[Χθες {}] LT',
|
47
|
-
lastWeek : '[την προηγούμενη] dddd [{}] LT',
|
48
|
-
sameElse : 'L'
|
49
|
-
},
|
50
|
-
calendar : function (key, mom) {
|
51
|
-
var output = this._calendarEl[key],
|
52
|
-
hours = mom && mom.hours();
|
53
|
-
|
54
|
-
return output.replace("{}", (hours % 12 === 1 ? "στη" : "στις"));
|
55
|
-
},
|
56
|
-
relativeTime : {
|
57
|
-
future : "σε %s",
|
58
|
-
past : "%s πριν",
|
59
|
-
s : "δευτερόλεπτα",
|
60
|
-
m : "ένα λεπτό",
|
61
|
-
mm : "%d λεπτά",
|
62
|
-
h : "μία ώρα",
|
63
|
-
hh : "%d ώρες",
|
64
|
-
d : "μία μέρα",
|
65
|
-
dd : "%d μέρες",
|
66
|
-
M : "ένας μήνας",
|
67
|
-
MM : "%d μήνες",
|
68
|
-
y : "ένας χρόνος",
|
69
|
-
yy : "%d χρόνια"
|
70
|
-
},
|
71
|
-
ordinal : function (number) {
|
72
|
-
return number + 'η';
|
73
|
-
},
|
74
|
-
week : {
|
75
|
-
dow : 1, // Monday is the first day of the week.
|
76
|
-
doy : 4 // The week that contains Jan 4st is the first week of the year.
|
77
|
-
}
|
78
|
-
});
|
79
|
-
}));
|
@@ -1,62 +0,0 @@
|
|
1
|
-
// moment.js language configuration
|
2
|
-
// language : australian english (en-au)
|
3
|
-
|
4
|
-
(function (factory) {
|
5
|
-
if (typeof define === 'function' && define.amd) {
|
6
|
-
define(['moment'], factory); // AMD
|
7
|
-
} else if (typeof exports === 'object') {
|
8
|
-
module.exports = factory(require('../moment')); // Node
|
9
|
-
} else {
|
10
|
-
factory(window.moment); // Browser global
|
11
|
-
}
|
12
|
-
}(function (moment) {
|
13
|
-
return moment.lang('en-au', {
|
14
|
-
months : "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
|
15
|
-
monthsShort : "Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),
|
16
|
-
weekdays : "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
|
17
|
-
weekdaysShort : "Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),
|
18
|
-
weekdaysMin : "Su_Mo_Tu_We_Th_Fr_Sa".split("_"),
|
19
|
-
longDateFormat : {
|
20
|
-
LT : "h:mm A",
|
21
|
-
L : "DD/MM/YYYY",
|
22
|
-
LL : "D MMMM YYYY",
|
23
|
-
LLL : "D MMMM YYYY LT",
|
24
|
-
LLLL : "dddd, D MMMM YYYY LT"
|
25
|
-
},
|
26
|
-
calendar : {
|
27
|
-
sameDay : '[Today at] LT',
|
28
|
-
nextDay : '[Tomorrow at] LT',
|
29
|
-
nextWeek : 'dddd [at] LT',
|
30
|
-
lastDay : '[Yesterday at] LT',
|
31
|
-
lastWeek : '[Last] dddd [at] LT',
|
32
|
-
sameElse : 'L'
|
33
|
-
},
|
34
|
-
relativeTime : {
|
35
|
-
future : "in %s",
|
36
|
-
past : "%s ago",
|
37
|
-
s : "a few seconds",
|
38
|
-
m : "a minute",
|
39
|
-
mm : "%d minutes",
|
40
|
-
h : "an hour",
|
41
|
-
hh : "%d hours",
|
42
|
-
d : "a day",
|
43
|
-
dd : "%d days",
|
44
|
-
M : "a month",
|
45
|
-
MM : "%d months",
|
46
|
-
y : "a year",
|
47
|
-
yy : "%d years"
|
48
|
-
},
|
49
|
-
ordinal : function (number) {
|
50
|
-
var b = number % 10,
|
51
|
-
output = (~~ (number % 100 / 10) === 1) ? 'th' :
|
52
|
-
(b === 1) ? 'st' :
|
53
|
-
(b === 2) ? 'nd' :
|
54
|
-
(b === 3) ? 'rd' : 'th';
|
55
|
-
return number + output;
|
56
|
-
},
|
57
|
-
week : {
|
58
|
-
dow : 1, // Monday is the first day of the week.
|
59
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
60
|
-
}
|
61
|
-
});
|
62
|
-
}));
|