momentjs-rails 2.8.1 → 2.8.2
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 +29 -22
- data/vendor/assets/javascripts/moment/af.js +23 -23
- data/vendor/assets/javascripts/moment/ar-ma.js +24 -24
- data/vendor/assets/javascripts/moment/ar-sa.js +26 -26
- data/vendor/assets/javascripts/moment/ar.js +26 -26
- data/vendor/assets/javascripts/moment/az.js +46 -46
- data/vendor/assets/javascripts/moment/be.js +17 -17
- data/vendor/assets/javascripts/moment/bg.js +23 -23
- data/vendor/assets/javascripts/moment/bn.js +28 -28
- data/vendor/assets/javascripts/moment/bo.js +28 -28
- data/vendor/assets/javascripts/moment/br.js +22 -22
- data/vendor/assets/javascripts/moment/bs.js +17 -17
- data/vendor/assets/javascripts/moment/ca.js +23 -23
- data/vendor/assets/javascripts/moment/cs.js +15 -15
- data/vendor/assets/javascripts/moment/cv.js +23 -23
- data/vendor/assets/javascripts/moment/cy.js +24 -24
- data/vendor/assets/javascripts/moment/da.js +23 -23
- data/vendor/assets/javascripts/moment/de-at.js +17 -17
- data/vendor/assets/javascripts/moment/de.js +17 -17
- data/vendor/assets/javascripts/moment/el.js +30 -26
- data/vendor/assets/javascripts/moment/en-au.js +23 -23
- data/vendor/assets/javascripts/moment/en-ca.js +23 -23
- data/vendor/assets/javascripts/moment/en-gb.js +23 -23
- data/vendor/assets/javascripts/moment/eo.js +24 -24
- data/vendor/assets/javascripts/moment/es.js +24 -24
- data/vendor/assets/javascripts/moment/et.js +12 -12
- data/vendor/assets/javascripts/moment/eu.js +27 -27
- data/vendor/assets/javascripts/moment/fa.js +3 -3
- data/vendor/assets/javascripts/moment/fi.js +19 -19
- data/vendor/assets/javascripts/moment/fo.js +23 -23
- data/vendor/assets/javascripts/moment/fr-ca.js +24 -24
- data/vendor/assets/javascripts/moment/fr.js +24 -24
- data/vendor/assets/javascripts/moment/gl.js +25 -25
- data/vendor/assets/javascripts/moment/he.js +31 -31
- data/vendor/assets/javascripts/moment/hi.js +28 -28
- data/vendor/assets/javascripts/moment/hr.js +17 -17
- data/vendor/assets/javascripts/moment/hu.js +12 -12
- data/vendor/assets/javascripts/moment/hy-am.js +24 -24
- data/vendor/assets/javascripts/moment/id.js +23 -23
- data/vendor/assets/javascripts/moment/is.js +14 -14
- data/vendor/assets/javascripts/moment/it.js +23 -23
- data/vendor/assets/javascripts/moment/ja.js +25 -25
- data/vendor/assets/javascripts/moment/ka.js +26 -26
- data/vendor/assets/javascripts/moment/km.js +23 -23
- data/vendor/assets/javascripts/moment/ko.js +25 -25
- data/vendor/assets/javascripts/moment/lb.js +28 -28
- data/vendor/assets/javascripts/moment/lt.js +38 -38
- data/vendor/assets/javascripts/moment/lv.js +18 -18
- data/vendor/assets/javascripts/moment/mk.js +23 -23
- data/vendor/assets/javascripts/moment/ml.js +28 -28
- data/vendor/assets/javascripts/moment/mr.js +28 -28
- data/vendor/assets/javascripts/moment/ms-my.js +23 -23
- data/vendor/assets/javascripts/moment/my.js +23 -23
- data/vendor/assets/javascripts/moment/nb.js +23 -23
- data/vendor/assets/javascripts/moment/ne.js +29 -29
- data/vendor/assets/javascripts/moment/nl.js +24 -24
- data/vendor/assets/javascripts/moment/nn.js +23 -23
- data/vendor/assets/javascripts/moment/pl.js +18 -18
- data/vendor/assets/javascripts/moment/pt-br.js +23 -23
- data/vendor/assets/javascripts/moment/pt.js +23 -23
- data/vendor/assets/javascripts/moment/ro.js +19 -19
- data/vendor/assets/javascripts/moment/ru.js +18 -18
- data/vendor/assets/javascripts/moment/sk.js +15 -15
- data/vendor/assets/javascripts/moment/sl.js +17 -17
- data/vendor/assets/javascripts/moment/sq.js +23 -23
- data/vendor/assets/javascripts/moment/sr-cyrl.js +11 -11
- data/vendor/assets/javascripts/moment/sr.js +11 -11
- data/vendor/assets/javascripts/moment/sv.js +23 -23
- data/vendor/assets/javascripts/moment/ta.js +29 -29
- data/vendor/assets/javascripts/moment/th.js +25 -25
- data/vendor/assets/javascripts/moment/tl-ph.js +24 -24
- data/vendor/assets/javascripts/moment/tr.js +42 -42
- data/vendor/assets/javascripts/moment/tzm-latn.js +24 -24
- data/vendor/assets/javascripts/moment/tzm.js +24 -24
- data/vendor/assets/javascripts/moment/uk.js +19 -19
- data/vendor/assets/javascripts/moment/uz.js +24 -24
- data/vendor/assets/javascripts/moment/vi.js +28 -28
- data/vendor/assets/javascripts/moment/zh-cn.js +48 -48
- data/vendor/assets/javascripts/moment/zh-tw.js +41 -41
- metadata +2 -2
@@ -12,19 +12,19 @@
|
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('el', {
|
15
|
-
monthsNominativeEl :
|
16
|
-
monthsGenitiveEl :
|
15
|
+
monthsNominativeEl : 'Ιανουάριος_Φεβρουάριος_Μάρτιος_Απρίλιος_Μάιος_Ιούνιος_Ιούλιος_Αύγουστος_Σεπτέμβριος_Οκτώβριος_Νοέμβριος_Δεκέμβριος'.split('_'),
|
16
|
+
monthsGenitiveEl : 'Ιανουαρίου_Φεβρουαρίου_Μαρτίου_Απριλίου_Μαΐου_Ιουνίου_Ιουλίου_Αυγούστου_Σεπτεμβρίου_Οκτωβρίου_Νοεμβρίου_Δεκεμβρίου'.split('_'),
|
17
17
|
months : function (momentToFormat, format) {
|
18
|
-
if (/D/.test(format.substring(0, format.indexOf(
|
18
|
+
if (/D/.test(format.substring(0, format.indexOf('MMMM')))) { // if there is a day number before 'MMMM'
|
19
19
|
return this._monthsGenitiveEl[momentToFormat.month()];
|
20
20
|
} else {
|
21
21
|
return this._monthsNominativeEl[momentToFormat.month()];
|
22
22
|
}
|
23
23
|
},
|
24
|
-
monthsShort :
|
25
|
-
weekdays :
|
26
|
-
weekdaysShort :
|
27
|
-
weekdaysMin :
|
24
|
+
monthsShort : 'Ιαν_Φεβ_Μαρ_Απρ_Μαϊ_Ιουν_Ιουλ_Αυγ_Σεπ_Οκτ_Νοε_Δεκ'.split('_'),
|
25
|
+
weekdays : 'Κυριακή_Δευτέρα_Τρίτη_Τετάρτη_Πέμπτη_Παρασκευή_Σάββατο'.split('_'),
|
26
|
+
weekdaysShort : 'Κυρ_Δευ_Τρι_Τετ_Πεμ_Παρ_Σαβ'.split('_'),
|
27
|
+
weekdaysMin : 'Κυ_Δε_Τρ_Τε_Πε_Πα_Σα'.split('_'),
|
28
28
|
meridiem : function (hours, minutes, isLower) {
|
29
29
|
if (hours > 11) {
|
30
30
|
return isLower ? 'μμ' : 'ΜΜ';
|
@@ -32,12 +32,16 @@
|
|
32
32
|
return isLower ? 'πμ' : 'ΠΜ';
|
33
33
|
}
|
34
34
|
},
|
35
|
+
isPM : function (input) {
|
36
|
+
return ((input + '').toLowerCase()[0] === 'μ');
|
37
|
+
},
|
38
|
+
meridiemParse : /[ΠΜ]\.?Μ?\.?/i,
|
35
39
|
longDateFormat : {
|
36
|
-
LT :
|
37
|
-
L :
|
38
|
-
LL :
|
39
|
-
LLL :
|
40
|
-
LLLL :
|
40
|
+
LT : 'h:mm A',
|
41
|
+
L : 'DD/MM/YYYY',
|
42
|
+
LL : 'D MMMM YYYY',
|
43
|
+
LLL : 'D MMMM YYYY LT',
|
44
|
+
LLLL : 'dddd, D MMMM YYYY LT'
|
41
45
|
},
|
42
46
|
calendarEl : {
|
43
47
|
sameDay : '[Σήμερα {}] LT',
|
@@ -62,22 +66,22 @@
|
|
62
66
|
output = output.apply(mom);
|
63
67
|
}
|
64
68
|
|
65
|
-
return output.replace(
|
69
|
+
return output.replace('{}', (hours % 12 === 1 ? 'στη' : 'στις'));
|
66
70
|
},
|
67
71
|
relativeTime : {
|
68
|
-
future :
|
69
|
-
past :
|
70
|
-
s :
|
71
|
-
m :
|
72
|
-
mm :
|
73
|
-
h :
|
74
|
-
hh :
|
75
|
-
d :
|
76
|
-
dd :
|
77
|
-
M :
|
78
|
-
MM :
|
79
|
-
y :
|
80
|
-
yy :
|
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 χρόνια'
|
81
85
|
},
|
82
86
|
ordinal : function (number) {
|
83
87
|
return number + 'η';
|
@@ -11,17 +11,17 @@
|
|
11
11
|
}
|
12
12
|
}(function (moment) {
|
13
13
|
return moment.defineLocale('en-au', {
|
14
|
-
months :
|
15
|
-
monthsShort :
|
16
|
-
weekdays :
|
17
|
-
weekdaysShort :
|
18
|
-
weekdaysMin :
|
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
19
|
longDateFormat : {
|
20
|
-
LT :
|
21
|
-
L :
|
22
|
-
LL :
|
23
|
-
LLL :
|
24
|
-
LLLL :
|
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
25
|
},
|
26
26
|
calendar : {
|
27
27
|
sameDay : '[Today at] LT',
|
@@ -32,19 +32,19 @@
|
|
32
32
|
sameElse : 'L'
|
33
33
|
},
|
34
34
|
relativeTime : {
|
35
|
-
future :
|
36
|
-
past :
|
37
|
-
s :
|
38
|
-
m :
|
39
|
-
mm :
|
40
|
-
h :
|
41
|
-
hh :
|
42
|
-
d :
|
43
|
-
dd :
|
44
|
-
M :
|
45
|
-
MM :
|
46
|
-
y :
|
47
|
-
yy :
|
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
48
|
},
|
49
49
|
ordinal : function (number) {
|
50
50
|
var b = number % 10,
|
@@ -12,17 +12,17 @@
|
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('en-ca', {
|
15
|
-
months :
|
16
|
-
monthsShort :
|
17
|
-
weekdays :
|
18
|
-
weekdaysShort :
|
19
|
-
weekdaysMin :
|
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
20
|
longDateFormat : {
|
21
|
-
LT :
|
22
|
-
L :
|
23
|
-
LL :
|
24
|
-
LLL :
|
25
|
-
LLLL :
|
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
26
|
},
|
27
27
|
calendar : {
|
28
28
|
sameDay : '[Today at] LT',
|
@@ -33,19 +33,19 @@
|
|
33
33
|
sameElse : 'L'
|
34
34
|
},
|
35
35
|
relativeTime : {
|
36
|
-
future :
|
37
|
-
past :
|
38
|
-
s :
|
39
|
-
m :
|
40
|
-
mm :
|
41
|
-
h :
|
42
|
-
hh :
|
43
|
-
d :
|
44
|
-
dd :
|
45
|
-
M :
|
46
|
-
MM :
|
47
|
-
y :
|
48
|
-
yy :
|
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
49
|
},
|
50
50
|
ordinal : function (number) {
|
51
51
|
var b = number % 10,
|
@@ -12,17 +12,17 @@
|
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('en-gb', {
|
15
|
-
months :
|
16
|
-
monthsShort :
|
17
|
-
weekdays :
|
18
|
-
weekdaysShort :
|
19
|
-
weekdaysMin :
|
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
20
|
longDateFormat : {
|
21
|
-
LT :
|
22
|
-
L :
|
23
|
-
LL :
|
24
|
-
LLL :
|
25
|
-
LLLL :
|
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
26
|
},
|
27
27
|
calendar : {
|
28
28
|
sameDay : '[Today at] LT',
|
@@ -33,19 +33,19 @@
|
|
33
33
|
sameElse : 'L'
|
34
34
|
},
|
35
35
|
relativeTime : {
|
36
|
-
future :
|
37
|
-
past :
|
38
|
-
s :
|
39
|
-
m :
|
40
|
-
mm :
|
41
|
-
h :
|
42
|
-
hh :
|
43
|
-
d :
|
44
|
-
dd :
|
45
|
-
M :
|
46
|
-
MM :
|
47
|
-
y :
|
48
|
-
yy :
|
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
49
|
},
|
50
50
|
ordinal : function (number) {
|
51
51
|
var b = number % 10,
|
@@ -14,17 +14,17 @@
|
|
14
14
|
}
|
15
15
|
}(function (moment) {
|
16
16
|
return moment.defineLocale('eo', {
|
17
|
-
months :
|
18
|
-
monthsShort :
|
19
|
-
weekdays :
|
20
|
-
weekdaysShort :
|
21
|
-
weekdaysMin :
|
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
22
|
longDateFormat : {
|
23
|
-
LT :
|
24
|
-
L :
|
25
|
-
LL :
|
26
|
-
LLL :
|
27
|
-
LLLL :
|
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
28
|
},
|
29
29
|
meridiem : function (hours, minutes, isLower) {
|
30
30
|
if (hours > 11) {
|
@@ -42,21 +42,21 @@
|
|
42
42
|
sameElse : 'L'
|
43
43
|
},
|
44
44
|
relativeTime : {
|
45
|
-
future :
|
46
|
-
past :
|
47
|
-
s :
|
48
|
-
m :
|
49
|
-
mm :
|
50
|
-
h :
|
51
|
-
hh :
|
52
|
-
d :
|
53
|
-
dd :
|
54
|
-
M :
|
55
|
-
MM :
|
56
|
-
y :
|
57
|
-
yy :
|
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
58
|
},
|
59
|
-
ordinal :
|
59
|
+
ordinal : '%da',
|
60
60
|
week : {
|
61
61
|
dow : 1, // Monday is the first day of the week.
|
62
62
|
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
@@ -11,11 +11,11 @@
|
|
11
11
|
factory(window.moment); // Browser global
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
|
-
var monthsShortDot =
|
15
|
-
monthsShort =
|
14
|
+
var monthsShortDot = 'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split('_'),
|
15
|
+
monthsShort = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_');
|
16
16
|
|
17
17
|
return moment.defineLocale('es', {
|
18
|
-
months :
|
18
|
+
months : 'enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre'.split('_'),
|
19
19
|
monthsShort : function (m, format) {
|
20
20
|
if (/-MMM-/.test(format)) {
|
21
21
|
return monthsShort[m.month()];
|
@@ -23,15 +23,15 @@
|
|
23
23
|
return monthsShortDot[m.month()];
|
24
24
|
}
|
25
25
|
},
|
26
|
-
weekdays :
|
27
|
-
weekdaysShort :
|
28
|
-
weekdaysMin :
|
26
|
+
weekdays : 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
27
|
+
weekdaysShort : 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
28
|
+
weekdaysMin : 'Do_Lu_Ma_Mi_Ju_Vi_Sá'.split('_'),
|
29
29
|
longDateFormat : {
|
30
|
-
LT :
|
31
|
-
L :
|
32
|
-
LL :
|
33
|
-
LLL :
|
34
|
-
LLLL :
|
30
|
+
LT : 'H:mm',
|
31
|
+
L : 'DD/MM/YYYY',
|
32
|
+
LL : 'D [de] MMMM [de] YYYY',
|
33
|
+
LLL : 'D [de] MMMM [de] YYYY LT',
|
34
|
+
LLLL : 'dddd, D [de] MMMM [de] YYYY LT'
|
35
35
|
},
|
36
36
|
calendar : {
|
37
37
|
sameDay : function () {
|
@@ -52,19 +52,19 @@
|
|
52
52
|
sameElse : 'L'
|
53
53
|
},
|
54
54
|
relativeTime : {
|
55
|
-
future :
|
56
|
-
past :
|
57
|
-
s :
|
58
|
-
m :
|
59
|
-
mm :
|
60
|
-
h :
|
61
|
-
hh :
|
62
|
-
d :
|
63
|
-
dd :
|
64
|
-
M :
|
65
|
-
MM :
|
66
|
-
y :
|
67
|
-
yy :
|
55
|
+
future : 'en %s',
|
56
|
+
past : 'hace %s',
|
57
|
+
s : 'unos segundos',
|
58
|
+
m : 'un minuto',
|
59
|
+
mm : '%d minutos',
|
60
|
+
h : 'una hora',
|
61
|
+
hh : '%d horas',
|
62
|
+
d : 'un día',
|
63
|
+
dd : '%d días',
|
64
|
+
M : 'un mes',
|
65
|
+
MM : '%d meses',
|
66
|
+
y : 'un año',
|
67
|
+
yy : '%d años'
|
68
68
|
},
|
69
69
|
ordinal : '%dº',
|
70
70
|
week : {
|
@@ -32,17 +32,17 @@
|
|
32
32
|
}
|
33
33
|
|
34
34
|
return moment.defineLocale('et', {
|
35
|
-
months :
|
36
|
-
monthsShort :
|
37
|
-
weekdays :
|
38
|
-
weekdaysShort :
|
39
|
-
weekdaysMin :
|
35
|
+
months : 'jaanuar_veebruar_märts_aprill_mai_juuni_juuli_august_september_oktoober_november_detsember'.split('_'),
|
36
|
+
monthsShort : 'jaan_veebr_märts_apr_mai_juuni_juuli_aug_sept_okt_nov_dets'.split('_'),
|
37
|
+
weekdays : 'pühapäev_esmaspäev_teisipäev_kolmapäev_neljapäev_reede_laupäev'.split('_'),
|
38
|
+
weekdaysShort : 'P_E_T_K_N_R_L'.split('_'),
|
39
|
+
weekdaysMin : 'P_E_T_K_N_R_L'.split('_'),
|
40
40
|
longDateFormat : {
|
41
|
-
LT :
|
42
|
-
L :
|
43
|
-
LL :
|
44
|
-
LLL :
|
45
|
-
LLLL :
|
41
|
+
LT : 'H:mm',
|
42
|
+
L : 'DD.MM.YYYY',
|
43
|
+
LL : 'D. MMMM YYYY',
|
44
|
+
LLL : 'D. MMMM YYYY LT',
|
45
|
+
LLLL : 'dddd, D. MMMM YYYY LT'
|
46
46
|
},
|
47
47
|
calendar : {
|
48
48
|
sameDay : '[Täna,] LT',
|
@@ -53,8 +53,8 @@
|
|
53
53
|
sameElse : 'L'
|
54
54
|
},
|
55
55
|
relativeTime : {
|
56
|
-
future :
|
57
|
-
past :
|
56
|
+
future : '%s pärast',
|
57
|
+
past : '%s tagasi',
|
58
58
|
s : processRelativeTime,
|
59
59
|
m : processRelativeTime,
|
60
60
|
mm : processRelativeTime,
|
@@ -12,21 +12,21 @@
|
|
12
12
|
}
|
13
13
|
}(function (moment) {
|
14
14
|
return moment.defineLocale('eu', {
|
15
|
-
months :
|
16
|
-
monthsShort :
|
17
|
-
weekdays :
|
18
|
-
weekdaysShort :
|
19
|
-
weekdaysMin :
|
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
20
|
longDateFormat : {
|
21
|
-
LT :
|
22
|
-
L :
|
23
|
-
LL :
|
24
|
-
LLL :
|
25
|
-
LLLL :
|
26
|
-
l :
|
27
|
-
ll :
|
28
|
-
lll :
|
29
|
-
llll :
|
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
30
|
},
|
31
31
|
calendar : {
|
32
32
|
sameDay : '[gaur] LT[etan]',
|
@@ -37,19 +37,19 @@
|
|
37
37
|
sameElse : 'L'
|
38
38
|
},
|
39
39
|
relativeTime : {
|
40
|
-
future :
|
41
|
-
past :
|
42
|
-
s :
|
43
|
-
m :
|
44
|
-
mm :
|
45
|
-
h :
|
46
|
-
hh :
|
47
|
-
d :
|
48
|
-
dd :
|
49
|
-
M :
|
50
|
-
MM :
|
51
|
-
y :
|
52
|
-
yy :
|
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
53
|
},
|
54
54
|
ordinal : '%d.',
|
55
55
|
week : {
|