momentjs-rails 2.20.1 → 2.29.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/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/-H/-H77gbOgi-dwHJoevs2PsAJBV-nde7DFDWBPXqUrMkw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/-y/-ypqz4WBYM3Qftk20RenhtH0iPKxdtyu6t3hVOjJLL4.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/1l/1l4oJ9T6GJ0pN-vGrH1QH9XT7AVF3Z9pakdHrxcsuXw.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3T/3TjWGZFWBLAEGSW7kQIDJIL6_MukMwz_wLDMwgYsN1E.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/3e/3eGeoVsqjktkiAfNQ4zBuxtb0rtVWyQsKgjho5OHYnY.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/9C/9Cy8L_tqI8SvH-pVigMqBlPTus4vnZvt3YE2y8--beE.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/9z/9zOsSzS7x1TCGFnvxdjQdrEL2MENRZARP2fzL5JYLF0.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/AP/AP7JoF1ZWY1lf5txW64EpzKJEzOIsR9Wkn_V0pl6Kzo.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Bu/BuxnmLYpqxwN3qck74Nh3Adaqz5VwdArL7wCZx6TnII.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/JO/JO9QyaKhLUs4VF1ODPXLiqcSziQS4x3sudms-3GYjww.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Mn/MnWwrzXFar6jFGAfp8PS_cZXjeFYCA85xsTQT758958.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/OM/OM7fRuvTUPQcZERsO6Tsv0fvTdZqsRZbN-mYK00TwnI.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Pn/PnNlsrskw8SKHpOLkqJgEN_HjZzB2jsQZauj-dnQQ2A.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Rf/RfFWq_tyttbS2wyfSc0kKvcSxUeC_m01sL3Dl6EWEqM.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Ru/RuQ9HENefRmSoZaLfw7LalsxdBHpKJMyc2c3OQ_kQr8.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/T-/T-9_ffpUxh6GAYTAzM3sF5lykyt9GVpcbKZaRXxw0wA.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zj/Zjn9OiwGREdMXvLZA-tY289lQslnn7R3BrSwhsntMWQ.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/Zm/Zmp1hSfJjOVQBTRXZ-xSs8qqIK6lmyQ4GK_uYVsDVJc.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/bR/bRSmDUPNI--mMuAgRHWf1r56iydNwHRg_wniS8HqhNg.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dA/dAAcqCClwz0OKgpbEd9G3OUYKW1TeNqJV49Zxh2bQ5A.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/dh/dhlLaVScr1-Ty5UFcg6xdU4xSWIuySWzjcC5OU2mOf4.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/gt/gtu4KqwPpmom4hwtRz9x180bzJzATR6V8hyE3uHsyas.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/kl/klJHIoyRhrimisvwpjAPKxae89riL_0exIgpv4u3u5Y.cache +0 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/m1/m16f5eEXdsOfzbCB88BS3eojIypOTYQjyyv5kkTDwxY.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/mm/mmqv3-gEoPWhMrVamMnpI1csCNLKpv-qVQgHERXQNaU.cache +2 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/rp/rpqm2QeVJPWIySovDg4XdCnI6X5_FXCd0pZhuOnwAfk.cache +1 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/wx/wxFkskdA6iSIVZxka368Y8wkP-3edr2nlW4VSOI6GhY.cache +3 -0
- data/test/dummy/tmp/cache/assets/sprockets/v4.0.0/xP/xPbdGyTHlpGRgIS0gbG9suCByeakXeTFaQ1B_h3_aUI.cache +0 -0
- data/test/integration/navigation_test.rb +1 -1
- data/vendor/assets/javascripts/moment/af.js +51 -54
- data/vendor/assets/javascripts/moment/ar-dz.js +150 -54
- data/vendor/assets/javascripts/moment/ar-kw.js +40 -46
- data/vendor/assets/javascripts/moment/ar-ly.js +141 -97
- data/vendor/assets/javascripts/moment/ar-ma.js +40 -46
- data/vendor/assets/javascripts/moment/ar-sa.js +75 -77
- data/vendor/assets/javascripts/moment/ar-tn.js +15 -21
- data/vendor/assets/javascripts/moment/ar.js +158 -112
- data/vendor/assets/javascripts/moment/az.js +52 -57
- data/vendor/assets/javascripts/moment/be.js +69 -63
- data/vendor/assets/javascripts/moment/bg.js +49 -53
- data/vendor/assets/javascripts/moment/bm.js +43 -51
- data/vendor/assets/javascripts/moment/bn-bd.js +128 -0
- data/vendor/assets/javascripts/moment/bn.js +76 -78
- data/vendor/assets/javascripts/moment/bo.js +80 -78
- data/vendor/assets/javascripts/moment/br.js +115 -59
- data/vendor/assets/javascripts/moment/bs.js +48 -52
- data/vendor/assets/javascripts/moment/ca.js +76 -68
- data/vendor/assets/javascripts/moment/cs.js +80 -89
- data/vendor/assets/javascripts/moment/cv.js +45 -47
- data/vendor/assets/javascripts/moment/cy.js +41 -26
- data/vendor/assets/javascripts/moment/da.js +43 -51
- data/vendor/assets/javascripts/moment/de-at.js +53 -54
- data/vendor/assets/javascripts/moment/de-ch.js +54 -55
- data/vendor/assets/javascripts/moment/de.js +53 -54
- data/vendor/assets/javascripts/moment/dv.js +64 -75
- data/vendor/assets/javascripts/moment/el.js +63 -60
- data/vendor/assets/javascripts/moment/en-au.js +55 -55
- data/vendor/assets/javascripts/moment/en-ca.js +52 -52
- data/vendor/assets/javascripts/moment/en-gb.js +55 -55
- data/vendor/assets/javascripts/moment/en-ie.js +55 -55
- data/vendor/assets/javascripts/moment/en-il.js +64 -0
- data/vendor/assets/javascripts/moment/en-in.js +68 -0
- data/vendor/assets/javascripts/moment/en-nz.js +55 -55
- data/vendor/assets/javascripts/moment/en-sg.js +68 -0
- data/vendor/assets/javascripts/moment/eo.js +46 -52
- data/vendor/assets/javascripts/moment/es-do.js +75 -63
- data/vendor/assets/javascripts/moment/es-mx.js +106 -0
- data/vendor/assets/javascripts/moment/es-us.js +83 -61
- data/vendor/assets/javascripts/moment/es.js +83 -70
- data/vendor/assets/javascripts/moment/et.js +58 -62
- data/vendor/assets/javascripts/moment/eu.js +53 -57
- data/vendor/assets/javascripts/moment/fa.js +84 -82
- data/vendor/assets/javascripts/moment/fi.js +72 -61
- data/vendor/assets/javascripts/moment/fil.js +58 -0
- data/vendor/assets/javascripts/moment/fo.js +46 -51
- data/vendor/assets/javascripts/moment/fr-ca.js +44 -50
- data/vendor/assets/javascripts/moment/fr-ch.js +47 -53
- data/vendor/assets/javascripts/moment/fr.js +72 -52
- data/vendor/assets/javascripts/moment/fy.js +52 -51
- data/vendor/assets/javascripts/moment/ga.js +95 -0
- data/vendor/assets/javascripts/moment/gd.js +81 -63
- data/vendor/assets/javascripts/moment/gl.js +54 -58
- data/vendor/assets/javascripts/moment/gom-deva.js +124 -0
- data/vendor/assets/javascripts/moment/gom-latn.js +70 -70
- data/vendor/assets/javascripts/moment/gu.js +30 -34
- data/vendor/assets/javascripts/moment/he.js +48 -54
- data/vendor/assets/javascripts/moment/hi.js +115 -76
- data/vendor/assets/javascripts/moment/hr.js +54 -55
- data/vendor/assets/javascripts/moment/hu.js +63 -56
- data/vendor/assets/javascripts/moment/hy-am.js +44 -48
- data/vendor/assets/javascripts/moment/id.js +44 -52
- data/vendor/assets/javascripts/moment/is.js +61 -55
- data/vendor/assets/javascripts/moment/it-ch.js +64 -0
- data/vendor/assets/javascripts/moment/it.js +89 -54
- data/vendor/assets/javascripts/moment/ja.js +122 -55
- data/vendor/assets/javascripts/moment/jv.js +44 -52
- data/vendor/assets/javascripts/moment/ka.js +68 -66
- data/vendor/assets/javascripts/moment/kk.js +46 -52
- data/vendor/assets/javascripts/moment/km.js +64 -21
- data/vendor/assets/javascripts/moment/kn.js +72 -76
- data/vendor/assets/javascripts/moment/ko.js +48 -56
- data/vendor/assets/javascripts/moment/ku.js +118 -0
- data/vendor/assets/javascripts/moment/ky.js +48 -53
- data/vendor/assets/javascripts/moment/lb.js +39 -42
- data/vendor/assets/javascripts/moment/lo.js +44 -50
- data/vendor/assets/javascripts/moment/lt.js +79 -75
- data/vendor/assets/javascripts/moment/lv.js +57 -63
- data/vendor/assets/javascripts/moment/me.js +53 -48
- data/vendor/assets/javascripts/moment/mi.js +15 -21
- data/vendor/assets/javascripts/moment/mk.js +46 -52
- data/vendor/assets/javascripts/moment/ml.js +51 -53
- data/vendor/assets/javascripts/moment/mn.js +99 -0
- data/vendor/assets/javascripts/moment/mr.js +140 -100
- data/vendor/assets/javascripts/moment/ms-my.js +43 -51
- data/vendor/assets/javascripts/moment/ms.js +43 -51
- data/vendor/assets/javascripts/moment/mt.js +45 -51
- data/vendor/assets/javascripts/moment/my.js +37 -43
- data/vendor/assets/javascripts/moment/nb.js +45 -48
- data/vendor/assets/javascripts/moment/ne.js +73 -77
- data/vendor/assets/javascripts/moment/nl-be.js +70 -57
- data/vendor/assets/javascripts/moment/nl.js +72 -57
- data/vendor/assets/javascripts/moment/nn.js +46 -47
- data/vendor/assets/javascripts/moment/oc-lnc.js +83 -0
- data/vendor/assets/javascripts/moment/pa-in.js +72 -76
- data/vendor/assets/javascripts/moment/pl.js +67 -55
- data/vendor/assets/javascripts/moment/pt-br.js +41 -46
- data/vendor/assets/javascripts/moment/pt.js +46 -50
- data/vendor/assets/javascripts/moment/ro.js +49 -51
- data/vendor/assets/javascripts/moment/ru.js +104 -83
- data/vendor/assets/javascripts/moment/sd.js +56 -74
- data/vendor/assets/javascripts/moment/se.js +41 -46
- data/vendor/assets/javascripts/moment/si.js +48 -52
- data/vendor/assets/javascripts/moment/sk.js +52 -66
- data/vendor/assets/javascripts/moment/sl.js +50 -54
- data/vendor/assets/javascripts/moment/sq.js +47 -53
- data/vendor/assets/javascripts/moment/sr-cyrl.js +53 -49
- data/vendor/assets/javascripts/moment/sr.js +56 -50
- data/vendor/assets/javascripts/moment/ss.js +48 -55
- data/vendor/assets/javascripts/moment/sv.js +51 -53
- data/vendor/assets/javascripts/moment/sw.js +45 -51
- data/vendor/assets/javascripts/moment/ta.js +75 -77
- data/vendor/assets/javascripts/moment/te.js +51 -55
- data/vendor/assets/javascripts/moment/tet.js +49 -50
- data/vendor/assets/javascripts/moment/tg.js +116 -0
- data/vendor/assets/javascripts/moment/th.js +45 -49
- data/vendor/assets/javascripts/moment/tk.js +91 -0
- data/vendor/assets/javascripts/moment/tl-ph.js +40 -46
- data/vendor/assets/javascripts/moment/tlh.js +69 -67
- data/vendor/assets/javascripts/moment/tr.js +91 -76
- data/vendor/assets/javascripts/moment/tzl.js +65 -69
- data/vendor/assets/javascripts/moment/tzm-latn.js +39 -45
- data/vendor/assets/javascripts/moment/tzm.js +38 -44
- data/vendor/assets/javascripts/moment/ug-cn.js +110 -0
- data/vendor/assets/javascripts/moment/uk.js +78 -68
- data/vendor/assets/javascripts/moment/ur.js +56 -74
- data/vendor/assets/javascripts/moment/uz-latn.js +44 -50
- data/vendor/assets/javascripts/moment/uz.js +42 -50
- data/vendor/assets/javascripts/moment/vi.js +54 -55
- data/vendor/assets/javascripts/moment/x-pseudo.js +58 -56
- data/vendor/assets/javascripts/moment/yo.js +44 -52
- data/vendor/assets/javascripts/moment/zh-cn.js +66 -58
- data/vendor/assets/javascripts/moment/zh-hk.js +58 -63
- data/vendor/assets/javascripts/moment/zh-mo.js +100 -0
- data/vendor/assets/javascripts/moment/zh-tw.js +55 -61
- data/vendor/assets/javascripts/moment.js +2673 -1546
- metadata +92 -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
@@ -2,56 +2,80 @@
|
|
2
2
|
//! locale : French [fr]
|
3
3
|
//! author : John Fischer : https://github.com/jfroffice
|
4
4
|
|
5
|
-
|
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';
|
5
|
+
import moment from '../moment';
|
11
6
|
|
7
|
+
var monthsStrictRegex = /^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
|
8
|
+
monthsShortStrictRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
|
9
|
+
monthsRegex = /(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
|
10
|
+
monthsParse = [
|
11
|
+
/^janv/i,
|
12
|
+
/^févr/i,
|
13
|
+
/^mars/i,
|
14
|
+
/^avr/i,
|
15
|
+
/^mai/i,
|
16
|
+
/^juin/i,
|
17
|
+
/^juil/i,
|
18
|
+
/^août/i,
|
19
|
+
/^sept/i,
|
20
|
+
/^oct/i,
|
21
|
+
/^nov/i,
|
22
|
+
/^déc/i,
|
23
|
+
];
|
12
24
|
|
13
|
-
|
14
|
-
months
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
25
|
+
export default moment.defineLocale('fr', {
|
26
|
+
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
|
27
|
+
'_'
|
28
|
+
),
|
29
|
+
monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
|
30
|
+
'_'
|
31
|
+
),
|
32
|
+
monthsRegex: monthsRegex,
|
33
|
+
monthsShortRegex: monthsRegex,
|
34
|
+
monthsStrictRegex: monthsStrictRegex,
|
35
|
+
monthsShortStrictRegex: monthsShortStrictRegex,
|
36
|
+
monthsParse: monthsParse,
|
37
|
+
longMonthsParse: monthsParse,
|
38
|
+
shortMonthsParse: monthsParse,
|
39
|
+
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
40
|
+
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
41
|
+
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
|
42
|
+
weekdaysParseExact: true,
|
43
|
+
longDateFormat: {
|
44
|
+
LT: 'HH:mm',
|
45
|
+
LTS: 'HH:mm:ss',
|
46
|
+
L: 'DD/MM/YYYY',
|
47
|
+
LL: 'D MMMM YYYY',
|
48
|
+
LLL: 'D MMMM YYYY HH:mm',
|
49
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
28
50
|
},
|
29
|
-
calendar
|
30
|
-
sameDay
|
31
|
-
nextDay
|
32
|
-
nextWeek
|
33
|
-
lastDay
|
34
|
-
lastWeek
|
35
|
-
sameElse
|
51
|
+
calendar: {
|
52
|
+
sameDay: '[Aujourd’hui à] LT',
|
53
|
+
nextDay: '[Demain à] LT',
|
54
|
+
nextWeek: 'dddd [à] LT',
|
55
|
+
lastDay: '[Hier à] LT',
|
56
|
+
lastWeek: 'dddd [dernier à] LT',
|
57
|
+
sameElse: 'L',
|
36
58
|
},
|
37
|
-
relativeTime
|
38
|
-
future
|
39
|
-
past
|
40
|
-
s
|
41
|
-
ss
|
42
|
-
m
|
43
|
-
mm
|
44
|
-
h
|
45
|
-
hh
|
46
|
-
d
|
47
|
-
dd
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
59
|
+
relativeTime: {
|
60
|
+
future: 'dans %s',
|
61
|
+
past: 'il y a %s',
|
62
|
+
s: 'quelques secondes',
|
63
|
+
ss: '%d secondes',
|
64
|
+
m: 'une minute',
|
65
|
+
mm: '%d minutes',
|
66
|
+
h: 'une heure',
|
67
|
+
hh: '%d heures',
|
68
|
+
d: 'un jour',
|
69
|
+
dd: '%d jours',
|
70
|
+
w: 'une semaine',
|
71
|
+
ww: '%d semaines',
|
72
|
+
M: 'un mois',
|
73
|
+
MM: '%d mois',
|
74
|
+
y: 'un an',
|
75
|
+
yy: '%d ans',
|
52
76
|
},
|
53
77
|
dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
|
54
|
-
ordinal
|
78
|
+
ordinal: function (number, period) {
|
55
79
|
switch (period) {
|
56
80
|
// TODO: Return 'e' when day of month > 1. Move this case inside
|
57
81
|
// block for masculine words below.
|
@@ -73,12 +97,8 @@ var fr = moment.defineLocale('fr', {
|
|
73
97
|
return number + (number === 1 ? 're' : 'e');
|
74
98
|
}
|
75
99
|
},
|
76
|
-
week
|
77
|
-
dow
|
78
|
-
doy
|
79
|
-
}
|
100
|
+
week: {
|
101
|
+
dow: 1, // Monday is the first day of the week.
|
102
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
103
|
+
},
|
80
104
|
});
|
81
|
-
|
82
|
-
return fr;
|
83
|
-
|
84
|
-
})));
|
@@ -2,20 +2,20 @@
|
|
2
2
|
//! locale : Frisian [fy]
|
3
3
|
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
4
4
|
|
5
|
-
|
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';
|
5
|
+
import moment from '../moment';
|
11
6
|
|
7
|
+
var monthsShortWithDots = 'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split(
|
8
|
+
'_'
|
9
|
+
),
|
10
|
+
monthsShortWithoutDots = 'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split(
|
11
|
+
'_'
|
12
|
+
);
|
12
13
|
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
monthsShort : function (m, format) {
|
14
|
+
export default moment.defineLocale('fy', {
|
15
|
+
months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(
|
16
|
+
'_'
|
17
|
+
),
|
18
|
+
monthsShort: function (m, format) {
|
19
19
|
if (!m) {
|
20
20
|
return monthsShortWithDots;
|
21
21
|
} else if (/-MMM-/.test(format)) {
|
@@ -24,53 +24,54 @@ var fy = moment.defineLocale('fy', {
|
|
24
24
|
return monthsShortWithDots[m.month()];
|
25
25
|
}
|
26
26
|
},
|
27
|
-
monthsParseExact
|
28
|
-
weekdays
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
27
|
+
monthsParseExact: true,
|
28
|
+
weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(
|
29
|
+
'_'
|
30
|
+
),
|
31
|
+
weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
|
32
|
+
weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
|
33
|
+
weekdaysParseExact: true,
|
34
|
+
longDateFormat: {
|
35
|
+
LT: 'HH:mm',
|
36
|
+
LTS: 'HH:mm:ss',
|
37
|
+
L: 'DD-MM-YYYY',
|
38
|
+
LL: 'D MMMM YYYY',
|
39
|
+
LLL: 'D MMMM YYYY HH:mm',
|
40
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
39
41
|
},
|
40
|
-
calendar
|
42
|
+
calendar: {
|
41
43
|
sameDay: '[hjoed om] LT',
|
42
44
|
nextDay: '[moarn om] LT',
|
43
45
|
nextWeek: 'dddd [om] LT',
|
44
46
|
lastDay: '[juster om] LT',
|
45
47
|
lastWeek: '[ôfrûne] dddd [om] LT',
|
46
|
-
sameElse: 'L'
|
48
|
+
sameElse: 'L',
|
47
49
|
},
|
48
|
-
relativeTime
|
49
|
-
future
|
50
|
-
past
|
51
|
-
s
|
52
|
-
ss
|
53
|
-
m
|
54
|
-
mm
|
55
|
-
h
|
56
|
-
hh
|
57
|
-
d
|
58
|
-
dd
|
59
|
-
M
|
60
|
-
MM
|
61
|
-
y
|
62
|
-
yy
|
50
|
+
relativeTime: {
|
51
|
+
future: 'oer %s',
|
52
|
+
past: '%s lyn',
|
53
|
+
s: 'in pear sekonden',
|
54
|
+
ss: '%d sekonden',
|
55
|
+
m: 'ien minút',
|
56
|
+
mm: '%d minuten',
|
57
|
+
h: 'ien oere',
|
58
|
+
hh: '%d oeren',
|
59
|
+
d: 'ien dei',
|
60
|
+
dd: '%d dagen',
|
61
|
+
M: 'ien moanne',
|
62
|
+
MM: '%d moannen',
|
63
|
+
y: 'ien jier',
|
64
|
+
yy: '%d jierren',
|
63
65
|
},
|
64
66
|
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
65
|
-
ordinal
|
66
|
-
return
|
67
|
+
ordinal: function (number) {
|
68
|
+
return (
|
69
|
+
number +
|
70
|
+
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
71
|
+
);
|
72
|
+
},
|
73
|
+
week: {
|
74
|
+
dow: 1, // Monday is the first day of the week.
|
75
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
67
76
|
},
|
68
|
-
week : {
|
69
|
-
dow : 1, // Monday is the first day of the week.
|
70
|
-
doy : 4 // The week that contains Jan 4th is the first week of the year.
|
71
|
-
}
|
72
77
|
});
|
73
|
-
|
74
|
-
return fy;
|
75
|
-
|
76
|
-
})));
|
@@ -0,0 +1,95 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Irish or Irish Gaelic [ga]
|
3
|
+
//! author : André Silva : https://github.com/askpt
|
4
|
+
|
5
|
+
import moment from '../moment';
|
6
|
+
|
7
|
+
var months = [
|
8
|
+
'Eanáir',
|
9
|
+
'Feabhra',
|
10
|
+
'Márta',
|
11
|
+
'Aibreán',
|
12
|
+
'Bealtaine',
|
13
|
+
'Meitheamh',
|
14
|
+
'Iúil',
|
15
|
+
'Lúnasa',
|
16
|
+
'Meán Fómhair',
|
17
|
+
'Deireadh Fómhair',
|
18
|
+
'Samhain',
|
19
|
+
'Nollaig',
|
20
|
+
],
|
21
|
+
monthsShort = [
|
22
|
+
'Ean',
|
23
|
+
'Feabh',
|
24
|
+
'Márt',
|
25
|
+
'Aib',
|
26
|
+
'Beal',
|
27
|
+
'Meith',
|
28
|
+
'Iúil',
|
29
|
+
'Lún',
|
30
|
+
'M.F.',
|
31
|
+
'D.F.',
|
32
|
+
'Samh',
|
33
|
+
'Noll',
|
34
|
+
],
|
35
|
+
weekdays = [
|
36
|
+
'Dé Domhnaigh',
|
37
|
+
'Dé Luain',
|
38
|
+
'Dé Máirt',
|
39
|
+
'Dé Céadaoin',
|
40
|
+
'Déardaoin',
|
41
|
+
'Dé hAoine',
|
42
|
+
'Dé Sathairn',
|
43
|
+
],
|
44
|
+
weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
|
45
|
+
weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
|
46
|
+
|
47
|
+
export default moment.defineLocale('ga', {
|
48
|
+
months: months,
|
49
|
+
monthsShort: monthsShort,
|
50
|
+
monthsParseExact: true,
|
51
|
+
weekdays: weekdays,
|
52
|
+
weekdaysShort: weekdaysShort,
|
53
|
+
weekdaysMin: weekdaysMin,
|
54
|
+
longDateFormat: {
|
55
|
+
LT: 'HH:mm',
|
56
|
+
LTS: 'HH:mm:ss',
|
57
|
+
L: 'DD/MM/YYYY',
|
58
|
+
LL: 'D MMMM YYYY',
|
59
|
+
LLL: 'D MMMM YYYY HH:mm',
|
60
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
61
|
+
},
|
62
|
+
calendar: {
|
63
|
+
sameDay: '[Inniu ag] LT',
|
64
|
+
nextDay: '[Amárach ag] LT',
|
65
|
+
nextWeek: 'dddd [ag] LT',
|
66
|
+
lastDay: '[Inné ag] LT',
|
67
|
+
lastWeek: 'dddd [seo caite] [ag] LT',
|
68
|
+
sameElse: 'L',
|
69
|
+
},
|
70
|
+
relativeTime: {
|
71
|
+
future: 'i %s',
|
72
|
+
past: '%s ó shin',
|
73
|
+
s: 'cúpla soicind',
|
74
|
+
ss: '%d soicind',
|
75
|
+
m: 'nóiméad',
|
76
|
+
mm: '%d nóiméad',
|
77
|
+
h: 'uair an chloig',
|
78
|
+
hh: '%d uair an chloig',
|
79
|
+
d: 'lá',
|
80
|
+
dd: '%d lá',
|
81
|
+
M: 'mí',
|
82
|
+
MM: '%d míonna',
|
83
|
+
y: 'bliain',
|
84
|
+
yy: '%d bliain',
|
85
|
+
},
|
86
|
+
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
87
|
+
ordinal: function (number) {
|
88
|
+
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
89
|
+
return number + output;
|
90
|
+
},
|
91
|
+
week: {
|
92
|
+
dow: 1, // Monday is the first day of the week.
|
93
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
94
|
+
},
|
95
|
+
});
|
@@ -2,76 +2,94 @@
|
|
2
2
|
//! locale : Scottish Gaelic [gd]
|
3
3
|
//! author : Jon Ashdown : https://github.com/jonashdown
|
4
4
|
|
5
|
-
|
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
|
-
|
5
|
+
import moment from '../moment';
|
12
6
|
|
13
7
|
var months = [
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
8
|
+
'Am Faoilleach',
|
9
|
+
'An Gearran',
|
10
|
+
'Am Màrt',
|
11
|
+
'An Giblean',
|
12
|
+
'An Cèitean',
|
13
|
+
'An t-Ògmhios',
|
14
|
+
'An t-Iuchar',
|
15
|
+
'An Lùnastal',
|
16
|
+
'An t-Sultain',
|
17
|
+
'An Dàmhair',
|
18
|
+
'An t-Samhain',
|
19
|
+
'An Dùbhlachd',
|
20
|
+
],
|
21
|
+
monthsShort = [
|
22
|
+
'Faoi',
|
23
|
+
'Gear',
|
24
|
+
'Màrt',
|
25
|
+
'Gibl',
|
26
|
+
'Cèit',
|
27
|
+
'Ògmh',
|
28
|
+
'Iuch',
|
29
|
+
'Lùn',
|
30
|
+
'Sult',
|
31
|
+
'Dàmh',
|
32
|
+
'Samh',
|
33
|
+
'Dùbh',
|
34
|
+
],
|
35
|
+
weekdays = [
|
36
|
+
'Didòmhnaich',
|
37
|
+
'Diluain',
|
38
|
+
'Dimàirt',
|
39
|
+
'Diciadain',
|
40
|
+
'Diardaoin',
|
41
|
+
'Dihaoine',
|
42
|
+
'Disathairne',
|
43
|
+
],
|
44
|
+
weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
|
45
|
+
weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
|
22
46
|
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
LLL : 'D MMMM YYYY HH:mm',
|
38
|
-
LLLL : 'dddd, D MMMM YYYY HH:mm'
|
47
|
+
export default moment.defineLocale('gd', {
|
48
|
+
months: months,
|
49
|
+
monthsShort: monthsShort,
|
50
|
+
monthsParseExact: true,
|
51
|
+
weekdays: weekdays,
|
52
|
+
weekdaysShort: weekdaysShort,
|
53
|
+
weekdaysMin: weekdaysMin,
|
54
|
+
longDateFormat: {
|
55
|
+
LT: 'HH:mm',
|
56
|
+
LTS: 'HH:mm:ss',
|
57
|
+
L: 'DD/MM/YYYY',
|
58
|
+
LL: 'D MMMM YYYY',
|
59
|
+
LLL: 'D MMMM YYYY HH:mm',
|
60
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
39
61
|
},
|
40
|
-
calendar
|
41
|
-
sameDay
|
42
|
-
nextDay
|
43
|
-
nextWeek
|
44
|
-
lastDay
|
45
|
-
lastWeek
|
46
|
-
sameElse
|
62
|
+
calendar: {
|
63
|
+
sameDay: '[An-diugh aig] LT',
|
64
|
+
nextDay: '[A-màireach aig] LT',
|
65
|
+
nextWeek: 'dddd [aig] LT',
|
66
|
+
lastDay: '[An-dè aig] LT',
|
67
|
+
lastWeek: 'dddd [seo chaidh] [aig] LT',
|
68
|
+
sameElse: 'L',
|
47
69
|
},
|
48
|
-
relativeTime
|
49
|
-
future
|
50
|
-
past
|
51
|
-
s
|
52
|
-
ss
|
53
|
-
m
|
54
|
-
mm
|
55
|
-
h
|
56
|
-
hh
|
57
|
-
d
|
58
|
-
dd
|
59
|
-
M
|
60
|
-
MM
|
61
|
-
y
|
62
|
-
yy
|
70
|
+
relativeTime: {
|
71
|
+
future: 'ann an %s',
|
72
|
+
past: 'bho chionn %s',
|
73
|
+
s: 'beagan diogan',
|
74
|
+
ss: '%d diogan',
|
75
|
+
m: 'mionaid',
|
76
|
+
mm: '%d mionaidean',
|
77
|
+
h: 'uair',
|
78
|
+
hh: '%d uairean',
|
79
|
+
d: 'latha',
|
80
|
+
dd: '%d latha',
|
81
|
+
M: 'mìos',
|
82
|
+
MM: '%d mìosan',
|
83
|
+
y: 'bliadhna',
|
84
|
+
yy: '%d bliadhna',
|
63
85
|
},
|
64
|
-
dayOfMonthOrdinalParse
|
65
|
-
ordinal
|
86
|
+
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
87
|
+
ordinal: function (number) {
|
66
88
|
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
67
89
|
return number + output;
|
68
90
|
},
|
69
|
-
week
|
70
|
-
dow
|
71
|
-
doy
|
72
|
-
}
|
91
|
+
week: {
|
92
|
+
dow: 1, // Monday is the first day of the week.
|
93
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
94
|
+
},
|
73
95
|
});
|
74
|
-
|
75
|
-
return gd;
|
76
|
-
|
77
|
-
})));
|
@@ -2,77 +2,73 @@
|
|
2
2
|
//! locale : Galician [gl]
|
3
3
|
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
4
4
|
|
5
|
-
|
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';
|
5
|
+
import moment from '../moment';
|
11
6
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
7
|
+
export default moment.defineLocale('gl', {
|
8
|
+
months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(
|
9
|
+
'_'
|
10
|
+
),
|
11
|
+
monthsShort: 'xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.'.split(
|
12
|
+
'_'
|
13
|
+
),
|
16
14
|
monthsParseExact: true,
|
17
|
-
weekdays
|
18
|
-
weekdaysShort
|
19
|
-
weekdaysMin
|
20
|
-
weekdaysParseExact
|
21
|
-
longDateFormat
|
22
|
-
LT
|
23
|
-
LTS
|
24
|
-
L
|
25
|
-
LL
|
26
|
-
LLL
|
27
|
-
LLLL
|
15
|
+
weekdays: 'domingo_luns_martes_mércores_xoves_venres_sábado'.split('_'),
|
16
|
+
weekdaysShort: 'dom._lun._mar._mér._xov._ven._sáb.'.split('_'),
|
17
|
+
weekdaysMin: 'do_lu_ma_mé_xo_ve_sá'.split('_'),
|
18
|
+
weekdaysParseExact: true,
|
19
|
+
longDateFormat: {
|
20
|
+
LT: 'H:mm',
|
21
|
+
LTS: 'H:mm:ss',
|
22
|
+
L: 'DD/MM/YYYY',
|
23
|
+
LL: 'D [de] MMMM [de] YYYY',
|
24
|
+
LLL: 'D [de] MMMM [de] YYYY H:mm',
|
25
|
+
LLLL: 'dddd, D [de] MMMM [de] YYYY H:mm',
|
28
26
|
},
|
29
|
-
calendar
|
30
|
-
sameDay
|
31
|
-
return '[hoxe ' + (
|
27
|
+
calendar: {
|
28
|
+
sameDay: function () {
|
29
|
+
return '[hoxe ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
|
32
30
|
},
|
33
|
-
nextDay
|
34
|
-
return '[mañá ' + (
|
31
|
+
nextDay: function () {
|
32
|
+
return '[mañá ' + (this.hours() !== 1 ? 'ás' : 'á') + '] LT';
|
35
33
|
},
|
36
|
-
nextWeek
|
37
|
-
return 'dddd [' + (
|
34
|
+
nextWeek: function () {
|
35
|
+
return 'dddd [' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT';
|
38
36
|
},
|
39
|
-
lastDay
|
40
|
-
return '[onte ' + (
|
37
|
+
lastDay: function () {
|
38
|
+
return '[onte ' + (this.hours() !== 1 ? 'á' : 'a') + '] LT';
|
41
39
|
},
|
42
|
-
lastWeek
|
43
|
-
return
|
40
|
+
lastWeek: function () {
|
41
|
+
return (
|
42
|
+
'[o] dddd [pasado ' + (this.hours() !== 1 ? 'ás' : 'a') + '] LT'
|
43
|
+
);
|
44
44
|
},
|
45
|
-
sameElse
|
45
|
+
sameElse: 'L',
|
46
46
|
},
|
47
|
-
relativeTime
|
48
|
-
future
|
47
|
+
relativeTime: {
|
48
|
+
future: function (str) {
|
49
49
|
if (str.indexOf('un') === 0) {
|
50
50
|
return 'n' + str;
|
51
51
|
}
|
52
52
|
return 'en ' + str;
|
53
53
|
},
|
54
|
-
past
|
55
|
-
s
|
56
|
-
ss
|
57
|
-
m
|
58
|
-
mm
|
59
|
-
h
|
60
|
-
hh
|
61
|
-
d
|
62
|
-
dd
|
63
|
-
M
|
64
|
-
MM
|
65
|
-
y
|
66
|
-
yy
|
54
|
+
past: 'hai %s',
|
55
|
+
s: 'uns segundos',
|
56
|
+
ss: '%d segundos',
|
57
|
+
m: 'un minuto',
|
58
|
+
mm: '%d minutos',
|
59
|
+
h: 'unha hora',
|
60
|
+
hh: '%d horas',
|
61
|
+
d: 'un día',
|
62
|
+
dd: '%d días',
|
63
|
+
M: 'un mes',
|
64
|
+
MM: '%d meses',
|
65
|
+
y: 'un ano',
|
66
|
+
yy: '%d anos',
|
67
|
+
},
|
68
|
+
dayOfMonthOrdinalParse: /\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.
|
67
73
|
},
|
68
|
-
dayOfMonthOrdinalParse : /\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
74
|
});
|
75
|
-
|
76
|
-
return gl;
|
77
|
-
|
78
|
-
})));
|