momentjs-rails 2.15.1 → 2.17.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 +1 -1
- data/news.md +3 -0
- data/test/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment.js +3653 -3586
- data/vendor/assets/javascripts/moment/af.js +59 -59
- data/vendor/assets/javascripts/moment/ar-dz.js +59 -0
- data/vendor/assets/javascripts/moment/ar-ly.js +111 -107
- data/vendor/assets/javascripts/moment/ar-ma.js +46 -46
- data/vendor/assets/javascripts/moment/ar-sa.js +90 -89
- data/vendor/assets/javascripts/moment/ar-tn.js +46 -46
- data/vendor/assets/javascripts/moment/ar.js +125 -120
- data/vendor/assets/javascripts/moment/az.js +90 -90
- data/vendor/assets/javascripts/moment/be.js +112 -112
- data/vendor/assets/javascripts/moment/bg.js +74 -74
- data/vendor/assets/javascripts/moment/bn.js +104 -104
- data/vendor/assets/javascripts/moment/bo.js +104 -104
- data/vendor/assets/javascripts/moment/br.js +89 -89
- data/vendor/assets/javascripts/moment/bs.js +125 -125
- data/vendor/assets/javascripts/moment/ca.js +63 -63
- data/vendor/assets/javascripts/moment/cs.js +154 -154
- data/vendor/assets/javascripts/moment/cv.js +49 -49
- data/vendor/assets/javascripts/moment/cy.js +65 -65
- data/vendor/assets/javascripts/moment/da.js +47 -47
- data/vendor/assets/javascripts/moment/de-at.js +62 -62
- data/vendor/assets/javascripts/moment/de.js +62 -62
- data/vendor/assets/javascripts/moment/dv.js +84 -83
- data/vendor/assets/javascripts/moment/el.js +81 -81
- data/vendor/assets/javascripts/moment/en-au.js +54 -54
- data/vendor/assets/javascripts/moment/en-ca.js +50 -50
- data/vendor/assets/javascripts/moment/en-gb.js +54 -54
- data/vendor/assets/javascripts/moment/en-ie.js +54 -54
- data/vendor/assets/javascripts/moment/en-nz.js +54 -54
- data/vendor/assets/javascripts/moment/eo.js +57 -57
- data/vendor/assets/javascripts/moment/es-do.js +63 -63
- data/vendor/assets/javascripts/moment/es.js +63 -63
- data/vendor/assets/javascripts/moment/et.js +64 -64
- data/vendor/assets/javascripts/moment/eu.js +53 -53
- data/vendor/assets/javascripts/moment/fa.js +92 -91
- data/vendor/assets/javascripts/moment/fi.js +92 -92
- data/vendor/assets/javascripts/moment/fo.js +47 -47
- data/vendor/assets/javascripts/moment/fr-ca.js +47 -47
- data/vendor/assets/javascripts/moment/fr-ch.js +51 -51
- data/vendor/assets/javascripts/moment/fr.js +51 -51
- data/vendor/assets/javascripts/moment/fy.js +58 -58
- data/vendor/assets/javascripts/moment/gd.js +58 -58
- data/vendor/assets/javascripts/moment/gl.js +61 -61
- data/vendor/assets/javascripts/moment/he.js +78 -78
- data/vendor/assets/javascripts/moment/hi.js +109 -109
- data/vendor/assets/javascripts/moment/hr.js +128 -128
- data/vendor/assets/javascripts/moment/hu.js +92 -92
- data/vendor/assets/javascripts/moment/hy-am.js +79 -79
- data/vendor/assets/javascripts/moment/id.js +68 -68
- data/vendor/assets/javascripts/moment/is.js +106 -106
- data/vendor/assets/javascripts/moment/it.js +54 -54
- data/vendor/assets/javascripts/moment/ja.js +62 -62
- data/vendor/assets/javascripts/moment/jv.js +69 -69
- data/vendor/assets/javascripts/moment/ka.js +71 -71
- data/vendor/assets/javascripts/moment/kk.js +73 -73
- data/vendor/assets/javascripts/moment/km.js +45 -45
- data/vendor/assets/javascripts/moment/ko.js +51 -51
- data/vendor/assets/javascripts/moment/ky.js +73 -73
- data/vendor/assets/javascripts/moment/lb.js +114 -114
- data/vendor/assets/javascripts/moment/lo.js +56 -56
- data/vendor/assets/javascripts/moment/lt.js +100 -100
- data/vendor/assets/javascripts/moment/lv.js +81 -81
- data/vendor/assets/javascripts/moment/me.js +93 -93
- data/vendor/assets/javascripts/moment/mi.js +51 -51
- data/vendor/assets/javascripts/moment/mk.js +74 -74
- data/vendor/assets/javascripts/moment/ml.js +67 -67
- data/vendor/assets/javascripts/moment/mr.js +139 -139
- data/vendor/assets/javascripts/moment/ms-my.js +68 -68
- data/vendor/assets/javascripts/moment/ms.js +68 -68
- data/vendor/assets/javascripts/moment/my.js +79 -78
- data/vendor/assets/javascripts/moment/nb.js +49 -49
- data/vendor/assets/javascripts/moment/ne.js +108 -108
- data/vendor/assets/javascripts/moment/nl-be.js +86 -0
- data/vendor/assets/javascripts/moment/nl.js +67 -67
- data/vendor/assets/javascripts/moment/nn.js +47 -47
- data/vendor/assets/javascripts/moment/pa-in.js +109 -109
- data/vendor/assets/javascripts/moment/pl.js +88 -88
- data/vendor/assets/javascripts/moment/pt-br.js +47 -47
- data/vendor/assets/javascripts/moment/pt.js +51 -51
- data/vendor/assets/javascripts/moment/ro.js +59 -59
- data/vendor/assets/javascripts/moment/ru.js +153 -153
- data/vendor/assets/javascripts/moment/se.js +47 -47
- data/vendor/assets/javascripts/moment/si.js +57 -57
- data/vendor/assets/javascripts/moment/sk.js +132 -132
- data/vendor/assets/javascripts/moment/sl.js +144 -144
- data/vendor/assets/javascripts/moment/sq.js +55 -55
- data/vendor/assets/javascripts/moment/sr-cyrl.js +93 -93
- data/vendor/assets/javascripts/moment/sr.js +93 -93
- data/vendor/assets/javascripts/moment/ss.js +73 -73
- data/vendor/assets/javascripts/moment/sv.js +56 -56
- data/vendor/assets/javascripts/moment/sw.js +46 -46
- data/vendor/assets/javascripts/moment/ta.js +115 -114
- data/vendor/assets/javascripts/moment/te.js +75 -75
- data/vendor/assets/javascripts/moment/tet.js +68 -0
- data/vendor/assets/javascripts/moment/th.js +53 -53
- data/vendor/assets/javascripts/moment/tl-ph.js +49 -49
- data/vendor/assets/javascripts/moment/tlh.js +100 -100
- data/vendor/assets/javascripts/moment/tr.js +74 -74
- data/vendor/assets/javascripts/moment/tzl.js +75 -75
- data/vendor/assets/javascripts/moment/tzm-latn.js +45 -45
- data/vendor/assets/javascripts/moment/tzm.js +45 -45
- data/vendor/assets/javascripts/moment/uk.js +125 -125
- data/vendor/assets/javascripts/moment/uz.js +45 -45
- data/vendor/assets/javascripts/moment/vi.js +65 -65
- data/vendor/assets/javascripts/moment/x-pseudo.js +55 -55
- data/vendor/assets/javascripts/moment/yo.js +60 -0
- data/vendor/assets/javascripts/moment/zh-cn.js +107 -107
- data/vendor/assets/javascripts/moment/zh-hk.js +89 -89
- data/vendor/assets/javascripts/moment/zh-tw.js +89 -89
- metadata +6 -2
@@ -9,70 +9,70 @@
|
|
9
9
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
10
10
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
11
11
|
factory(global.moment)
|
12
|
-
}(this, function (moment) { 'use strict';
|
12
|
+
}(this, (function (moment) { 'use strict';
|
13
13
|
|
14
14
|
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
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
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
29
|
+
var de = moment.defineLocale('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
|
+
monthsParseExact : true,
|
33
|
+
weekdays : 'Sonntag_Montag_Dienstag_Mittwoch_Donnerstag_Freitag_Samstag'.split('_'),
|
34
|
+
weekdaysShort : 'So._Mo._Di._Mi._Do._Fr._Sa.'.split('_'),
|
35
|
+
weekdaysMin : 'So_Mo_Di_Mi_Do_Fr_Sa'.split('_'),
|
36
|
+
weekdaysParseExact : true,
|
37
|
+
longDateFormat : {
|
38
|
+
LT: 'HH:mm',
|
39
|
+
LTS: 'HH:mm:ss',
|
40
|
+
L : 'DD.MM.YYYY',
|
41
|
+
LL : 'D. MMMM YYYY',
|
42
|
+
LLL : 'D. MMMM YYYY HH:mm',
|
43
|
+
LLLL : 'dddd, D. MMMM YYYY HH:mm'
|
44
|
+
},
|
45
|
+
calendar : {
|
46
|
+
sameDay: '[heute um] LT [Uhr]',
|
47
|
+
sameElse: 'L',
|
48
|
+
nextDay: '[morgen um] LT [Uhr]',
|
49
|
+
nextWeek: 'dddd [um] LT [Uhr]',
|
50
|
+
lastDay: '[gestern um] LT [Uhr]',
|
51
|
+
lastWeek: '[letzten] dddd [um] LT [Uhr]'
|
52
|
+
},
|
53
|
+
relativeTime : {
|
54
|
+
future : 'in %s',
|
55
|
+
past : 'vor %s',
|
56
|
+
s : 'ein paar Sekunden',
|
57
|
+
m : processRelativeTime,
|
58
|
+
mm : '%d Minuten',
|
59
|
+
h : processRelativeTime,
|
60
|
+
hh : '%d Stunden',
|
61
|
+
d : processRelativeTime,
|
62
|
+
dd : processRelativeTime,
|
63
|
+
M : processRelativeTime,
|
64
|
+
MM : processRelativeTime,
|
65
|
+
y : processRelativeTime,
|
66
|
+
yy : processRelativeTime
|
67
|
+
},
|
68
|
+
ordinalParse: /\d{1,2}\./,
|
69
|
+
ordinal : '%d.',
|
70
|
+
week : {
|
71
|
+
dow : 1, // Monday is the first day of the week.
|
72
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
73
|
+
}
|
74
|
+
});
|
75
75
|
|
76
|
-
|
76
|
+
return de;
|
77
77
|
|
78
|
-
}));
|
78
|
+
})));
|
@@ -7,93 +7,94 @@
|
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
8
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
|
-
}(this, function (moment) { 'use strict';
|
10
|
+
}(this, (function (moment) { 'use strict';
|
11
11
|
|
12
12
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
13
|
+
var months = [
|
14
|
+
'ޖެނުއަރީ',
|
15
|
+
'ފެބްރުއަރީ',
|
16
|
+
'މާރިޗު',
|
17
|
+
'އޭޕްރީލު',
|
18
|
+
'މޭ',
|
19
|
+
'ޖޫން',
|
20
|
+
'ޖުލައި',
|
21
|
+
'އޯގަސްޓު',
|
22
|
+
'ސެޕްޓެމްބަރު',
|
23
|
+
'އޮކްޓޯބަރު',
|
24
|
+
'ނޮވެމްބަރު',
|
25
|
+
'ޑިސެމްބަރު'
|
26
|
+
];
|
27
|
+
var weekdays = [
|
28
|
+
'އާދިއްތަ',
|
29
|
+
'ހޯމަ',
|
30
|
+
'އަންގާރަ',
|
31
|
+
'ބުދަ',
|
32
|
+
'ބުރާސްފަތި',
|
33
|
+
'ހުކުރު',
|
34
|
+
'ހޮނިހިރު'
|
35
|
+
];
|
35
36
|
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
37
|
+
var dv = moment.defineLocale('dv', {
|
38
|
+
months : months,
|
39
|
+
monthsShort : months,
|
40
|
+
weekdays : weekdays,
|
41
|
+
weekdaysShort : weekdays,
|
42
|
+
weekdaysMin : 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
|
43
|
+
longDateFormat : {
|
43
44
|
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
}
|
61
|
-
},
|
62
|
-
calendar : {
|
63
|
-
sameDay : '[މިއަދު] LT',
|
64
|
-
nextDay : '[މާދަމާ] LT',
|
65
|
-
nextWeek : 'dddd LT',
|
66
|
-
lastDay : '[އިއްޔެ] LT',
|
67
|
-
lastWeek : '[ފާއިތުވި] dddd LT',
|
68
|
-
sameElse : 'L'
|
69
|
-
},
|
70
|
-
relativeTime : {
|
71
|
-
future : 'ތެރޭގައި %s',
|
72
|
-
past : 'ކުރިން %s',
|
73
|
-
s : 'ސިކުންތުކޮޅެއް',
|
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, ',');
|
87
|
-
},
|
88
|
-
postformat: function (string) {
|
89
|
-
return string.replace(/,/g, '،');
|
90
|
-
},
|
91
|
-
week : {
|
92
|
-
dow : 7, // Sunday is the first day of the week.
|
93
|
-
doy : 12 // The week that contains Jan 1st is the first week of the year.
|
45
|
+
LT : 'HH:mm',
|
46
|
+
LTS : 'HH:mm:ss',
|
47
|
+
L : 'D/M/YYYY',
|
48
|
+
LL : 'D MMMM YYYY',
|
49
|
+
LLL : 'D MMMM YYYY HH:mm',
|
50
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
51
|
+
},
|
52
|
+
meridiemParse: /މކ|މފ/,
|
53
|
+
isPM : function (input) {
|
54
|
+
return 'މފ' === input;
|
55
|
+
},
|
56
|
+
meridiem : function (hour, minute, isLower) {
|
57
|
+
if (hour < 12) {
|
58
|
+
return 'މކ';
|
59
|
+
} else {
|
60
|
+
return 'މފ';
|
94
61
|
}
|
95
|
-
}
|
62
|
+
},
|
63
|
+
calendar : {
|
64
|
+
sameDay : '[މިއަދު] LT',
|
65
|
+
nextDay : '[މާދަމާ] LT',
|
66
|
+
nextWeek : 'dddd LT',
|
67
|
+
lastDay : '[އިއްޔެ] LT',
|
68
|
+
lastWeek : '[ފާއިތުވި] dddd LT',
|
69
|
+
sameElse : 'L'
|
70
|
+
},
|
71
|
+
relativeTime : {
|
72
|
+
future : 'ތެރޭގައި %s',
|
73
|
+
past : 'ކުރިން %s',
|
74
|
+
s : 'ސިކުންތުކޮޅެއް',
|
75
|
+
m : 'މިނިޓެއް',
|
76
|
+
mm : 'މިނިޓު %d',
|
77
|
+
h : 'ގަޑިއިރެއް',
|
78
|
+
hh : 'ގަޑިއިރު %d',
|
79
|
+
d : 'ދުވަހެއް',
|
80
|
+
dd : 'ދުވަސް %d',
|
81
|
+
M : 'މަހެއް',
|
82
|
+
MM : 'މަސް %d',
|
83
|
+
y : 'އަހަރެއް',
|
84
|
+
yy : 'އަހަރު %d'
|
85
|
+
},
|
86
|
+
preparse: function (string) {
|
87
|
+
return string.replace(/،/g, ',');
|
88
|
+
},
|
89
|
+
postformat: function (string) {
|
90
|
+
return string.replace(/,/g, '،');
|
91
|
+
},
|
92
|
+
week : {
|
93
|
+
dow : 7, // Sunday 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
|
+
});
|
96
97
|
|
97
|
-
|
98
|
+
return dv;
|
98
99
|
|
99
|
-
}));
|
100
|
+
})));
|
@@ -7,92 +7,92 @@
|
|
7
7
|
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
8
|
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
9
|
factory(global.moment)
|
10
|
-
}(this, function (moment) { 'use strict';
|
10
|
+
}(this, (function (moment) { 'use strict';
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
function isFunction(input) {
|
13
|
+
return input instanceof Function || Object.prototype.toString.call(input) === '[object Function]';
|
14
|
+
}
|
15
15
|
|
16
16
|
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
}
|
62
|
-
},
|
63
|
-
sameElse : 'L'
|
64
|
-
},
|
65
|
-
calendar : function (key, mom) {
|
66
|
-
var output = this._calendarEl[key],
|
67
|
-
hours = mom && mom.hours();
|
68
|
-
if (isFunction(output)) {
|
69
|
-
output = output.apply(mom);
|
17
|
+
var el = moment.defineLocale('el', {
|
18
|
+
monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
|
19
|
+
monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
|
20
|
+
months : function (momentToFormat, format) {
|
21
|
+
if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
|
22
|
+
return this._monthsGenitiveEl[momentToFormat.month()];
|
23
|
+
} else {
|
24
|
+
return this._monthsNominativeEl[momentToFormat.month()];
|
25
|
+
}
|
26
|
+
},
|
27
|
+
monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
|
28
|
+
weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
|
29
|
+
weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
|
30
|
+
weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
|
31
|
+
meridiem : function (hours, minutes, isLower) {
|
32
|
+
if (hours > 11) {
|
33
|
+
return isLower ? 'μμ' : 'ΜΜ';
|
34
|
+
} else {
|
35
|
+
return isLower ? 'πμ' : 'ΠΜ';
|
36
|
+
}
|
37
|
+
},
|
38
|
+
isPM : function (input) {
|
39
|
+
return ((input + '').toLowerCase()[0] === 'μ');
|
40
|
+
},
|
41
|
+
meridiemParse : /[ΠΜ]\.?Μ?\.?/i,
|
42
|
+
longDateFormat : {
|
43
|
+
LT : 'h:mm A',
|
44
|
+
LTS : 'h:mm:ss A',
|
45
|
+
L : 'DD/MM/YYYY',
|
46
|
+
LL : 'D MMMM YYYY',
|
47
|
+
LLL : 'D MMMM YYYY h:mm A',
|
48
|
+
LLLL : 'dddd, D MMMM YYYY h:mm A'
|
49
|
+
},
|
50
|
+
calendarEl : {
|
51
|
+
sameDay : '[Σήμερα {}] LT',
|
52
|
+
nextDay : '[Αύριο {}] LT',
|
53
|
+
nextWeek : 'dddd [{}] LT',
|
54
|
+
lastDay : '[Χθες {}] LT',
|
55
|
+
lastWeek : function () {
|
56
|
+
switch (this.day()) {
|
57
|
+
case 6:
|
58
|
+
return '[το προηγούμενο] dddd [{}] LT';
|
59
|
+
default:
|
60
|
+
return '[την προηγούμενη] dddd [{}] LT';
|
70
61
|
}
|
71
|
-
return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
|
72
|
-
},
|
73
|
-
relativeTime : {
|
74
|
-
future : 'σε %s',
|
75
|
-
past : '%s πριν',
|
76
|
-
s : 'λίγα δευτερόλεπτα',
|
77
|
-
m : 'ένα λεπτό',
|
78
|
-
mm : '%d λεπτά',
|
79
|
-
h : 'μία ώρα',
|
80
|
-
hh : '%d ώρες',
|
81
|
-
d : 'μία μέρα',
|
82
|
-
dd : '%d μέρες',
|
83
|
-
M : 'ένας μήνας',
|
84
|
-
MM : '%d μήνες',
|
85
|
-
y : 'ένας χρόνος',
|
86
|
-
yy : '%d χρόνια'
|
87
62
|
},
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
63
|
+
sameElse : 'L'
|
64
|
+
},
|
65
|
+
calendar : function (key, mom) {
|
66
|
+
var output = this._calendarEl[key],
|
67
|
+
hours = mom && mom.hours();
|
68
|
+
if (isFunction(output)) {
|
69
|
+
output = output.apply(mom);
|
93
70
|
}
|
94
|
-
|
71
|
+
return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
|
72
|
+
},
|
73
|
+
relativeTime : {
|
74
|
+
future : 'σε %s',
|
75
|
+
past : '%s πριν',
|
76
|
+
s : 'λίγα δευτερόλεπτα',
|
77
|
+
m : 'ένα λεπτό',
|
78
|
+
mm : '%d λεπτά',
|
79
|
+
h : 'μία ώρα',
|
80
|
+
hh : '%d ώρες',
|
81
|
+
d : 'μία μέρα',
|
82
|
+
dd : '%d μέρες',
|
83
|
+
M : 'ένας μήνας',
|
84
|
+
MM : '%d μήνες',
|
85
|
+
y : 'ένας χρόνος',
|
86
|
+
yy : '%d χρόνια'
|
87
|
+
},
|
88
|
+
ordinalParse: /\d{1,2}η/,
|
89
|
+
ordinal: '%dη',
|
90
|
+
week : {
|
91
|
+
dow : 1, // Monday is the first day of the week.
|
92
|
+
doy : 4 // The week that contains Jan 4st is the first week of the year.
|
93
|
+
}
|
94
|
+
});
|
95
95
|
|
96
|
-
|
96
|
+
return el;
|
97
97
|
|
98
|
-
}));
|
98
|
+
})));
|