momentjs-rails 2.9.0 → 2.20.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/MIT-LICENSE +1 -1
- data/README.md +13 -11
- data/news.md +24 -7
- data/test/dummy/tmp/cache/assets/D1C/680/sprockets%2F16ed4d5afdb2919596e6f8790e2116c2 +0 -0
- data/test/dummy/tmp/cache/assets/D35/CA0/sprockets%2F493e64bce2d302801dc01cf7cd096a58 +0 -0
- data/test/dummy/tmp/cache/assets/D3F/5F0/sprockets%2F4a6c53eae7c6e41a69a191578bbb6417 +0 -0
- data/test/dummy/tmp/cache/assets/D58/BD0/sprockets%2F4de9ddc9b725c715a54c98697b2528fe +0 -0
- data/test/dummy/tmp/cache/assets/D75/510/sprockets%2Fe690787ac522f47a6be024bfcc1767ee +0 -0
- data/test/dummy/tmp/cache/assets/E10/250/sprockets%2Fe4badb9ddfda484eb9671bf88567be61 +0 -0
- data/test/integration/navigation_test.rb +1 -2
- data/vendor/assets/javascripts/moment/af.js +72 -69
- data/vendor/assets/javascripts/moment/ar-dz.js +60 -0
- data/vendor/assets/javascripts/moment/ar-kw.js +60 -0
- data/vendor/assets/javascripts/moment/ar-ly.js +127 -0
- data/vendor/assets/javascripts/moment/ar-ma.js +59 -55
- data/vendor/assets/javascripts/moment/ar-sa.js +103 -98
- data/vendor/assets/javascripts/moment/ar-tn.js +58 -53
- data/vendor/assets/javascripts/moment/ar.js +140 -131
- data/vendor/assets/javascripts/moment/az.js +100 -101
- data/vendor/assets/javascripts/moment/be.js +106 -125
- data/vendor/assets/javascripts/moment/bg.js +78 -75
- data/vendor/assets/javascripts/moment/bm.js +60 -0
- data/vendor/assets/javascripts/moment/bn.js +117 -108
- data/vendor/assets/javascripts/moment/bo.js +117 -105
- data/vendor/assets/javascripts/moment/br.js +92 -92
- data/vendor/assets/javascripts/moment/bs.js +81 -68
- data/vendor/assets/javascripts/moment/ca.js +83 -71
- data/vendor/assets/javascripts/moment/cs.js +102 -79
- data/vendor/assets/javascripts/moment/cv.js +62 -59
- data/vendor/assets/javascripts/moment/cy.js +78 -75
- data/vendor/assets/javascripts/moment/da.js +59 -56
- data/vendor/assets/javascripts/moment/de-at.js +77 -71
- data/vendor/assets/javascripts/moment/de-ch.js +79 -0
- data/vendor/assets/javascripts/moment/de.js +76 -70
- data/vendor/assets/javascripts/moment/dv.js +101 -0
- data/vendor/assets/javascripts/moment/el.js +96 -89
- data/vendor/assets/javascripts/moment/en-au.js +66 -62
- data/vendor/assets/javascripts/moment/en-ca.js +62 -59
- data/vendor/assets/javascripts/moment/en-gb.js +66 -63
- data/vendor/assets/javascripts/moment/en-ie.js +68 -0
- data/vendor/assets/javascripts/moment/en-nz.js +68 -0
- data/vendor/assets/javascripts/moment/eo.js +72 -69
- data/vendor/assets/javascripts/moment/es-do.js +92 -0
- data/vendor/assets/javascripts/moment/es-us.js +84 -0
- data/vendor/assets/javascripts/moment/es.js +87 -71
- data/vendor/assets/javascripts/moment/et.js +78 -74
- data/vendor/assets/javascripts/moment/eu.js +65 -60
- data/vendor/assets/javascripts/moment/fa.js +105 -100
- data/vendor/assets/javascripts/moment/fi.js +77 -74
- data/vendor/assets/javascripts/moment/fo.js +59 -56
- data/vendor/assets/javascripts/moment/fr-ca.js +73 -54
- data/vendor/assets/javascripts/moment/fr-ch.js +79 -0
- data/vendor/assets/javascripts/moment/fr.js +82 -58
- data/vendor/assets/javascripts/moment/fy.js +73 -66
- data/vendor/assets/javascripts/moment/gd.js +77 -0
- data/vendor/assets/javascripts/moment/gl.js +74 -69
- data/vendor/assets/javascripts/moment/gom-latn.js +124 -0
- data/vendor/assets/javascripts/moment/gu.js +125 -0
- data/vendor/assets/javascripts/moment/he.js +95 -75
- data/vendor/assets/javascripts/moment/hi.js +122 -118
- data/vendor/assets/javascripts/moment/hr.js +82 -68
- data/vendor/assets/javascripts/moment/hu.js +82 -82
- data/vendor/assets/javascripts/moment/hy-am.js +80 -102
- data/vendor/assets/javascripts/moment/id.js +82 -79
- data/vendor/assets/javascripts/moment/is.js +75 -68
- data/vendor/assets/javascripts/moment/it.js +68 -65
- data/vendor/assets/javascripts/moment/ja.js +79 -61
- data/vendor/assets/javascripts/moment/jv.js +84 -0
- data/vendor/assets/javascripts/moment/ka.js +82 -101
- data/vendor/assets/javascripts/moment/kk.js +88 -0
- data/vendor/assets/javascripts/moment/km.js +57 -54
- data/vendor/assets/javascripts/moment/kn.js +127 -0
- data/vendor/assets/javascripts/moment/ko.js +82 -64
- data/vendor/assets/javascripts/moment/ky.js +89 -0
- data/vendor/assets/javascripts/moment/lb.js +126 -127
- data/vendor/assets/javascripts/moment/lo.js +71 -0
- data/vendor/assets/javascripts/moment/lt.js +110 -111
- data/vendor/assets/javascripts/moment/lv.js +92 -72
- data/vendor/assets/javascripts/moment/me.js +113 -0
- data/vendor/assets/javascripts/moment/mi.js +65 -0
- data/vendor/assets/javascripts/moment/mk.js +80 -77
- data/vendor/assets/javascripts/moment/ml.js +80 -67
- data/vendor/assets/javascripts/moment/mr.js +158 -116
- data/vendor/assets/javascripts/moment/ms-my.js +82 -78
- data/vendor/assets/javascripts/moment/ms.js +83 -0
- data/vendor/assets/javascripts/moment/mt.js +61 -0
- data/vendor/assets/javascripts/moment/my.js +95 -87
- data/vendor/assets/javascripts/moment/nb.js +62 -57
- data/vendor/assets/javascripts/moment/ne.js +121 -118
- data/vendor/assets/javascripts/moment/nl-be.js +89 -0
- data/vendor/assets/javascripts/moment/nl.js +86 -66
- data/vendor/assets/javascripts/moment/nn.js +59 -56
- data/vendor/assets/javascripts/moment/pa-in.js +125 -0
- data/vendor/assets/javascripts/moment/pl.js +99 -72
- data/vendor/assets/javascripts/moment/pt-br.js +60 -56
- data/vendor/assets/javascripts/moment/pt.js +64 -60
- data/vendor/assets/javascripts/moment/ro.js +72 -68
- data/vendor/assets/javascripts/moment/ru.js +156 -147
- data/vendor/assets/javascripts/moment/sd.js +99 -0
- data/vendor/assets/javascripts/moment/se.js +62 -0
- data/vendor/assets/javascripts/moment/si.js +72 -0
- data/vendor/assets/javascripts/moment/sk.js +80 -80
- data/vendor/assets/javascripts/moment/sl.js +117 -89
- data/vendor/assets/javascripts/moment/sq.js +69 -65
- data/vendor/assets/javascripts/moment/sr-cyrl.js +96 -91
- data/vendor/assets/javascripts/moment/sr.js +96 -91
- data/vendor/assets/javascripts/moment/ss.js +90 -0
- data/vendor/assets/javascripts/moment/sv.js +68 -63
- data/vendor/assets/javascripts/moment/sw.js +60 -0
- data/vendor/assets/javascripts/moment/ta.js +126 -125
- data/vendor/assets/javascripts/moment/te.js +90 -0
- data/vendor/assets/javascripts/moment/tet.js +69 -0
- data/vendor/assets/javascripts/moment/th.js +66 -61
- data/vendor/assets/javascripts/moment/tl-ph.js +61 -58
- data/vendor/assets/javascripts/moment/tlh.js +123 -0
- data/vendor/assets/javascripts/moment/tr.js +85 -88
- data/vendor/assets/javascripts/moment/tzl.js +93 -0
- data/vendor/assets/javascripts/moment/tzm-latn.js +57 -54
- data/vendor/assets/javascripts/moment/tzm.js +57 -54
- data/vendor/assets/javascripts/moment/uk.js +123 -133
- data/vendor/assets/javascripts/moment/ur.js +100 -0
- data/vendor/assets/javascripts/moment/uz-latn.js +59 -0
- data/vendor/assets/javascripts/moment/uz.js +57 -54
- data/vendor/assets/javascripts/moment/vi.js +78 -62
- data/vendor/assets/javascripts/moment/x-pseudo.js +69 -0
- data/vendor/assets/javascripts/moment/yo.js +61 -0
- data/vendor/assets/javascripts/moment/zh-cn.js +99 -112
- data/vendor/assets/javascripts/moment/zh-hk.js +106 -0
- data/vendor/assets/javascripts/moment/zh-tw.js +92 -86
- data/vendor/assets/javascripts/moment.js +4128 -2636
- metadata +67 -16
- data/test/dummy/log/test.log +0 -61
@@ -1,102 +1,78 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Armenian [hy-am]
|
3
|
+
//! author : Armendarabyan : https://github.com/armendarabyan
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
|
12
|
-
}
|
13
|
-
}(function (moment) {
|
14
|
-
function monthsCaseReplace(m, format) {
|
15
|
-
var months = {
|
16
|
-
'nominative': 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_'),
|
17
|
-
'accusative': 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_')
|
18
|
-
},
|
19
|
-
|
20
|
-
nounCase = (/D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/).test(format) ?
|
21
|
-
'accusative' :
|
22
|
-
'nominative';
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, (function (moment) { 'use strict';
|
23
11
|
|
24
|
-
return months[nounCase][m.month()];
|
25
|
-
}
|
26
|
-
|
27
|
-
function monthsShortCaseReplace(m, format) {
|
28
|
-
var monthsShort = 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_');
|
29
12
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
calendar : {
|
54
|
-
sameDay: '[այսօր] LT',
|
55
|
-
nextDay: '[վաղը] LT',
|
56
|
-
lastDay: '[երեկ] LT',
|
57
|
-
nextWeek: function () {
|
58
|
-
return 'dddd [օրը ժամը] LT';
|
59
|
-
},
|
60
|
-
lastWeek: function () {
|
61
|
-
return '[անցած] dddd [օրը ժամը] LT';
|
62
|
-
},
|
63
|
-
sameElse: 'L'
|
13
|
+
var hyAm = moment.defineLocale('hy-am', {
|
14
|
+
months : {
|
15
|
+
format: 'հունվարի_փետրվարի_մարտի_ապրիլի_մայիսի_հունիսի_հուլիսի_օգոստոսի_սեպտեմբերի_հոկտեմբերի_նոյեմբերի_դեկտեմբերի'.split('_'),
|
16
|
+
standalone: 'հունվար_փետրվար_մարտ_ապրիլ_մայիս_հունիս_հուլիս_օգոստոս_սեպտեմբեր_հոկտեմբեր_նոյեմբեր_դեկտեմբեր'.split('_')
|
17
|
+
},
|
18
|
+
monthsShort : 'հնվ_փտր_մրտ_ապր_մյս_հնս_հլս_օգս_սպտ_հկտ_նմբ_դկտ'.split('_'),
|
19
|
+
weekdays : 'կիրակի_երկուշաբթի_երեքշաբթի_չորեքշաբթի_հինգշաբթի_ուրբաթ_շաբաթ'.split('_'),
|
20
|
+
weekdaysShort : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
|
21
|
+
weekdaysMin : 'կրկ_երկ_երք_չրք_հնգ_ուրբ_շբթ'.split('_'),
|
22
|
+
longDateFormat : {
|
23
|
+
LT : 'HH:mm',
|
24
|
+
LTS : 'HH:mm:ss',
|
25
|
+
L : 'DD.MM.YYYY',
|
26
|
+
LL : 'D MMMM YYYY թ.',
|
27
|
+
LLL : 'D MMMM YYYY թ., HH:mm',
|
28
|
+
LLLL : 'dddd, D MMMM YYYY թ., HH:mm'
|
29
|
+
},
|
30
|
+
calendar : {
|
31
|
+
sameDay: '[այսօր] LT',
|
32
|
+
nextDay: '[վաղը] LT',
|
33
|
+
lastDay: '[երեկ] LT',
|
34
|
+
nextWeek: function () {
|
35
|
+
return 'dddd [օրը ժամը] LT';
|
64
36
|
},
|
65
|
-
|
66
|
-
|
67
|
-
past : '%s առաջ',
|
68
|
-
s : 'մի քանի վայրկյան',
|
69
|
-
m : 'րոպե',
|
70
|
-
mm : '%d րոպե',
|
71
|
-
h : 'ժամ',
|
72
|
-
hh : '%d ժամ',
|
73
|
-
d : 'օր',
|
74
|
-
dd : '%d օր',
|
75
|
-
M : 'ամիս',
|
76
|
-
MM : '%d ամիս',
|
77
|
-
y : 'տարի',
|
78
|
-
yy : '%d տարի'
|
37
|
+
lastWeek: function () {
|
38
|
+
return '[անցած] dddd [օրը ժամը] LT';
|
79
39
|
},
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
40
|
+
sameElse: 'L'
|
41
|
+
},
|
42
|
+
relativeTime : {
|
43
|
+
future : '%s հետո',
|
44
|
+
past : '%s առաջ',
|
45
|
+
s : 'մի քանի վայրկյան',
|
46
|
+
ss : '%d վայրկյան',
|
47
|
+
m : 'րոպե',
|
48
|
+
mm : '%d րոպե',
|
49
|
+
h : 'ժամ',
|
50
|
+
hh : '%d ժամ',
|
51
|
+
d : 'օր',
|
52
|
+
dd : '%d օր',
|
53
|
+
M : 'ամիս',
|
54
|
+
MM : '%d ամիս',
|
55
|
+
y : 'տարի',
|
56
|
+
yy : '%d տարի'
|
57
|
+
},
|
58
|
+
meridiemParse: /գիշերվա|առավոտվա|ցերեկվա|երեկոյան/,
|
59
|
+
isPM: function (input) {
|
60
|
+
return /^(ցերեկվա|երեկոյան)$/.test(input);
|
61
|
+
},
|
62
|
+
meridiem : function (hour) {
|
63
|
+
if (hour < 4) {
|
64
|
+
return 'գիշերվա';
|
65
|
+
} else if (hour < 12) {
|
66
|
+
return 'առավոտվա';
|
67
|
+
} else if (hour < 17) {
|
68
|
+
return 'ցերեկվա';
|
69
|
+
} else {
|
70
|
+
return 'երեկոյան';
|
71
|
+
}
|
72
|
+
},
|
73
|
+
dayOfMonthOrdinalParse: /\d{1,2}|\d{1,2}-(ին|րդ)/,
|
74
|
+
ordinal: function (number, period) {
|
75
|
+
switch (period) {
|
100
76
|
case 'DDD':
|
101
77
|
case 'w':
|
102
78
|
case 'W':
|
@@ -107,12 +83,14 @@
|
|
107
83
|
return number + '-րդ';
|
108
84
|
default:
|
109
85
|
return number;
|
110
|
-
}
|
111
|
-
},
|
112
|
-
|
113
|
-
week : {
|
114
|
-
dow : 1, // Monday is the first day of the week.
|
115
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
116
86
|
}
|
117
|
-
}
|
118
|
-
|
87
|
+
},
|
88
|
+
week : {
|
89
|
+
dow : 1, // Monday is the first day of the week.
|
90
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
91
|
+
}
|
92
|
+
});
|
93
|
+
|
94
|
+
return hyAm;
|
95
|
+
|
96
|
+
})));
|
@@ -1,81 +1,84 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Indonesian [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
5
|
|
6
|
-
(function (factory) {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
return hour + 12;
|
40
|
-
}
|
41
|
-
},
|
42
|
-
meridiem : function (hours, minutes, isLower) {
|
43
|
-
if (hours < 11) {
|
44
|
-
return 'pagi';
|
45
|
-
} else if (hours < 15) {
|
46
|
-
return 'siang';
|
47
|
-
} else if (hours < 19) {
|
48
|
-
return 'sore';
|
49
|
-
} else {
|
50
|
-
return 'malam';
|
51
|
-
}
|
52
|
-
},
|
53
|
-
calendar : {
|
54
|
-
sameDay : '[Hari ini pukul] LT',
|
55
|
-
nextDay : '[Besok pukul] LT',
|
56
|
-
nextWeek : 'dddd [pukul] LT',
|
57
|
-
lastDay : '[Kemarin pukul] LT',
|
58
|
-
lastWeek : 'dddd [lalu pukul] LT',
|
59
|
-
sameElse : 'L'
|
60
|
-
},
|
61
|
-
relativeTime : {
|
62
|
-
future : 'dalam %s',
|
63
|
-
past : '%s yang lalu',
|
64
|
-
s : 'beberapa detik',
|
65
|
-
m : 'semenit',
|
66
|
-
mm : '%d menit',
|
67
|
-
h : 'sejam',
|
68
|
-
hh : '%d jam',
|
69
|
-
d : 'sehari',
|
70
|
-
dd : '%d hari',
|
71
|
-
M : 'sebulan',
|
72
|
-
MM : '%d bulan',
|
73
|
-
y : 'setahun',
|
74
|
-
yy : '%d tahun'
|
75
|
-
},
|
76
|
-
week : {
|
77
|
-
dow : 1, // Monday is the first day of the week.
|
78
|
-
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
6
|
+
;(function (global, factory) {
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10
|
+
factory(global.moment)
|
11
|
+
}(this, (function (moment) { 'use strict';
|
12
|
+
|
13
|
+
|
14
|
+
var id = moment.defineLocale('id', {
|
15
|
+
months : 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split('_'),
|
16
|
+
monthsShort : 'Jan_Feb_Mar_Apr_Mei_Jun_Jul_Ags_Sep_Okt_Nov_Des'.split('_'),
|
17
|
+
weekdays : 'Minggu_Senin_Selasa_Rabu_Kamis_Jumat_Sabtu'.split('_'),
|
18
|
+
weekdaysShort : 'Min_Sen_Sel_Rab_Kam_Jum_Sab'.split('_'),
|
19
|
+
weekdaysMin : 'Mg_Sn_Sl_Rb_Km_Jm_Sb'.split('_'),
|
20
|
+
longDateFormat : {
|
21
|
+
LT : 'HH.mm',
|
22
|
+
LTS : 'HH.mm.ss',
|
23
|
+
L : 'DD/MM/YYYY',
|
24
|
+
LL : 'D MMMM YYYY',
|
25
|
+
LLL : 'D MMMM YYYY [pukul] HH.mm',
|
26
|
+
LLLL : 'dddd, D MMMM YYYY [pukul] HH.mm'
|
27
|
+
},
|
28
|
+
meridiemParse: /pagi|siang|sore|malam/,
|
29
|
+
meridiemHour : function (hour, meridiem) {
|
30
|
+
if (hour === 12) {
|
31
|
+
hour = 0;
|
32
|
+
}
|
33
|
+
if (meridiem === 'pagi') {
|
34
|
+
return hour;
|
35
|
+
} else if (meridiem === 'siang') {
|
36
|
+
return hour >= 11 ? hour : hour + 12;
|
37
|
+
} else if (meridiem === 'sore' || meridiem === 'malam') {
|
38
|
+
return hour + 12;
|
79
39
|
}
|
80
|
-
}
|
81
|
-
|
40
|
+
},
|
41
|
+
meridiem : function (hours, minutes, isLower) {
|
42
|
+
if (hours < 11) {
|
43
|
+
return 'pagi';
|
44
|
+
} else if (hours < 15) {
|
45
|
+
return 'siang';
|
46
|
+
} else if (hours < 19) {
|
47
|
+
return 'sore';
|
48
|
+
} else {
|
49
|
+
return 'malam';
|
50
|
+
}
|
51
|
+
},
|
52
|
+
calendar : {
|
53
|
+
sameDay : '[Hari ini pukul] LT',
|
54
|
+
nextDay : '[Besok pukul] LT',
|
55
|
+
nextWeek : 'dddd [pukul] LT',
|
56
|
+
lastDay : '[Kemarin pukul] LT',
|
57
|
+
lastWeek : 'dddd [lalu pukul] LT',
|
58
|
+
sameElse : 'L'
|
59
|
+
},
|
60
|
+
relativeTime : {
|
61
|
+
future : 'dalam %s',
|
62
|
+
past : '%s yang lalu',
|
63
|
+
s : 'beberapa detik',
|
64
|
+
ss : '%d detik',
|
65
|
+
m : 'semenit',
|
66
|
+
mm : '%d menit',
|
67
|
+
h : 'sejam',
|
68
|
+
hh : '%d jam',
|
69
|
+
d : 'sehari',
|
70
|
+
dd : '%d hari',
|
71
|
+
M : 'sebulan',
|
72
|
+
MM : '%d bulan',
|
73
|
+
y : 'setahun',
|
74
|
+
yy : '%d tahun'
|
75
|
+
},
|
76
|
+
week : {
|
77
|
+
dow : 1, // Monday is the first day of the week.
|
78
|
+
doy : 7 // The week that contains Jan 1st is the first week of the year.
|
79
|
+
}
|
80
|
+
});
|
81
|
+
|
82
|
+
return id;
|
83
|
+
|
84
|
+
})));
|
@@ -1,30 +1,33 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Icelandic [is]
|
3
|
+
//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
|
4
4
|
|
5
|
-
(function (factory) {
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
if (n % 100 === 11) {
|
16
|
-
return true;
|
17
|
-
} else if (n % 10 === 1) {
|
18
|
-
return false;
|
19
|
-
}
|
5
|
+
;(function (global, factory) {
|
6
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
7
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
8
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
9
|
+
factory(global.moment)
|
10
|
+
}(this, (function (moment) { 'use strict';
|
11
|
+
|
12
|
+
|
13
|
+
function plural(n) {
|
14
|
+
if (n % 100 === 11) {
|
20
15
|
return true;
|
16
|
+
} else if (n % 10 === 1) {
|
17
|
+
return false;
|
21
18
|
}
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
19
|
+
return true;
|
20
|
+
}
|
21
|
+
function translate(number, withoutSuffix, key, isFuture) {
|
22
|
+
var result = number + ' ';
|
23
|
+
switch (key) {
|
26
24
|
case 's':
|
27
25
|
return withoutSuffix || isFuture ? 'nokkrar sekúndur' : 'nokkrum sekúndum';
|
26
|
+
case 'ss':
|
27
|
+
if (plural(number)) {
|
28
|
+
return result + (withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum');
|
29
|
+
}
|
30
|
+
return result + 'sekúnda';
|
28
31
|
case 'm':
|
29
32
|
return withoutSuffix ? 'mínúta' : 'mínútu';
|
30
33
|
case 'mm':
|
@@ -76,51 +79,55 @@
|
|
76
79
|
return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
|
77
80
|
}
|
78
81
|
return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
|
79
|
-
}
|
80
82
|
}
|
83
|
+
}
|
84
|
+
|
85
|
+
var is = moment.defineLocale('is', {
|
86
|
+
months : 'janúar_febrúar_mars_apríl_maí_júní_júlí_ágúst_september_október_nóvember_desember'.split('_'),
|
87
|
+
monthsShort : 'jan_feb_mar_apr_maí_jún_júl_ágú_sep_okt_nóv_des'.split('_'),
|
88
|
+
weekdays : 'sunnudagur_mánudagur_þriðjudagur_miðvikudagur_fimmtudagur_föstudagur_laugardagur'.split('_'),
|
89
|
+
weekdaysShort : 'sun_mán_þri_mið_fim_fös_lau'.split('_'),
|
90
|
+
weekdaysMin : 'Su_Má_Þr_Mi_Fi_Fö_La'.split('_'),
|
91
|
+
longDateFormat : {
|
92
|
+
LT : 'H:mm',
|
93
|
+
LTS : 'H:mm:ss',
|
94
|
+
L : 'DD.MM.YYYY',
|
95
|
+
LL : 'D. MMMM YYYY',
|
96
|
+
LLL : 'D. MMMM YYYY [kl.] H:mm',
|
97
|
+
LLLL : 'dddd, D. MMMM YYYY [kl.] H:mm'
|
98
|
+
},
|
99
|
+
calendar : {
|
100
|
+
sameDay : '[í dag kl.] LT',
|
101
|
+
nextDay : '[á morgun kl.] LT',
|
102
|
+
nextWeek : 'dddd [kl.] LT',
|
103
|
+
lastDay : '[í gær kl.] LT',
|
104
|
+
lastWeek : '[síðasta] dddd [kl.] LT',
|
105
|
+
sameElse : 'L'
|
106
|
+
},
|
107
|
+
relativeTime : {
|
108
|
+
future : 'eftir %s',
|
109
|
+
past : 'fyrir %s síðan',
|
110
|
+
s : translate,
|
111
|
+
ss : translate,
|
112
|
+
m : translate,
|
113
|
+
mm : translate,
|
114
|
+
h : 'klukkustund',
|
115
|
+
hh : translate,
|
116
|
+
d : translate,
|
117
|
+
dd : translate,
|
118
|
+
M : translate,
|
119
|
+
MM : translate,
|
120
|
+
y : translate,
|
121
|
+
yy : translate
|
122
|
+
},
|
123
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
124
|
+
ordinal : '%d.',
|
125
|
+
week : {
|
126
|
+
dow : 1, // Monday is the first day of the week.
|
127
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
128
|
+
}
|
129
|
+
});
|
130
|
+
|
131
|
+
return is;
|
81
132
|
|
82
|
-
|
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
|
-
LTS : 'LT:ss',
|
91
|
-
L : 'DD/MM/YYYY',
|
92
|
-
LL : 'D. MMMM YYYY',
|
93
|
-
LLL : 'D. MMMM YYYY [kl.] LT',
|
94
|
-
LLLL : 'dddd, D. MMMM YYYY [kl.] LT'
|
95
|
-
},
|
96
|
-
calendar : {
|
97
|
-
sameDay : '[í dag kl.] LT',
|
98
|
-
nextDay : '[á morgun kl.] LT',
|
99
|
-
nextWeek : 'dddd [kl.] LT',
|
100
|
-
lastDay : '[í gær kl.] LT',
|
101
|
-
lastWeek : '[síðasta] dddd [kl.] LT',
|
102
|
-
sameElse : 'L'
|
103
|
-
},
|
104
|
-
relativeTime : {
|
105
|
-
future : 'eftir %s',
|
106
|
-
past : 'fyrir %s síðan',
|
107
|
-
s : translate,
|
108
|
-
m : translate,
|
109
|
-
mm : translate,
|
110
|
-
h : 'klukkustund',
|
111
|
-
hh : translate,
|
112
|
-
d : translate,
|
113
|
-
dd : translate,
|
114
|
-
M : translate,
|
115
|
-
MM : translate,
|
116
|
-
y : translate,
|
117
|
-
yy : translate
|
118
|
-
},
|
119
|
-
ordinalParse: /\d{1,2}\./,
|
120
|
-
ordinal : '%d.',
|
121
|
-
week : {
|
122
|
-
dow : 1, // Monday is the first day of the week.
|
123
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
124
|
-
}
|
125
|
-
});
|
126
|
-
}));
|
133
|
+
})));
|
@@ -1,68 +1,71 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Italian [it]
|
3
|
+
//! author : Lorenzo : https://github.com/aliem
|
4
|
+
//! author: Mattia Larentis: https://github.com/nostalgiaz
|
5
5
|
|
6
|
-
(function (factory) {
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
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
|
-
sameElse: 'L'
|
6
|
+
;(function (global, factory) {
|
7
|
+
typeof exports === 'object' && typeof module !== 'undefined'
|
8
|
+
&& typeof require === 'function' ? factory(require('../moment')) :
|
9
|
+
typeof define === 'function' && define.amd ? define(['../moment'], factory) :
|
10
|
+
factory(global.moment)
|
11
|
+
}(this, (function (moment) { 'use strict';
|
12
|
+
|
13
|
+
|
14
|
+
var it = moment.defineLocale('it', {
|
15
|
+
months : 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split('_'),
|
16
|
+
monthsShort : 'gen_feb_mar_apr_mag_giu_lug_ago_set_ott_nov_dic'.split('_'),
|
17
|
+
weekdays : 'domenica_lunedì_martedì_mercoledì_giovedì_venerdì_sabato'.split('_'),
|
18
|
+
weekdaysShort : 'dom_lun_mar_mer_gio_ven_sab'.split('_'),
|
19
|
+
weekdaysMin : 'do_lu_ma_me_gi_ve_sa'.split('_'),
|
20
|
+
longDateFormat : {
|
21
|
+
LT : 'HH:mm',
|
22
|
+
LTS : 'HH:mm:ss',
|
23
|
+
L : 'DD/MM/YYYY',
|
24
|
+
LL : 'D MMMM YYYY',
|
25
|
+
LLL : 'D MMMM YYYY HH:mm',
|
26
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
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: function () {
|
34
|
+
switch (this.day()) {
|
35
|
+
case 0:
|
36
|
+
return '[la scorsa] dddd [alle] LT';
|
37
|
+
default:
|
38
|
+
return '[lo scorso] dddd [alle] LT';
|
39
|
+
}
|
43
40
|
},
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
s : 'alcuni secondi',
|
50
|
-
m : 'un minuto',
|
51
|
-
mm : '%d minuti',
|
52
|
-
h : 'un\'ora',
|
53
|
-
hh : '%d ore',
|
54
|
-
d : 'un giorno',
|
55
|
-
dd : '%d giorni',
|
56
|
-
M : 'un mese',
|
57
|
-
MM : '%d mesi',
|
58
|
-
y : 'un anno',
|
59
|
-
yy : '%d anni'
|
41
|
+
sameElse: 'L'
|
42
|
+
},
|
43
|
+
relativeTime : {
|
44
|
+
future : function (s) {
|
45
|
+
return ((/^[0-9].+$/).test(s) ? 'tra' : 'in') + ' ' + s;
|
60
46
|
},
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
47
|
+
past : '%s fa',
|
48
|
+
s : 'alcuni secondi',
|
49
|
+
ss : '%d secondi',
|
50
|
+
m : 'un minuto',
|
51
|
+
mm : '%d minuti',
|
52
|
+
h : 'un\'ora',
|
53
|
+
hh : '%d ore',
|
54
|
+
d : 'un giorno',
|
55
|
+
dd : '%d giorni',
|
56
|
+
M : 'un mese',
|
57
|
+
MM : '%d mesi',
|
58
|
+
y : 'un anno',
|
59
|
+
yy : '%d anni'
|
60
|
+
},
|
61
|
+
dayOfMonthOrdinalParse : /\d{1,2}º/,
|
62
|
+
ordinal: '%dº',
|
63
|
+
week : {
|
64
|
+
dow : 1, // Monday is the first day of the week.
|
65
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
66
|
+
}
|
67
|
+
});
|
68
|
+
|
69
|
+
return it;
|
70
|
+
|
71
|
+
})));
|