momentjs-rails 2.29.4 → 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 +3 -0
- data/vendor/assets/javascripts/moment/af.js +77 -66
- data/vendor/assets/javascripts/moment/ar-dz.js +156 -145
- data/vendor/assets/javascripts/moment/ar-kw.js +59 -48
- data/vendor/assets/javascripts/moment/ar-ly.js +175 -164
- data/vendor/assets/javascripts/moment/ar-ma.js +59 -48
- data/vendor/assets/javascripts/moment/ar-sa.js +108 -97
- data/vendor/assets/javascripts/moment/ar-tn.js +59 -48
- data/vendor/assets/javascripts/moment/ar.js +191 -180
- data/vendor/assets/javascripts/moment/az.js +105 -94
- data/vendor/assets/javascripts/moment/be.js +137 -126
- data/vendor/assets/javascripts/moment/bg.js +91 -80
- data/vendor/assets/javascripts/moment/bm.js +57 -47
- data/vendor/assets/javascripts/moment/bn-bd.js +130 -119
- data/vendor/assets/javascripts/moment/bn.js +122 -111
- data/vendor/assets/javascripts/moment/bo.js +125 -114
- data/vendor/assets/javascripts/moment/br.js +165 -154
- data/vendor/assets/javascripts/moment/bs.js +149 -138
- data/vendor/assets/javascripts/moment/ca.js +99 -88
- data/vendor/assets/javascripts/moment/cs.js +179 -168
- data/vendor/assets/javascripts/moment/cv.js +66 -55
- data/vendor/assets/javascripts/moment/cy.js +100 -89
- data/vendor/assets/javascripts/moment/da.js +59 -48
- data/vendor/assets/javascripts/moment/de-at.js +79 -68
- data/vendor/assets/javascripts/moment/de-ch.js +78 -69
- data/vendor/assets/javascripts/moment/de.js +79 -68
- data/vendor/assets/javascripts/moment/dv.js +95 -84
- data/vendor/assets/javascripts/moment/el.js +107 -96
- data/vendor/assets/javascripts/moment/en-au.js +74 -63
- data/vendor/assets/javascripts/moment/en-ca.js +70 -59
- data/vendor/assets/javascripts/moment/en-gb.js +74 -63
- data/vendor/assets/javascripts/moment/en-ie.js +74 -63
- data/vendor/assets/javascripts/moment/en-il.js +70 -59
- data/vendor/assets/javascripts/moment/en-in.js +74 -63
- data/vendor/assets/javascripts/moment/en-nz.js +74 -63
- data/vendor/assets/javascripts/moment/en-sg.js +74 -63
- data/vendor/assets/javascripts/moment/eo.js +71 -60
- data/vendor/assets/javascripts/moment/es-do.js +108 -97
- data/vendor/assets/javascripts/moment/es-mx.js +109 -98
- data/vendor/assets/javascripts/moment/es-us.js +108 -97
- data/vendor/assets/javascripts/moment/es.js +109 -98
- data/vendor/assets/javascripts/moment/et.js +79 -68
- data/vendor/assets/javascripts/moment/eu.js +69 -58
- data/vendor/assets/javascripts/moment/fa.js +116 -105
- data/vendor/assets/javascripts/moment/fi.js +126 -115
- data/vendor/assets/javascripts/moment/fil.js +63 -52
- data/vendor/assets/javascripts/moment/fo.js +60 -49
- data/vendor/assets/javascripts/moment/fr-ca.js +73 -62
- data/vendor/assets/javascripts/moment/fr-ch.js +77 -66
- data/vendor/assets/javascripts/moment/fr.js +109 -98
- data/vendor/assets/javascripts/moment/fy.js +80 -69
- data/vendor/assets/javascripts/moment/ga.js +100 -89
- data/vendor/assets/javascripts/moment/gd.js +100 -89
- data/vendor/assets/javascripts/moment/gl.js +75 -64
- data/vendor/assets/javascripts/moment/gom-deva.js +129 -118
- data/vendor/assets/javascripts/moment/gom-latn.js +127 -116
- data/vendor/assets/javascripts/moment/gu.js +125 -114
- data/vendor/assets/javascripts/moment/he.js +93 -82
- data/vendor/assets/javascripts/moment/hi.js +165 -154
- data/vendor/assets/javascripts/moment/hr.js +154 -143
- data/vendor/assets/javascripts/moment/hu.js +117 -106
- data/vendor/assets/javascripts/moment/hy-am.js +96 -85
- data/vendor/assets/javascripts/moment/id.js +81 -70
- data/vendor/assets/javascripts/moment/is.js +136 -125
- data/vendor/assets/javascripts/moment/it-ch.js +68 -57
- data/vendor/assets/javascripts/moment/it.js +106 -95
- data/vendor/assets/javascripts/moment/ja.js +146 -135
- data/vendor/assets/javascripts/moment/jv.js +81 -70
- data/vendor/assets/javascripts/moment/ka.js +91 -80
- data/vendor/assets/javascripts/moment/kk.js +87 -76
- data/vendor/assets/javascripts/moment/km.js +106 -95
- data/vendor/assets/javascripts/moment/kn.js +127 -116
- data/vendor/assets/javascripts/moment/ko.js +80 -69
- data/vendor/assets/javascripts/moment/ku.js +123 -112
- data/vendor/assets/javascripts/moment/ky.js +89 -78
- data/vendor/assets/javascripts/moment/lb.js +132 -121
- data/vendor/assets/javascripts/moment/lo.js +70 -59
- data/vendor/assets/javascripts/moment/lt.js +123 -112
- data/vendor/assets/javascripts/moment/lv.js +95 -84
- data/vendor/assets/javascripts/moment/me.js +119 -108
- data/vendor/assets/javascripts/moment/mi.js +64 -53
- data/vendor/assets/javascripts/moment/mk.js +90 -78
- data/vendor/assets/javascripts/moment/ml.js +86 -75
- data/vendor/assets/javascripts/moment/mn.js +101 -90
- data/vendor/assets/javascripts/moment/mr.js +202 -191
- data/vendor/assets/javascripts/moment/ms-my.js +81 -70
- data/vendor/assets/javascripts/moment/ms.js +81 -70
- data/vendor/assets/javascripts/moment/mt.js +60 -49
- data/vendor/assets/javascripts/moment/my.js +93 -82
- data/vendor/assets/javascripts/moment/nb.js +64 -53
- data/vendor/assets/javascripts/moment/ne.js +124 -113
- data/vendor/assets/javascripts/moment/nl-be.js +103 -92
- data/vendor/assets/javascripts/moment/nl.js +105 -94
- data/vendor/assets/javascripts/moment/nn.js +64 -53
- data/vendor/assets/javascripts/moment/oc-lnc.js +87 -76
- data/vendor/assets/javascripts/moment/pa-in.js +125 -114
- data/vendor/assets/javascripts/moment/pl.js +138 -127
- data/vendor/assets/javascripts/moment/pt-br.js +61 -50
- data/vendor/assets/javascripts/moment/pt.js +66 -55
- data/vendor/assets/javascripts/moment/ro.js +76 -65
- data/vendor/assets/javascripts/moment/ru.js +198 -187
- data/vendor/assets/javascripts/moment/sd.js +86 -75
- data/vendor/assets/javascripts/moment/se.js +61 -50
- data/vendor/assets/javascripts/moment/si.js +73 -62
- data/vendor/assets/javascripts/moment/sk.js +146 -135
- data/vendor/assets/javascripts/moment/sl.js +170 -159
- data/vendor/assets/javascripts/moment/sq.js +69 -58
- data/vendor/assets/javascripts/moment/sr-cyrl.js +126 -115
- data/vendor/assets/javascripts/moment/sr.js +128 -117
- data/vendor/assets/javascripts/moment/ss.js +87 -76
- data/vendor/assets/javascripts/moment/sv.js +74 -63
- data/vendor/assets/javascripts/moment/sw.js +59 -48
- data/vendor/assets/javascripts/moment/ta.js +132 -121
- data/vendor/assets/javascripts/moment/te.js +92 -81
- data/vendor/assets/javascripts/moment/tet.js +72 -61
- data/vendor/assets/javascripts/moment/tg.js +120 -109
- data/vendor/assets/javascripts/moment/th.js +69 -58
- data/vendor/assets/javascripts/moment/tk.js +96 -85
- data/vendor/assets/javascripts/moment/tl-ph.js +63 -52
- data/vendor/assets/javascripts/moment/tlh.js +120 -109
- data/vendor/assets/javascripts/moment/tr.js +110 -99
- data/vendor/assets/javascripts/moment/tzl.js +93 -82
- data/vendor/assets/javascripts/moment/tzm-latn.js +58 -47
- data/vendor/assets/javascripts/moment/tzm.js +58 -47
- data/vendor/assets/javascripts/moment/ug-cn.js +114 -103
- data/vendor/assets/javascripts/moment/uk.js +163 -152
- data/vendor/assets/javascripts/moment/ur.js +86 -75
- data/vendor/assets/javascripts/moment/uz-latn.js +58 -47
- data/vendor/assets/javascripts/moment/uz.js +57 -46
- data/vendor/assets/javascripts/moment/vi.js +83 -72
- data/vendor/assets/javascripts/moment/x-pseudo.js +77 -66
- data/vendor/assets/javascripts/moment/yo.js +59 -48
- data/vendor/assets/javascripts/moment/zh-cn.js +118 -107
- data/vendor/assets/javascripts/moment/zh-hk.js +104 -93
- data/vendor/assets/javascripts/moment/zh-mo.js +104 -93
- data/vendor/assets/javascripts/moment/zh-tw.js +104 -93
- data/vendor/assets/javascripts/moment.js +5018 -5010
- metadata +2 -2
@@ -2,107 +2,118 @@
|
|
2
2
|
//! locale : French [fr]
|
3
3
|
//! author : John Fischer : https://github.com/jfroffice
|
4
4
|
|
5
|
-
|
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';
|
6
11
|
|
7
|
-
|
8
|
-
/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
|
9
|
-
monthsShortStrictRegex =
|
10
|
-
/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
|
11
|
-
monthsRegex =
|
12
|
-
/(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,
|
13
|
-
monthsParse = [
|
14
|
-
/^janv/i,
|
15
|
-
/^févr/i,
|
16
|
-
/^mars/i,
|
17
|
-
/^avr/i,
|
18
|
-
/^mai/i,
|
19
|
-
/^juin/i,
|
20
|
-
/^juil/i,
|
21
|
-
/^août/i,
|
22
|
-
/^sept/i,
|
23
|
-
/^oct/i,
|
24
|
-
/^nov/i,
|
25
|
-
/^déc/i,
|
26
|
-
];
|
12
|
+
//! moment.js locale configuration
|
27
13
|
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
14
|
+
var monthsStrictRegex =
|
15
|
+
/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
|
16
|
+
monthsShortStrictRegex =
|
17
|
+
/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
|
18
|
+
monthsRegex =
|
19
|
+
/(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,
|
20
|
+
monthsParse = [
|
21
|
+
/^janv/i,
|
22
|
+
/^févr/i,
|
23
|
+
/^mars/i,
|
24
|
+
/^avr/i,
|
25
|
+
/^mai/i,
|
26
|
+
/^juin/i,
|
27
|
+
/^juil/i,
|
28
|
+
/^août/i,
|
29
|
+
/^sept/i,
|
30
|
+
/^oct/i,
|
31
|
+
/^nov/i,
|
32
|
+
/^déc/i,
|
33
|
+
];
|
34
|
+
|
35
|
+
var fr = moment.defineLocale('fr', {
|
36
|
+
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
|
34
37
|
'_'
|
35
38
|
),
|
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
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
39
|
+
monthsShort:
|
40
|
+
'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
|
41
|
+
'_'
|
42
|
+
),
|
43
|
+
monthsRegex: monthsRegex,
|
44
|
+
monthsShortRegex: monthsRegex,
|
45
|
+
monthsStrictRegex: monthsStrictRegex,
|
46
|
+
monthsShortStrictRegex: monthsShortStrictRegex,
|
47
|
+
monthsParse: monthsParse,
|
48
|
+
longMonthsParse: monthsParse,
|
49
|
+
shortMonthsParse: monthsParse,
|
50
|
+
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
51
|
+
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
52
|
+
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
|
53
|
+
weekdaysParseExact: true,
|
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: '[Aujourd’hui à] LT',
|
64
|
+
nextDay: '[Demain à] LT',
|
65
|
+
nextWeek: 'dddd [à] LT',
|
66
|
+
lastDay: '[Hier à] LT',
|
67
|
+
lastWeek: 'dddd [dernier à] LT',
|
68
|
+
sameElse: 'L',
|
69
|
+
},
|
70
|
+
relativeTime: {
|
71
|
+
future: 'dans %s',
|
72
|
+
past: 'il y a %s',
|
73
|
+
s: 'quelques secondes',
|
74
|
+
ss: '%d secondes',
|
75
|
+
m: 'une minute',
|
76
|
+
mm: '%d minutes',
|
77
|
+
h: 'une heure',
|
78
|
+
hh: '%d heures',
|
79
|
+
d: 'un jour',
|
80
|
+
dd: '%d jours',
|
81
|
+
w: 'une semaine',
|
82
|
+
ww: '%d semaines',
|
83
|
+
M: 'un mois',
|
84
|
+
MM: '%d mois',
|
85
|
+
y: 'un an',
|
86
|
+
yy: '%d ans',
|
87
|
+
},
|
88
|
+
dayOfMonthOrdinalParse: /\d{1,2}(er|)/,
|
89
|
+
ordinal: function (number, period) {
|
90
|
+
switch (period) {
|
91
|
+
// TODO: Return 'e' when day of month > 1. Move this case inside
|
92
|
+
// block for masculine words below.
|
93
|
+
// See https://github.com/moment/moment/issues/3375
|
94
|
+
case 'D':
|
95
|
+
return number + (number === 1 ? 'er' : '');
|
96
|
+
|
97
|
+
// Words with masculine grammatical gender: mois, trimestre, jour
|
98
|
+
default:
|
99
|
+
case 'M':
|
100
|
+
case 'Q':
|
101
|
+
case 'DDD':
|
102
|
+
case 'd':
|
103
|
+
return number + (number === 1 ? 'er' : 'e');
|
104
|
+
|
105
|
+
// Words with feminine grammatical gender: semaine
|
106
|
+
case 'w':
|
107
|
+
case 'W':
|
108
|
+
return number + (number === 1 ? 're' : 'e');
|
109
|
+
}
|
110
|
+
},
|
111
|
+
week: {
|
112
|
+
dow: 1, // Monday is the first day of the week.
|
113
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
114
|
+
},
|
115
|
+
});
|
89
116
|
|
90
|
-
|
91
|
-
default:
|
92
|
-
case 'M':
|
93
|
-
case 'Q':
|
94
|
-
case 'DDD':
|
95
|
-
case 'd':
|
96
|
-
return number + (number === 1 ? 'er' : 'e');
|
117
|
+
return fr;
|
97
118
|
|
98
|
-
|
99
|
-
case 'w':
|
100
|
-
case 'W':
|
101
|
-
return number + (number === 1 ? 're' : 'e');
|
102
|
-
}
|
103
|
-
},
|
104
|
-
week: {
|
105
|
-
dow: 1, // Monday is the first day of the week.
|
106
|
-
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
107
|
-
},
|
108
|
-
});
|
119
|
+
})));
|
@@ -2,74 +2,85 @@
|
|
2
2
|
//! locale : Frisian [fy]
|
3
3
|
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
4
4
|
|
5
|
-
|
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';
|
6
11
|
|
7
|
-
|
8
|
-
'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
|
9
|
-
monthsShortWithoutDots =
|
10
|
-
'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
|
12
|
+
//! moment.js locale configuration
|
11
13
|
|
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
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
)
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
}
|
14
|
+
var monthsShortWithDots =
|
15
|
+
'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
|
16
|
+
monthsShortWithoutDots =
|
17
|
+
'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
|
18
|
+
|
19
|
+
var fy = moment.defineLocale('fy', {
|
20
|
+
months: 'jannewaris_febrewaris_maart_april_maaie_juny_july_augustus_septimber_oktober_novimber_desimber'.split(
|
21
|
+
'_'
|
22
|
+
),
|
23
|
+
monthsShort: function (m, format) {
|
24
|
+
if (!m) {
|
25
|
+
return monthsShortWithDots;
|
26
|
+
} else if (/-MMM-/.test(format)) {
|
27
|
+
return monthsShortWithoutDots[m.month()];
|
28
|
+
} else {
|
29
|
+
return monthsShortWithDots[m.month()];
|
30
|
+
}
|
31
|
+
},
|
32
|
+
monthsParseExact: true,
|
33
|
+
weekdays: 'snein_moandei_tiisdei_woansdei_tongersdei_freed_sneon'.split(
|
34
|
+
'_'
|
35
|
+
),
|
36
|
+
weekdaysShort: 'si._mo._ti._wo._to._fr._so.'.split('_'),
|
37
|
+
weekdaysMin: 'Si_Mo_Ti_Wo_To_Fr_So'.split('_'),
|
38
|
+
weekdaysParseExact: true,
|
39
|
+
longDateFormat: {
|
40
|
+
LT: 'HH:mm',
|
41
|
+
LTS: 'HH:mm:ss',
|
42
|
+
L: 'DD-MM-YYYY',
|
43
|
+
LL: 'D MMMM YYYY',
|
44
|
+
LLL: 'D MMMM YYYY HH:mm',
|
45
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
46
|
+
},
|
47
|
+
calendar: {
|
48
|
+
sameDay: '[hjoed om] LT',
|
49
|
+
nextDay: '[moarn om] LT',
|
50
|
+
nextWeek: 'dddd [om] LT',
|
51
|
+
lastDay: '[juster om] LT',
|
52
|
+
lastWeek: '[ôfrûne] dddd [om] LT',
|
53
|
+
sameElse: 'L',
|
54
|
+
},
|
55
|
+
relativeTime: {
|
56
|
+
future: 'oer %s',
|
57
|
+
past: '%s lyn',
|
58
|
+
s: 'in pear sekonden',
|
59
|
+
ss: '%d sekonden',
|
60
|
+
m: 'ien minút',
|
61
|
+
mm: '%d minuten',
|
62
|
+
h: 'ien oere',
|
63
|
+
hh: '%d oeren',
|
64
|
+
d: 'ien dei',
|
65
|
+
dd: '%d dagen',
|
66
|
+
M: 'ien moanne',
|
67
|
+
MM: '%d moannen',
|
68
|
+
y: 'ien jier',
|
69
|
+
yy: '%d jierren',
|
70
|
+
},
|
71
|
+
dayOfMonthOrdinalParse: /\d{1,2}(ste|de)/,
|
72
|
+
ordinal: function (number) {
|
73
|
+
return (
|
74
|
+
number +
|
75
|
+
(number === 1 || number === 8 || number >= 20 ? 'ste' : 'de')
|
76
|
+
);
|
77
|
+
},
|
78
|
+
week: {
|
79
|
+
dow: 1, // Monday is the first day of the week.
|
80
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
81
|
+
},
|
82
|
+
});
|
83
|
+
|
84
|
+
return fy;
|
85
|
+
|
86
|
+
})));
|
@@ -2,94 +2,105 @@
|
|
2
2
|
//! locale : Irish or Irish Gaelic [ga]
|
3
3
|
//! author : André Silva : https://github.com/askpt
|
4
4
|
|
5
|
-
|
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';
|
6
11
|
|
7
|
-
|
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'];
|
12
|
+
//! moment.js locale configuration
|
46
13
|
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
14
|
+
var months = [
|
15
|
+
'Eanáir',
|
16
|
+
'Feabhra',
|
17
|
+
'Márta',
|
18
|
+
'Aibreán',
|
19
|
+
'Bealtaine',
|
20
|
+
'Meitheamh',
|
21
|
+
'Iúil',
|
22
|
+
'Lúnasa',
|
23
|
+
'Meán Fómhair',
|
24
|
+
'Deireadh Fómhair',
|
25
|
+
'Samhain',
|
26
|
+
'Nollaig',
|
27
|
+
],
|
28
|
+
monthsShort = [
|
29
|
+
'Ean',
|
30
|
+
'Feabh',
|
31
|
+
'Márt',
|
32
|
+
'Aib',
|
33
|
+
'Beal',
|
34
|
+
'Meith',
|
35
|
+
'Iúil',
|
36
|
+
'Lún',
|
37
|
+
'M.F.',
|
38
|
+
'D.F.',
|
39
|
+
'Samh',
|
40
|
+
'Noll',
|
41
|
+
],
|
42
|
+
weekdays = [
|
43
|
+
'Dé Domhnaigh',
|
44
|
+
'Dé Luain',
|
45
|
+
'Dé Máirt',
|
46
|
+
'Dé Céadaoin',
|
47
|
+
'Déardaoin',
|
48
|
+
'Dé hAoine',
|
49
|
+
'Dé Sathairn',
|
50
|
+
],
|
51
|
+
weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
|
52
|
+
weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
|
53
|
+
|
54
|
+
var ga = moment.defineLocale('ga', {
|
55
|
+
months: months,
|
56
|
+
monthsShort: monthsShort,
|
57
|
+
monthsParseExact: true,
|
58
|
+
weekdays: weekdays,
|
59
|
+
weekdaysShort: weekdaysShort,
|
60
|
+
weekdaysMin: weekdaysMin,
|
61
|
+
longDateFormat: {
|
62
|
+
LT: 'HH:mm',
|
63
|
+
LTS: 'HH:mm:ss',
|
64
|
+
L: 'DD/MM/YYYY',
|
65
|
+
LL: 'D MMMM YYYY',
|
66
|
+
LLL: 'D MMMM YYYY HH:mm',
|
67
|
+
LLLL: 'dddd, D MMMM YYYY HH:mm',
|
68
|
+
},
|
69
|
+
calendar: {
|
70
|
+
sameDay: '[Inniu ag] LT',
|
71
|
+
nextDay: '[Amárach ag] LT',
|
72
|
+
nextWeek: 'dddd [ag] LT',
|
73
|
+
lastDay: '[Inné ag] LT',
|
74
|
+
lastWeek: 'dddd [seo caite] [ag] LT',
|
75
|
+
sameElse: 'L',
|
76
|
+
},
|
77
|
+
relativeTime: {
|
78
|
+
future: 'i %s',
|
79
|
+
past: '%s ó shin',
|
80
|
+
s: 'cúpla soicind',
|
81
|
+
ss: '%d soicind',
|
82
|
+
m: 'nóiméad',
|
83
|
+
mm: '%d nóiméad',
|
84
|
+
h: 'uair an chloig',
|
85
|
+
hh: '%d uair an chloig',
|
86
|
+
d: 'lá',
|
87
|
+
dd: '%d lá',
|
88
|
+
M: 'mí',
|
89
|
+
MM: '%d míonna',
|
90
|
+
y: 'bliain',
|
91
|
+
yy: '%d bliain',
|
92
|
+
},
|
93
|
+
dayOfMonthOrdinalParse: /\d{1,2}(d|na|mh)/,
|
94
|
+
ordinal: function (number) {
|
95
|
+
var output = number === 1 ? 'd' : number % 10 === 2 ? 'na' : 'mh';
|
96
|
+
return number + output;
|
97
|
+
},
|
98
|
+
week: {
|
99
|
+
dow: 1, // Monday is the first day of the week.
|
100
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
101
|
+
},
|
102
|
+
});
|
103
|
+
|
104
|
+
return ga;
|
105
|
+
|
106
|
+
})));
|