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
@@ -7,54 +7,54 @@
|
|
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
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
13
|
+
var fo = moment.defineLocale('fo', {
|
14
|
+
months : 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
|
15
|
+
monthsShort : 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
16
|
+
weekdays : 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split('_'),
|
17
|
+
weekdaysShort : 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
|
18
|
+
weekdaysMin : 'su_má_tý_mi_hó_fr_le'.split('_'),
|
19
|
+
longDateFormat : {
|
20
|
+
LT : 'HH:mm',
|
21
|
+
LTS : 'HH:mm:ss',
|
22
|
+
L : 'DD/MM/YYYY',
|
23
|
+
LL : 'D MMMM YYYY',
|
24
|
+
LLL : 'D MMMM YYYY HH:mm',
|
25
|
+
LLLL : 'dddd D. MMMM, YYYY HH:mm'
|
26
|
+
},
|
27
|
+
calendar : {
|
28
|
+
sameDay : '[Í dag kl.] LT',
|
29
|
+
nextDay : '[Í morgin kl.] LT',
|
30
|
+
nextWeek : 'dddd [kl.] LT',
|
31
|
+
lastDay : '[Í gjár kl.] LT',
|
32
|
+
lastWeek : '[síðstu] dddd [kl] LT',
|
33
|
+
sameElse : 'L'
|
34
|
+
},
|
35
|
+
relativeTime : {
|
36
|
+
future : 'um %s',
|
37
|
+
past : '%s síðani',
|
38
|
+
s : 'fá sekund',
|
39
|
+
m : 'ein minutt',
|
40
|
+
mm : '%d minuttir',
|
41
|
+
h : 'ein tími',
|
42
|
+
hh : '%d tímar',
|
43
|
+
d : 'ein dagur',
|
44
|
+
dd : '%d dagar',
|
45
|
+
M : 'ein mánaði',
|
46
|
+
MM : '%d mánaðir',
|
47
|
+
y : 'eitt ár',
|
48
|
+
yy : '%d ár'
|
49
|
+
},
|
50
|
+
ordinalParse: /\d{1,2}\./,
|
51
|
+
ordinal : '%d.',
|
52
|
+
week : {
|
53
|
+
dow : 1, // Monday is the first day of the week.
|
54
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
55
|
+
}
|
56
|
+
});
|
57
57
|
|
58
|
-
|
58
|
+
return fo;
|
59
59
|
|
60
|
-
}));
|
60
|
+
})));
|
@@ -7,54 +7,54 @@
|
|
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
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
13
|
+
var frCa = moment.defineLocale('fr-ca', {
|
14
|
+
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
|
15
|
+
monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
|
16
|
+
monthsParseExact : true,
|
17
|
+
weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
18
|
+
weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
19
|
+
weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
|
20
|
+
weekdaysParseExact : true,
|
21
|
+
longDateFormat : {
|
22
|
+
LT : 'HH:mm',
|
23
|
+
LTS : 'HH:mm:ss',
|
24
|
+
L : 'YYYY-MM-DD',
|
25
|
+
LL : 'D MMMM YYYY',
|
26
|
+
LLL : 'D MMMM YYYY HH:mm',
|
27
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
28
|
+
},
|
29
|
+
calendar : {
|
30
|
+
sameDay: '[Aujourd\'hui à] LT',
|
31
|
+
nextDay: '[Demain à] LT',
|
32
|
+
nextWeek: 'dddd [à] LT',
|
33
|
+
lastDay: '[Hier à] LT',
|
34
|
+
lastWeek: 'dddd [dernier à] LT',
|
35
|
+
sameElse: 'L'
|
36
|
+
},
|
37
|
+
relativeTime : {
|
38
|
+
future : 'dans %s',
|
39
|
+
past : 'il y a %s',
|
40
|
+
s : 'quelques secondes',
|
41
|
+
m : 'une minute',
|
42
|
+
mm : '%d minutes',
|
43
|
+
h : 'une heure',
|
44
|
+
hh : '%d heures',
|
45
|
+
d : 'un jour',
|
46
|
+
dd : '%d jours',
|
47
|
+
M : 'un mois',
|
48
|
+
MM : '%d mois',
|
49
|
+
y : 'un an',
|
50
|
+
yy : '%d ans'
|
51
|
+
},
|
52
|
+
ordinalParse: /\d{1,2}(er|e)/,
|
53
|
+
ordinal : function (number) {
|
54
|
+
return number + (number === 1 ? 'er' : 'e');
|
55
|
+
}
|
56
|
+
});
|
57
57
|
|
58
|
-
|
58
|
+
return frCa;
|
59
59
|
|
60
|
-
}));
|
60
|
+
})));
|
@@ -7,58 +7,58 @@
|
|
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
|
-
|
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
|
-
|
13
|
+
var frCh = moment.defineLocale('fr-ch', {
|
14
|
+
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
|
15
|
+
monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
|
16
|
+
monthsParseExact : true,
|
17
|
+
weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
18
|
+
weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
19
|
+
weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
|
20
|
+
weekdaysParseExact : true,
|
21
|
+
longDateFormat : {
|
22
|
+
LT : 'HH:mm',
|
23
|
+
LTS : 'HH:mm:ss',
|
24
|
+
L : 'DD.MM.YYYY',
|
25
|
+
LL : 'D MMMM YYYY',
|
26
|
+
LLL : 'D MMMM YYYY HH:mm',
|
27
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
28
|
+
},
|
29
|
+
calendar : {
|
30
|
+
sameDay: '[Aujourd\'hui à] LT',
|
31
|
+
nextDay: '[Demain à] LT',
|
32
|
+
nextWeek: 'dddd [à] LT',
|
33
|
+
lastDay: '[Hier à] LT',
|
34
|
+
lastWeek: 'dddd [dernier à] LT',
|
35
|
+
sameElse: 'L'
|
36
|
+
},
|
37
|
+
relativeTime : {
|
38
|
+
future : 'dans %s',
|
39
|
+
past : 'il y a %s',
|
40
|
+
s : 'quelques secondes',
|
41
|
+
m : 'une minute',
|
42
|
+
mm : '%d minutes',
|
43
|
+
h : 'une heure',
|
44
|
+
hh : '%d heures',
|
45
|
+
d : 'un jour',
|
46
|
+
dd : '%d jours',
|
47
|
+
M : 'un mois',
|
48
|
+
MM : '%d mois',
|
49
|
+
y : 'un an',
|
50
|
+
yy : '%d ans'
|
51
|
+
},
|
52
|
+
ordinalParse: /\d{1,2}(er|e)/,
|
53
|
+
ordinal : function (number) {
|
54
|
+
return number + (number === 1 ? 'er' : 'e');
|
55
|
+
},
|
56
|
+
week : {
|
57
|
+
dow : 1, // Monday is the first day of the week.
|
58
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
59
|
+
}
|
60
|
+
});
|
61
61
|
|
62
|
-
|
62
|
+
return frCh;
|
63
63
|
|
64
|
-
}));
|
64
|
+
})));
|
@@ -7,58 +7,58 @@
|
|
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
|
-
|
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
|
-
|
13
|
+
var fr = moment.defineLocale('fr', {
|
14
|
+
months : 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split('_'),
|
15
|
+
monthsShort : 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split('_'),
|
16
|
+
monthsParseExact : true,
|
17
|
+
weekdays : 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
18
|
+
weekdaysShort : 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
19
|
+
weekdaysMin : 'Di_Lu_Ma_Me_Je_Ve_Sa'.split('_'),
|
20
|
+
weekdaysParseExact : true,
|
21
|
+
longDateFormat : {
|
22
|
+
LT : 'HH:mm',
|
23
|
+
LTS : 'HH:mm:ss',
|
24
|
+
L : 'DD/MM/YYYY',
|
25
|
+
LL : 'D MMMM YYYY',
|
26
|
+
LLL : 'D MMMM YYYY HH:mm',
|
27
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
28
|
+
},
|
29
|
+
calendar : {
|
30
|
+
sameDay: '[Aujourd\'hui à] LT',
|
31
|
+
nextDay: '[Demain à] LT',
|
32
|
+
nextWeek: 'dddd [à] LT',
|
33
|
+
lastDay: '[Hier à] LT',
|
34
|
+
lastWeek: 'dddd [dernier à] LT',
|
35
|
+
sameElse: 'L'
|
36
|
+
},
|
37
|
+
relativeTime : {
|
38
|
+
future : 'dans %s',
|
39
|
+
past : 'il y a %s',
|
40
|
+
s : 'quelques secondes',
|
41
|
+
m : 'une minute',
|
42
|
+
mm : '%d minutes',
|
43
|
+
h : 'une heure',
|
44
|
+
hh : '%d heures',
|
45
|
+
d : 'un jour',
|
46
|
+
dd : '%d jours',
|
47
|
+
M : 'un mois',
|
48
|
+
MM : '%d mois',
|
49
|
+
y : 'un an',
|
50
|
+
yy : '%d ans'
|
51
|
+
},
|
52
|
+
ordinalParse: /\d{1,2}(er|)/,
|
53
|
+
ordinal : function (number) {
|
54
|
+
return number + (number === 1 ? 'er' : '');
|
55
|
+
},
|
56
|
+
week : {
|
57
|
+
dow : 1, // Monday is the first day of the week.
|
58
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
59
|
+
}
|
60
|
+
});
|
61
61
|
|
62
|
-
|
62
|
+
return fr;
|
63
63
|
|
64
|
-
}));
|
64
|
+
})));
|
@@ -7,67 +7,67 @@
|
|
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
|
-
|
13
|
+
var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_');
|
14
|
+
var monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
|
15
15
|
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
}
|
24
|
-
},
|
25
|
-
monthsParseExact : true,
|
26
|
-
weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
|
27
|
-
weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'),
|
28
|
-
weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
|
29
|
-
weekdaysParseExact : true,
|
30
|
-
longDateFormat : {
|
31
|
-
LT : 'HH:mm',
|
32
|
-
LTS : 'HH:mm:ss',
|
33
|
-
L : 'DD-MM-YYYY',
|
34
|
-
LL : 'D MMMM YYYY',
|
35
|
-
LLL : 'D MMMM YYYY HH:mm',
|
36
|
-
LLLL : 'dddd D MMMM YYYY HH:mm'
|
37
|
-
},
|
38
|
-
calendar : {
|
39
|
-
sameDay: '[hjoed om] LT',
|
40
|
-
nextDay: '[moarn om] LT',
|
41
|
-
nextWeek: 'dddd [om] LT',
|
42
|
-
lastDay: '[juster om] LT',
|
43
|
-
lastWeek: '[ôfrûne] dddd [om] LT',
|
44
|
-
sameElse: 'L'
|
45
|
-
},
|
46
|
-
relativeTime : {
|
47
|
-
future : 'oer %s',
|
48
|
-
past : '%s lyn',
|
49
|
-
s : 'in pear sekonden',
|
50
|
-
m : 'ien minút',
|
51
|
-
mm : '%d minuten',
|
52
|
-
h : 'ien oere',
|
53
|
-
hh : '%d oeren',
|
54
|
-
d : 'ien dei',
|
55
|
-
dd : '%d dagen',
|
56
|
-
M : 'ien moanne',
|
57
|
-
MM : '%d moannen',
|
58
|
-
y : 'ien jier',
|
59
|
-
yy : '%d jierren'
|
60
|
-
},
|
61
|
-
ordinalParse: /\d{1,2}(ste|de)/,
|
62
|
-
ordinal : function (number) {
|
63
|
-
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
|
64
|
-
},
|
65
|
-
week : {
|
66
|
-
dow : 1, // Monday is the first day of the week.
|
67
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
16
|
+
var fy = moment.defineLocale('fy', {
|
17
|
+
months : 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split('_'),
|
18
|
+
monthsShort : function (m, format) {
|
19
|
+
if (/-MMM-/.test(format)) {
|
20
|
+
return monthsShortWithoutDots[m.month()];
|
21
|
+
} else {
|
22
|
+
return monthsShortWithDots[m.month()];
|
68
23
|
}
|
69
|
-
}
|
24
|
+
},
|
25
|
+
monthsParseExact : true,
|
26
|
+
weekdays : 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split('_'),
|
27
|
+
weekdaysShort : 'si._mo._ti._wo._to._fr._so.'.split('_'),
|
28
|
+
weekdaysMin : 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
|
29
|
+
weekdaysParseExact : true,
|
30
|
+
longDateFormat : {
|
31
|
+
LT : 'HH:mm',
|
32
|
+
LTS : 'HH:mm:ss',
|
33
|
+
L : 'DD-MM-YYYY',
|
34
|
+
LL : 'D MMMM YYYY',
|
35
|
+
LLL : 'D MMMM YYYY HH:mm',
|
36
|
+
LLLL : 'dddd D MMMM YYYY HH:mm'
|
37
|
+
},
|
38
|
+
calendar : {
|
39
|
+
sameDay: '[hjoed om] LT',
|
40
|
+
nextDay: '[moarn om] LT',
|
41
|
+
nextWeek: 'dddd [om] LT',
|
42
|
+
lastDay: '[juster om] LT',
|
43
|
+
lastWeek: '[ôfrûne] dddd [om] LT',
|
44
|
+
sameElse: 'L'
|
45
|
+
},
|
46
|
+
relativeTime : {
|
47
|
+
future : 'oer %s',
|
48
|
+
past : '%s lyn',
|
49
|
+
s : 'in pear sekonden',
|
50
|
+
m : 'ien minút',
|
51
|
+
mm : '%d minuten',
|
52
|
+
h : 'ien oere',
|
53
|
+
hh : '%d oeren',
|
54
|
+
d : 'ien dei',
|
55
|
+
dd : '%d dagen',
|
56
|
+
M : 'ien moanne',
|
57
|
+
MM : '%d moannen',
|
58
|
+
y : 'ien jier',
|
59
|
+
yy : '%d jierren'
|
60
|
+
},
|
61
|
+
ordinalParse: /\d{1,2}(ste|de)/,
|
62
|
+
ordinal : function (number) {
|
63
|
+
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
|
64
|
+
},
|
65
|
+
week : {
|
66
|
+
dow : 1, // Monday is the first day of the week.
|
67
|
+
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
68
|
+
}
|
69
|
+
});
|
70
70
|
|
71
|
-
|
71
|
+
return fy;
|
72
72
|
|
73
|
-
}));
|
73
|
+
})));
|