momentjs-rails 2.20.1 → 2.29.4.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 +12 -0
- data/test/dummy/app/assets/config/manifest.js +1 -0
- data/test/dummy/config/environments/development.rb +2 -0
- data/test/dummy/config/environments/production.rb +1 -0
- data/test/dummy/config/environments/test.rb +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/0t/0ty_fqRlzF-hGYQebubBsuGgCeT9YnqkULkaCu1nwMk.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3D/3DLOuccQFCZCWz_kmyP6PagEyQM5ne4ONIzBwdwG-fY.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3h/3hk-k7Z5qoOh6S1dyiOjpfiwRfblMf4NpG3NVkO_4GQ.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/81/81FXcACo3ySybaa-2mJ9JsZ4xXvXxgi6rAT9sildrVs.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/97/97gKfWGwqo7IhT-5nqdT3p547QEt2G9nbmU5XVAtEeE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/GO/GOYA_gO9tZqOtwNUptOfYUG1F6q5BF1ZZI0Wr7itvYM.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/NG/NGyfZ_kRU3oHnf8bEjRHJwpjyx0NF_U8V_ENdenCoIg.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/R9/R9pPKpyMZFVnjZL7kwY21faYzV2WpIx_hPb5GrUown8.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/W1/W1cCnSuixTbIt3rgc5Z-4BGC1iBfw6gqKVjuOh66lSY.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Xr/Xr9AioDZNswMqHmbREXo4J_kNVPlbysC8G37BX65-rY.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/lK/lKG81FVPPHkSni295teRgLDoWVYRamY_BCSFxMiagSs.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/q7/q7CVcZSJHIEQqdPLpSAb4YHepJZFY541_7ToMaHvbtA.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wF/wFKYFOm2u1A3crk6JyBKUw2L5ybvI0Tbt2jPPZXfdWQ.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/yY/yY97dYnGEDUjVioT9bUJucvTt0w_ToimRXWj3YYvD10.cache +0 -0
- data/test/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment/af.js +67 -59
- data/vendor/assets/javascripts/moment/ar-dz.js +153 -46
- data/vendor/assets/javascripts/moment/ar-kw.js +51 -45
- data/vendor/assets/javascripts/moment/ar-ly.js +167 -112
- data/vendor/assets/javascripts/moment/ar-ma.js +51 -45
- data/vendor/assets/javascripts/moment/ar-sa.js +100 -90
- data/vendor/assets/javascripts/moment/ar-tn.js +51 -45
- data/vendor/assets/javascripts/moment/ar.js +182 -125
- data/vendor/assets/javascripts/moment/az.js +97 -90
- data/vendor/assets/javascripts/moment/be.js +130 -112
- data/vendor/assets/javascripts/moment/bg.js +81 -74
- data/vendor/assets/javascripts/moment/bm.js +47 -45
- data/vendor/assets/javascripts/moment/bn-bd.js +140 -0
- data/vendor/assets/javascripts/moment/bn.js +113 -103
- data/vendor/assets/javascripts/moment/bo.js +118 -103
- data/vendor/assets/javascripts/moment/br.js +158 -88
- data/vendor/assets/javascripts/moment/bs.js +141 -133
- data/vendor/assets/javascripts/moment/ca.js +91 -69
- data/vendor/assets/javascripts/moment/cs.js +172 -161
- data/vendor/assets/javascripts/moment/cv.js +58 -48
- data/vendor/assets/javascripts/moment/cy.js +92 -65
- data/vendor/assets/javascripts/moment/da.js +49 -46
- data/vendor/assets/javascripts/moment/de-at.js +71 -61
- data/vendor/assets/javascripts/moment/de-ch.js +71 -63
- data/vendor/assets/javascripts/moment/de.js +71 -61
- data/vendor/assets/javascripts/moment/dv.js +85 -85
- data/vendor/assets/javascripts/moment/el.js +99 -83
- data/vendor/assets/javascripts/moment/en-au.js +64 -53
- data/vendor/assets/javascripts/moment/en-ca.js +60 -49
- data/vendor/assets/javascripts/moment/en-gb.js +64 -53
- data/vendor/assets/javascripts/moment/en-ie.js +64 -53
- data/vendor/assets/javascripts/moment/en-il.js +75 -0
- data/vendor/assets/javascripts/moment/en-in.js +79 -0
- data/vendor/assets/javascripts/moment/en-nz.js +64 -53
- data/vendor/assets/javascripts/moment/en-sg.js +79 -0
- data/vendor/assets/javascripts/moment/eo.js +62 -57
- data/vendor/assets/javascripts/moment/es-do.js +99 -72
- data/vendor/assets/javascripts/moment/es-mx.js +121 -0
- data/vendor/assets/javascripts/moment/es-us.js +100 -63
- data/vendor/assets/javascripts/moment/es.js +100 -72
- data/vendor/assets/javascripts/moment/et.js +71 -64
- data/vendor/assets/javascripts/moment/eu.js +61 -52
- data/vendor/assets/javascripts/moment/fa.js +108 -92
- data/vendor/assets/javascripts/moment/fi.js +118 -93
- data/vendor/assets/javascripts/moment/fil.js +69 -0
- data/vendor/assets/javascripts/moment/fo.js +53 -46
- data/vendor/assets/javascripts/moment/fr-ca.js +65 -59
- data/vendor/assets/javascripts/moment/fr-ch.js +69 -63
- data/vendor/assets/javascripts/moment/fr.js +102 -67
- data/vendor/assets/javascripts/moment/fy.js +70 -60
- data/vendor/assets/javascripts/moment/ga.js +106 -0
- data/vendor/assets/javascripts/moment/gd.js +90 -61
- data/vendor/assets/javascripts/moment/gl.js +67 -59
- data/vendor/assets/javascripts/moment/gom-deva.js +137 -0
- data/vendor/assets/javascripts/moment/gom-latn.js +119 -108
- data/vendor/assets/javascripts/moment/gu.js +117 -109
- data/vendor/assets/javascripts/moment/he.js +84 -79
- data/vendor/assets/javascripts/moment/hi.js +163 -109
- data/vendor/assets/javascripts/moment/hr.js +148 -136
- data/vendor/assets/javascripts/moment/hu.js +110 -92
- data/vendor/assets/javascripts/moment/hy-am.js +88 -79
- data/vendor/assets/javascripts/moment/id.js +71 -68
- data/vendor/assets/javascripts/moment/is.js +128 -110
- data/vendor/assets/javascripts/moment/it-ch.js +75 -0
- data/vendor/assets/javascripts/moment/it.js +99 -53
- data/vendor/assets/javascripts/moment/ja.js +144 -66
- data/vendor/assets/javascripts/moment/jv.js +71 -68
- data/vendor/assets/javascripts/moment/ka.js +85 -72
- data/vendor/assets/javascripts/moment/kk.js +77 -72
- data/vendor/assets/javascripts/moment/km.js +99 -44
- data/vendor/assets/javascripts/moment/kn.js +119 -111
- data/vendor/assets/javascripts/moment/ko.js +70 -67
- data/vendor/assets/javascripts/moment/ku.js +129 -0
- data/vendor/assets/javascripts/moment/ky.js +79 -73
- data/vendor/assets/javascripts/moment/lb.js +125 -115
- data/vendor/assets/javascripts/moment/lo.js +62 -56
- data/vendor/assets/javascripts/moment/lt.js +117 -100
- data/vendor/assets/javascripts/moment/lv.js +87 -81
- data/vendor/assets/javascripts/moment/me.js +109 -94
- data/vendor/assets/javascripts/moment/mi.js +56 -50
- data/vendor/assets/javascripts/moment/mk.js +80 -74
- data/vendor/assets/javascripts/moment/ml.js +77 -66
- data/vendor/assets/javascripts/moment/mn.js +111 -0
- data/vendor/assets/javascripts/moment/mr.js +194 -142
- data/vendor/assets/javascripts/moment/ms-my.js +71 -68
- data/vendor/assets/javascripts/moment/ms.js +71 -68
- data/vendor/assets/javascripts/moment/mt.js +52 -46
- data/vendor/assets/javascripts/moment/my.js +83 -78
- data/vendor/assets/javascripts/moment/nb.js +55 -48
- data/vendor/assets/javascripts/moment/ne.js +116 -108
- data/vendor/assets/javascripts/moment/nl-be.js +93 -69
- data/vendor/assets/javascripts/moment/nl.js +95 -69
- data/vendor/assets/javascripts/moment/nn.js +56 -47
- data/vendor/assets/javascripts/moment/oc-lnc.js +96 -0
- data/vendor/assets/javascripts/moment/pa-in.js +117 -109
- data/vendor/assets/javascripts/moment/pl.js +128 -104
- data/vendor/assets/javascripts/moment/pt-br.js +53 -46
- data/vendor/assets/javascripts/moment/pt.js +58 -50
- data/vendor/assets/javascripts/moment/ro.js +69 -59
- data/vendor/assets/javascripts/moment/ru.js +194 -155
- data/vendor/assets/javascripts/moment/sd.js +76 -83
- data/vendor/assets/javascripts/moment/se.js +53 -47
- data/vendor/assets/javascripts/moment/si.js +65 -57
- data/vendor/assets/javascripts/moment/sk.js +136 -138
- data/vendor/assets/javascripts/moment/sl.js +162 -154
- data/vendor/assets/javascripts/moment/sq.js +59 -54
- data/vendor/assets/javascripts/moment/sr-cyrl.js +119 -93
- data/vendor/assets/javascripts/moment/sr.js +121 -93
- data/vendor/assets/javascripts/moment/ss.js +79 -74
- data/vendor/assets/javascripts/moment/sv.js +64 -55
- data/vendor/assets/javascripts/moment/sw.js +51 -45
- data/vendor/assets/javascripts/moment/ta.js +126 -115
- data/vendor/assets/javascripts/moment/te.js +84 -75
- data/vendor/assets/javascripts/moment/tet.js +63 -53
- data/vendor/assets/javascripts/moment/tg.js +128 -0
- data/vendor/assets/javascripts/moment/th.js +61 -53
- data/vendor/assets/javascripts/moment/tk.js +102 -0
- data/vendor/assets/javascripts/moment/tl-ph.js +53 -48
- data/vendor/assets/javascripts/moment/tlh.js +113 -101
- data/vendor/assets/javascripts/moment/tr.js +100 -74
- data/vendor/assets/javascripts/moment/tzl.js +83 -76
- data/vendor/assets/javascripts/moment/tzm-latn.js +50 -44
- data/vendor/assets/javascripts/moment/tzm.js +50 -44
- data/vendor/assets/javascripts/moment/ug-cn.js +122 -0
- data/vendor/assets/javascripts/moment/uk.js +155 -130
- data/vendor/assets/javascripts/moment/ur.js +76 -83
- data/vendor/assets/javascripts/moment/uz-latn.js +50 -44
- data/vendor/assets/javascripts/moment/uz.js +47 -44
- data/vendor/assets/javascripts/moment/vi.js +76 -65
- data/vendor/assets/javascripts/moment/x-pseudo.js +69 -54
- data/vendor/assets/javascripts/moment/yo.js +49 -46
- data/vendor/assets/javascripts/moment/zh-cn.js +115 -96
- data/vendor/assets/javascripts/moment/zh-hk.js +95 -89
- data/vendor/assets/javascripts/moment/zh-mo.js +111 -0
- data/vendor/assets/javascripts/moment/zh-tw.js +94 -89
- data/vendor/assets/javascripts/moment.js +5030 -3880
- metadata +64 -31
- 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
@@ -10,80 +10,104 @@
|
|
10
10
|
factory(global.moment)
|
11
11
|
}(this, (function (moment) { 'use strict';
|
12
12
|
|
13
|
+
//! moment.js locale configuration
|
13
14
|
|
14
|
-
var monthsShortWithDots =
|
15
|
-
|
15
|
+
var monthsShortWithDots =
|
16
|
+
'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
17
|
+
monthsShortWithoutDots =
|
18
|
+
'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
19
|
+
monthsParse = [
|
20
|
+
/^jan/i,
|
21
|
+
/^feb/i,
|
22
|
+
/^maart|mrt.?$/i,
|
23
|
+
/^apr/i,
|
24
|
+
/^mei$/i,
|
25
|
+
/^jun[i.]?$/i,
|
26
|
+
/^jul[i.]?$/i,
|
27
|
+
/^aug/i,
|
28
|
+
/^sep/i,
|
29
|
+
/^okt/i,
|
30
|
+
/^nov/i,
|
31
|
+
/^dec/i,
|
32
|
+
],
|
33
|
+
monthsRegex =
|
34
|
+
/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
|
16
35
|
|
17
|
-
var
|
18
|
-
|
36
|
+
var nlBe = moment.defineLocale('nl-be', {
|
37
|
+
months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
|
38
|
+
'_'
|
39
|
+
),
|
40
|
+
monthsShort: function (m, format) {
|
41
|
+
if (!m) {
|
42
|
+
return monthsShortWithDots;
|
43
|
+
} else if (/-MMM-/.test(format)) {
|
44
|
+
return monthsShortWithoutDots[m.month()];
|
45
|
+
} else {
|
46
|
+
return monthsShortWithDots[m.month()];
|
47
|
+
}
|
48
|
+
},
|
19
49
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
return monthsShortWithoutDots[m.month()];
|
27
|
-
} else {
|
28
|
-
return monthsShortWithDots[m.month()];
|
29
|
-
}
|
30
|
-
},
|
50
|
+
monthsRegex: monthsRegex,
|
51
|
+
monthsShortRegex: monthsRegex,
|
52
|
+
monthsStrictRegex:
|
53
|
+
/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
|
54
|
+
monthsShortStrictRegex:
|
55
|
+
/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
31
56
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
57
|
+
monthsParse: monthsParse,
|
58
|
+
longMonthsParse: monthsParse,
|
59
|
+
shortMonthsParse: monthsParse,
|
36
60
|
|
37
|
-
|
38
|
-
|
39
|
-
|
61
|
+
weekdays:
|
62
|
+
'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
|
63
|
+
weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
64
|
+
weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
|
65
|
+
weekdaysParseExact: true,
|
66
|
+
longDateFormat: {
|
67
|
+
LT: 'HH:mm',
|
68
|
+
LTS: 'HH:mm:ss',
|
69
|
+
L: 'DD/MM/YYYY',
|
70
|
+
LL: 'D MMMM YYYY',
|
71
|
+
LLL: 'D MMMM YYYY HH:mm',
|
72
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
73
|
+
},
|
74
|
+
calendar: {
|
75
|
+
sameDay: '[vandaag om] LT',
|
76
|
+
nextDay: '[morgen om] LT',
|
77
|
+
nextWeek: 'dddd [om] LT',
|
78
|
+
lastDay: '[gisteren om] LT',
|
79
|
+
lastWeek: '[afgelopen] dddd [om] LT',
|
80
|
+
sameElse: 'L',
|
81
|
+
},
|
82
|
+
relativeTime: {
|
83
|
+
future: 'over %s',
|
84
|
+
past: '%s geleden',
|
85
|
+
s: 'een paar seconden',
|
86
|
+
ss: '%d seconden',
|
87
|
+
m: 'één minuut',
|
88
|
+
mm: '%d minuten',
|
89
|
+
h: 'één uur',
|
90
|
+
hh: '%d uur',
|
91
|
+
d: 'één dag',
|
92
|
+
dd: '%d dagen',
|
93
|
+
M: 'één maand',
|
94
|
+
MM: '%d maanden',
|
95
|
+
y: 'één jaar',
|
96
|
+
yy: '%d jaar',
|
97
|
+
},
|
98
|
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
99
|
+
ordinal: function (number) {
|
100
|
+
return (
|
101
|
+
number +
|
102
|
+
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
103
|
+
);
|
104
|
+
},
|
105
|
+
week: {
|
106
|
+
dow: 1, // Monday is the first day of the week.
|
107
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
108
|
+
},
|
109
|
+
});
|
40
110
|
|
41
|
-
|
42
|
-
weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
43
|
-
weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'),
|
44
|
-
weekdaysParseExact : true,
|
45
|
-
longDateFormat : {
|
46
|
-
LT : 'HH:mm',
|
47
|
-
LTS : 'HH:mm:ss',
|
48
|
-
L : 'DD/MM/YYYY',
|
49
|
-
LL : 'D MMMM YYYY',
|
50
|
-
LLL : 'D MMMM YYYY HH:mm',
|
51
|
-
LLLL : 'dddd D MMMM YYYY HH:mm'
|
52
|
-
},
|
53
|
-
calendar : {
|
54
|
-
sameDay: '[vandaag om] LT',
|
55
|
-
nextDay: '[morgen om] LT',
|
56
|
-
nextWeek: 'dddd [om] LT',
|
57
|
-
lastDay: '[gisteren om] LT',
|
58
|
-
lastWeek: '[afgelopen] dddd [om] LT',
|
59
|
-
sameElse: 'L'
|
60
|
-
},
|
61
|
-
relativeTime : {
|
62
|
-
future : 'over %s',
|
63
|
-
past : '%s geleden',
|
64
|
-
s : 'een paar seconden',
|
65
|
-
ss : '%d seconden',
|
66
|
-
m : 'één minuut',
|
67
|
-
mm : '%d minuten',
|
68
|
-
h : 'één uur',
|
69
|
-
hh : '%d uur',
|
70
|
-
d : 'één dag',
|
71
|
-
dd : '%d dagen',
|
72
|
-
M : 'één maand',
|
73
|
-
MM : '%d maanden',
|
74
|
-
y : 'één jaar',
|
75
|
-
yy : '%d jaar'
|
76
|
-
},
|
77
|
-
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
78
|
-
ordinal : function (number) {
|
79
|
-
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
|
80
|
-
},
|
81
|
-
week : {
|
82
|
-
dow : 1, // Monday is the first day of the week.
|
83
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
84
|
-
}
|
85
|
-
});
|
86
|
-
|
87
|
-
return nlBe;
|
111
|
+
return nlBe;
|
88
112
|
|
89
113
|
})));
|
@@ -10,80 +10,106 @@
|
|
10
10
|
factory(global.moment)
|
11
11
|
}(this, (function (moment) { 'use strict';
|
12
12
|
|
13
|
+
//! moment.js locale configuration
|
13
14
|
|
14
|
-
var monthsShortWithDots =
|
15
|
-
|
15
|
+
var monthsShortWithDots =
|
16
|
+
'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
17
|
+
monthsShortWithoutDots =
|
18
|
+
'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
19
|
+
monthsParse = [
|
20
|
+
/^jan/i,
|
21
|
+
/^feb/i,
|
22
|
+
/^maart|mrt.?$/i,
|
23
|
+
/^apr/i,
|
24
|
+
/^mei$/i,
|
25
|
+
/^jun[i.]?$/i,
|
26
|
+
/^jul[i.]?$/i,
|
27
|
+
/^aug/i,
|
28
|
+
/^sep/i,
|
29
|
+
/^okt/i,
|
30
|
+
/^nov/i,
|
31
|
+
/^dec/i,
|
32
|
+
],
|
33
|
+
monthsRegex =
|
34
|
+
/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
|
16
35
|
|
17
|
-
var
|
18
|
-
|
36
|
+
var nl = moment.defineLocale('nl', {
|
37
|
+
months: 'januari_februari_maart_april_mei_juni_juli_augustus_september_oktober_november_december'.split(
|
38
|
+
'_'
|
39
|
+
),
|
40
|
+
monthsShort: function (m, format) {
|
41
|
+
if (!m) {
|
42
|
+
return monthsShortWithDots;
|
43
|
+
} else if (/-MMM-/.test(format)) {
|
44
|
+
return monthsShortWithoutDots[m.month()];
|
45
|
+
} else {
|
46
|
+
return monthsShortWithDots[m.month()];
|
47
|
+
}
|
48
|
+
},
|
19
49
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
return monthsShortWithoutDots[m.month()];
|
27
|
-
} else {
|
28
|
-
return monthsShortWithDots[m.month()];
|
29
|
-
}
|
30
|
-
},
|
50
|
+
monthsRegex: monthsRegex,
|
51
|
+
monthsShortRegex: monthsRegex,
|
52
|
+
monthsStrictRegex:
|
53
|
+
/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
|
54
|
+
monthsShortStrictRegex:
|
55
|
+
/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
31
56
|
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
monthsShortStrictRegex: /^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
57
|
+
monthsParse: monthsParse,
|
58
|
+
longMonthsParse: monthsParse,
|
59
|
+
shortMonthsParse: monthsParse,
|
36
60
|
|
37
|
-
|
38
|
-
|
39
|
-
|
61
|
+
weekdays:
|
62
|
+
'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
|
63
|
+
weekdaysShort: 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
64
|
+
weekdaysMin: 'zo_ma_di_wo_do_vr_za'.split('_'),
|
65
|
+
weekdaysParseExact: true,
|
66
|
+
longDateFormat: {
|
67
|
+
LT: 'HH:mm',
|
68
|
+
LTS: 'HH:mm:ss',
|
69
|
+
L: 'DD-MM-YYYY',
|
70
|
+
LL: 'D MMMM YYYY',
|
71
|
+
LLL: 'D MMMM YYYY HH:mm',
|
72
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
73
|
+
},
|
74
|
+
calendar: {
|
75
|
+
sameDay: '[vandaag om] LT',
|
76
|
+
nextDay: '[morgen om] LT',
|
77
|
+
nextWeek: 'dddd [om] LT',
|
78
|
+
lastDay: '[gisteren om] LT',
|
79
|
+
lastWeek: '[afgelopen] dddd [om] LT',
|
80
|
+
sameElse: 'L',
|
81
|
+
},
|
82
|
+
relativeTime: {
|
83
|
+
future: 'over %s',
|
84
|
+
past: '%s geleden',
|
85
|
+
s: 'een paar seconden',
|
86
|
+
ss: '%d seconden',
|
87
|
+
m: 'één minuut',
|
88
|
+
mm: '%d minuten',
|
89
|
+
h: 'één uur',
|
90
|
+
hh: '%d uur',
|
91
|
+
d: 'één dag',
|
92
|
+
dd: '%d dagen',
|
93
|
+
w: 'één week',
|
94
|
+
ww: '%d weken',
|
95
|
+
M: 'één maand',
|
96
|
+
MM: '%d maanden',
|
97
|
+
y: 'één jaar',
|
98
|
+
yy: '%d jaar',
|
99
|
+
},
|
100
|
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
101
|
+
ordinal: function (number) {
|
102
|
+
return (
|
103
|
+
number +
|
104
|
+
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
105
|
+
);
|
106
|
+
},
|
107
|
+
week: {
|
108
|
+
dow: 1, // Monday is the first day of the week.
|
109
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
110
|
+
},
|
111
|
+
});
|
40
112
|
|
41
|
-
|
42
|
-
weekdaysShort : 'zo._ma._di._wo._do._vr._za.'.split('_'),
|
43
|
-
weekdaysMin : 'zo_ma_di_wo_do_vr_za'.split('_'),
|
44
|
-
weekdaysParseExact : true,
|
45
|
-
longDateFormat : {
|
46
|
-
LT : 'HH:mm',
|
47
|
-
LTS : 'HH:mm:ss',
|
48
|
-
L : 'DD-MM-YYYY',
|
49
|
-
LL : 'D MMMM YYYY',
|
50
|
-
LLL : 'D MMMM YYYY HH:mm',
|
51
|
-
LLLL : 'dddd D MMMM YYYY HH:mm'
|
52
|
-
},
|
53
|
-
calendar : {
|
54
|
-
sameDay: '[vandaag om] LT',
|
55
|
-
nextDay: '[morgen om] LT',
|
56
|
-
nextWeek: 'dddd [om] LT',
|
57
|
-
lastDay: '[gisteren om] LT',
|
58
|
-
lastWeek: '[afgelopen] dddd [om] LT',
|
59
|
-
sameElse: 'L'
|
60
|
-
},
|
61
|
-
relativeTime : {
|
62
|
-
future : 'over %s',
|
63
|
-
past : '%s geleden',
|
64
|
-
s : 'een paar seconden',
|
65
|
-
ss : '%d seconden',
|
66
|
-
m : 'één minuut',
|
67
|
-
mm : '%d minuten',
|
68
|
-
h : 'één uur',
|
69
|
-
hh : '%d uur',
|
70
|
-
d : 'één dag',
|
71
|
-
dd : '%d dagen',
|
72
|
-
M : 'één maand',
|
73
|
-
MM : '%d maanden',
|
74
|
-
y : 'één jaar',
|
75
|
-
yy : '%d jaar'
|
76
|
-
},
|
77
|
-
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
78
|
-
ordinal : function (number) {
|
79
|
-
return number + ((number === 1 || number === 8 || number >= 20) ? 'ste' : 'de');
|
80
|
-
},
|
81
|
-
week : {
|
82
|
-
dow : 1, // Monday is the first day of the week.
|
83
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
84
|
-
}
|
85
|
-
});
|
86
|
-
|
87
|
-
return nl;
|
113
|
+
return nl;
|
88
114
|
|
89
115
|
})));
|
@@ -1,6 +1,7 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
2
|
//! locale : Nynorsk [nn]
|
3
|
-
//!
|
3
|
+
//! authors : https://github.com/mechuwind
|
4
|
+
//! Stephen Ramthun : https://github.com/stephenramthun
|
4
5
|
|
5
6
|
;(function (global, factory) {
|
6
7
|
typeof exports === 'object' && typeof module !== 'undefined'
|
@@ -9,53 +10,61 @@
|
|
9
10
|
factory(global.moment)
|
10
11
|
}(this, (function (moment) { 'use strict';
|
11
12
|
|
13
|
+
//! moment.js locale configuration
|
12
14
|
|
13
|
-
var nn = moment.defineLocale('nn', {
|
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
|
-
}
|
15
|
+
var nn = moment.defineLocale('nn', {
|
16
|
+
months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
|
17
|
+
'_'
|
18
|
+
),
|
19
|
+
monthsShort:
|
20
|
+
'jan._feb._mars_apr._mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
|
21
|
+
monthsParseExact: true,
|
22
|
+
weekdays: 'sundag_måndag_tysdag_onsdag_torsdag_fredag_laurdag'.split('_'),
|
23
|
+
weekdaysShort: 'su._må._ty._on._to._fr._lau.'.split('_'),
|
24
|
+
weekdaysMin: 'su_må_ty_on_to_fr_la'.split('_'),
|
25
|
+
weekdaysParseExact: true,
|
26
|
+
longDateFormat: {
|
27
|
+
LT: 'HH:mm',
|
28
|
+
LTS: 'HH:mm:ss',
|
29
|
+
L: 'DD.MM.YYYY',
|
30
|
+
LL: 'D. MMMM YYYY',
|
31
|
+
LLL: 'D. MMMM YYYY [kl.] H:mm',
|
32
|
+
LLLL: 'dddd D. MMMM YYYY [kl.] HH:mm',
|
33
|
+
},
|
34
|
+
calendar: {
|
35
|
+
sameDay: '[I dag klokka] LT',
|
36
|
+
nextDay: '[I morgon klokka] LT',
|
37
|
+
nextWeek: 'dddd [klokka] LT',
|
38
|
+
lastDay: '[I går klokka] LT',
|
39
|
+
lastWeek: '[Føregåande] dddd [klokka] LT',
|
40
|
+
sameElse: 'L',
|
41
|
+
},
|
42
|
+
relativeTime: {
|
43
|
+
future: 'om %s',
|
44
|
+
past: '%s sidan',
|
45
|
+
s: 'nokre sekund',
|
46
|
+
ss: '%d sekund',
|
47
|
+
m: 'eit minutt',
|
48
|
+
mm: '%d minutt',
|
49
|
+
h: 'ein time',
|
50
|
+
hh: '%d timar',
|
51
|
+
d: 'ein dag',
|
52
|
+
dd: '%d dagar',
|
53
|
+
w: 'ei veke',
|
54
|
+
ww: '%d veker',
|
55
|
+
M: 'ein månad',
|
56
|
+
MM: '%d månader',
|
57
|
+
y: 'eit år',
|
58
|
+
yy: '%d år',
|
59
|
+
},
|
60
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
61
|
+
ordinal: '%d.',
|
62
|
+
week: {
|
63
|
+
dow: 1, // Monday is the first day of the week.
|
64
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
65
|
+
},
|
66
|
+
});
|
58
67
|
|
59
|
-
return nn;
|
68
|
+
return nn;
|
60
69
|
|
61
70
|
})));
|
@@ -0,0 +1,96 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Occitan, lengadocian dialecte [oc-lnc]
|
3
|
+
//! author : Quentin PAGÈS : https://github.com/Quenty31
|
4
|
+
|
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
|
+
//! moment.js locale configuration
|
13
|
+
|
14
|
+
var ocLnc = moment.defineLocale('oc-lnc', {
|
15
|
+
months: {
|
16
|
+
standalone:
|
17
|
+
'genièr_febrièr_març_abril_mai_junh_julhet_agost_setembre_octòbre_novembre_decembre'.split(
|
18
|
+
'_'
|
19
|
+
),
|
20
|
+
format: "de genièr_de febrièr_de març_d'abril_de mai_de junh_de julhet_d'agost_de setembre_d'octòbre_de novembre_de decembre".split(
|
21
|
+
'_'
|
22
|
+
),
|
23
|
+
isFormat: /D[oD]?(\s)+MMMM/,
|
24
|
+
},
|
25
|
+
monthsShort:
|
26
|
+
'gen._febr._març_abr._mai_junh_julh._ago._set._oct._nov._dec.'.split(
|
27
|
+
'_'
|
28
|
+
),
|
29
|
+
monthsParseExact: true,
|
30
|
+
weekdays: 'dimenge_diluns_dimars_dimècres_dijòus_divendres_dissabte'.split(
|
31
|
+
'_'
|
32
|
+
),
|
33
|
+
weekdaysShort: 'dg._dl._dm._dc._dj._dv._ds.'.split('_'),
|
34
|
+
weekdaysMin: 'dg_dl_dm_dc_dj_dv_ds'.split('_'),
|
35
|
+
weekdaysParseExact: true,
|
36
|
+
longDateFormat: {
|
37
|
+
LT: 'H:mm',
|
38
|
+
LTS: 'H:mm:ss',
|
39
|
+
L: 'DD/MM/YYYY',
|
40
|
+
LL: 'D MMMM [de] YYYY',
|
41
|
+
ll: 'D MMM YYYY',
|
42
|
+
LLL: 'D MMMM [de] YYYY [a] H:mm',
|
43
|
+
lll: 'D MMM YYYY, H:mm',
|
44
|
+
LLLL: 'dddd D MMMM [de] YYYY [a] H:mm',
|
45
|
+
llll: 'ddd D MMM YYYY, H:mm',
|
46
|
+
},
|
47
|
+
calendar: {
|
48
|
+
sameDay: '[uèi a] LT',
|
49
|
+
nextDay: '[deman a] LT',
|
50
|
+
nextWeek: 'dddd [a] LT',
|
51
|
+
lastDay: '[ièr a] LT',
|
52
|
+
lastWeek: 'dddd [passat a] LT',
|
53
|
+
sameElse: 'L',
|
54
|
+
},
|
55
|
+
relativeTime: {
|
56
|
+
future: "d'aquí %s",
|
57
|
+
past: 'fa %s',
|
58
|
+
s: 'unas segondas',
|
59
|
+
ss: '%d segondas',
|
60
|
+
m: 'una minuta',
|
61
|
+
mm: '%d minutas',
|
62
|
+
h: 'una ora',
|
63
|
+
hh: '%d oras',
|
64
|
+
d: 'un jorn',
|
65
|
+
dd: '%d jorns',
|
66
|
+
M: 'un mes',
|
67
|
+
MM: '%d meses',
|
68
|
+
y: 'un an',
|
69
|
+
yy: '%d ans',
|
70
|
+
},
|
71
|
+
dayOfMonthOrdinalParse: /\d{1,2}(r|n|t|è|a)/,
|
72
|
+
ordinal: function (number, period) {
|
73
|
+
var output =
|
74
|
+
number === 1
|
75
|
+
? 'r'
|
76
|
+
: number === 2
|
77
|
+
? 'n'
|
78
|
+
: number === 3
|
79
|
+
? 'r'
|
80
|
+
: number === 4
|
81
|
+
? 't'
|
82
|
+
: 'è';
|
83
|
+
if (period === 'w' || period === 'W') {
|
84
|
+
output = 'a';
|
85
|
+
}
|
86
|
+
return number + output;
|
87
|
+
},
|
88
|
+
week: {
|
89
|
+
dow: 1, // Monday is the first day of the week.
|
90
|
+
doy: 4,
|
91
|
+
},
|
92
|
+
});
|
93
|
+
|
94
|
+
return ocLnc;
|
95
|
+
|
96
|
+
})));
|