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,18 +2,22 @@
|
|
2
2
|
//! locale : Finnish [fi]
|
3
3
|
//! author : Tarmo Aidantausta : https://github.com/bleadof
|
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
|
-
|
16
|
-
|
7
|
+
var numbersPast = 'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
|
8
|
+
' '
|
9
|
+
),
|
10
|
+
numbersFuture = [
|
11
|
+
'nolla',
|
12
|
+
'yhden',
|
13
|
+
'kahden',
|
14
|
+
'kolmen',
|
15
|
+
'neljän',
|
16
|
+
'viiden',
|
17
|
+
'kuuden',
|
18
|
+
numbersPast[7],
|
19
|
+
numbersPast[8],
|
20
|
+
numbersPast[9],
|
17
21
|
];
|
18
22
|
function translate(number, withoutSuffix, key, isFuture) {
|
19
23
|
var result = '';
|
@@ -21,7 +25,8 @@ function translate(number, withoutSuffix, key, isFuture) {
|
|
21
25
|
case 's':
|
22
26
|
return isFuture ? 'muutaman sekunnin' : 'muutama sekunti';
|
23
27
|
case 'ss':
|
24
|
-
|
28
|
+
result = isFuture ? 'sekunnin' : 'sekuntia';
|
29
|
+
break;
|
25
30
|
case 'm':
|
26
31
|
return isFuture ? 'minuutin' : 'minuutti';
|
27
32
|
case 'mm':
|
@@ -52,59 +57,65 @@ function translate(number, withoutSuffix, key, isFuture) {
|
|
52
57
|
return result;
|
53
58
|
}
|
54
59
|
function verbalNumber(number, isFuture) {
|
55
|
-
return number < 10
|
60
|
+
return number < 10
|
61
|
+
? isFuture
|
62
|
+
? numbersFuture[number]
|
63
|
+
: numbersPast[number]
|
64
|
+
: number;
|
56
65
|
}
|
57
66
|
|
58
|
-
|
59
|
-
months
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
67
|
+
export default moment.defineLocale('fi', {
|
68
|
+
months: 'tammikuu_helmikuu_maaliskuu_huhtikuu_toukokuu_kesäkuu_heinäkuu_elokuu_syyskuu_lokakuu_marraskuu_joulukuu'.split(
|
69
|
+
'_'
|
70
|
+
),
|
71
|
+
monthsShort: 'tammi_helmi_maalis_huhti_touko_kesä_heinä_elo_syys_loka_marras_joulu'.split(
|
72
|
+
'_'
|
73
|
+
),
|
74
|
+
weekdays: 'sunnuntai_maanantai_tiistai_keskiviikko_torstai_perjantai_lauantai'.split(
|
75
|
+
'_'
|
76
|
+
),
|
77
|
+
weekdaysShort: 'su_ma_ti_ke_to_pe_la'.split('_'),
|
78
|
+
weekdaysMin: 'su_ma_ti_ke_to_pe_la'.split('_'),
|
79
|
+
longDateFormat: {
|
80
|
+
LT: 'HH.mm',
|
81
|
+
LTS: 'HH.mm.ss',
|
82
|
+
L: 'DD.MM.YYYY',
|
83
|
+
LL: 'Do MMMM[ta] YYYY',
|
84
|
+
LLL: 'Do MMMM[ta] YYYY, [klo] HH.mm',
|
85
|
+
LLLL: 'dddd, Do MMMM[ta] YYYY, [klo] HH.mm',
|
86
|
+
l: 'D.M.YYYY',
|
87
|
+
ll: 'Do MMM YYYY',
|
88
|
+
lll: 'Do MMM YYYY, [klo] HH.mm',
|
89
|
+
llll: 'ddd, Do MMM YYYY, [klo] HH.mm',
|
75
90
|
},
|
76
|
-
calendar
|
77
|
-
sameDay
|
78
|
-
nextDay
|
79
|
-
nextWeek
|
80
|
-
lastDay
|
81
|
-
lastWeek
|
82
|
-
sameElse
|
91
|
+
calendar: {
|
92
|
+
sameDay: '[tänään] [klo] LT',
|
93
|
+
nextDay: '[huomenna] [klo] LT',
|
94
|
+
nextWeek: 'dddd [klo] LT',
|
95
|
+
lastDay: '[eilen] [klo] LT',
|
96
|
+
lastWeek: '[viime] dddd[na] [klo] LT',
|
97
|
+
sameElse: 'L',
|
83
98
|
},
|
84
|
-
relativeTime
|
85
|
-
future
|
86
|
-
past
|
87
|
-
s
|
88
|
-
ss
|
89
|
-
m
|
90
|
-
mm
|
91
|
-
h
|
92
|
-
hh
|
93
|
-
d
|
94
|
-
dd
|
95
|
-
M
|
96
|
-
MM
|
97
|
-
y
|
98
|
-
yy
|
99
|
+
relativeTime: {
|
100
|
+
future: '%s päästä',
|
101
|
+
past: '%s sitten',
|
102
|
+
s: translate,
|
103
|
+
ss: translate,
|
104
|
+
m: translate,
|
105
|
+
mm: translate,
|
106
|
+
h: translate,
|
107
|
+
hh: translate,
|
108
|
+
d: translate,
|
109
|
+
dd: translate,
|
110
|
+
M: translate,
|
111
|
+
MM: translate,
|
112
|
+
y: translate,
|
113
|
+
yy: translate,
|
99
114
|
},
|
100
115
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
101
|
-
ordinal
|
102
|
-
week
|
103
|
-
dow
|
104
|
-
doy
|
105
|
-
}
|
116
|
+
ordinal: '%d.',
|
117
|
+
week: {
|
118
|
+
dow: 1, // Monday is the first day of the week.
|
119
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
120
|
+
},
|
106
121
|
});
|
107
|
-
|
108
|
-
return fi;
|
109
|
-
|
110
|
-
})));
|
@@ -0,0 +1,58 @@
|
|
1
|
+
//! moment.js locale configuration
|
2
|
+
//! locale : Filipino [fil]
|
3
|
+
//! author : Dan Hagman : https://github.com/hagmandan
|
4
|
+
//! author : Matthew Co : https://github.com/matthewdeeco
|
5
|
+
|
6
|
+
import moment from '../moment';
|
7
|
+
|
8
|
+
export default moment.defineLocale('fil', {
|
9
|
+
months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
|
10
|
+
'_'
|
11
|
+
),
|
12
|
+
monthsShort: 'Ene_Peb_Mar_Abr_May_Hun_Hul_Ago_Set_Okt_Nob_Dis'.split('_'),
|
13
|
+
weekdays: 'Linggo_Lunes_Martes_Miyerkules_Huwebes_Biyernes_Sabado'.split(
|
14
|
+
'_'
|
15
|
+
),
|
16
|
+
weekdaysShort: 'Lin_Lun_Mar_Miy_Huw_Biy_Sab'.split('_'),
|
17
|
+
weekdaysMin: 'Li_Lu_Ma_Mi_Hu_Bi_Sab'.split('_'),
|
18
|
+
longDateFormat: {
|
19
|
+
LT: 'HH:mm',
|
20
|
+
LTS: 'HH:mm:ss',
|
21
|
+
L: 'MM/D/YYYY',
|
22
|
+
LL: 'MMMM D, YYYY',
|
23
|
+
LLL: 'MMMM D, YYYY HH:mm',
|
24
|
+
LLLL: 'dddd, MMMM DD, YYYY HH:mm',
|
25
|
+
},
|
26
|
+
calendar: {
|
27
|
+
sameDay: 'LT [ngayong araw]',
|
28
|
+
nextDay: '[Bukas ng] LT',
|
29
|
+
nextWeek: 'LT [sa susunod na] dddd',
|
30
|
+
lastDay: 'LT [kahapon]',
|
31
|
+
lastWeek: 'LT [noong nakaraang] dddd',
|
32
|
+
sameElse: 'L',
|
33
|
+
},
|
34
|
+
relativeTime: {
|
35
|
+
future: 'sa loob ng %s',
|
36
|
+
past: '%s ang nakalipas',
|
37
|
+
s: 'ilang segundo',
|
38
|
+
ss: '%d segundo',
|
39
|
+
m: 'isang minuto',
|
40
|
+
mm: '%d minuto',
|
41
|
+
h: 'isang oras',
|
42
|
+
hh: '%d oras',
|
43
|
+
d: 'isang araw',
|
44
|
+
dd: '%d araw',
|
45
|
+
M: 'isang buwan',
|
46
|
+
MM: '%d buwan',
|
47
|
+
y: 'isang taon',
|
48
|
+
yy: '%d taon',
|
49
|
+
},
|
50
|
+
dayOfMonthOrdinalParse: /\d{1,2}/,
|
51
|
+
ordinal: function (number) {
|
52
|
+
return number;
|
53
|
+
},
|
54
|
+
week: {
|
55
|
+
dow: 1, // Monday is the first day of the week.
|
56
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
57
|
+
},
|
58
|
+
});
|
@@ -1,61 +1,56 @@
|
|
1
1
|
//! moment.js locale configuration
|
2
2
|
//! locale : Faroese [fo]
|
3
3
|
//! author : Ragnar Johannesen : https://github.com/ragnar123
|
4
|
+
//! author : Kristian Sakarisson : https://github.com/sakarisson
|
4
5
|
|
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';
|
6
|
+
import moment from '../moment';
|
11
7
|
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
8
|
+
export default moment.defineLocale('fo', {
|
9
|
+
months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
|
10
|
+
'_'
|
11
|
+
),
|
12
|
+
monthsShort: 'jan_feb_mar_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_'),
|
13
|
+
weekdays: 'sunnudagur_mánadagur_týsdagur_mikudagur_hósdagur_fríggjadagur_leygardagur'.split(
|
14
|
+
'_'
|
15
|
+
),
|
16
|
+
weekdaysShort: 'sun_mán_týs_mik_hós_frí_ley'.split('_'),
|
17
|
+
weekdaysMin: 'su_má_tý_mi_hó_fr_le'.split('_'),
|
18
|
+
longDateFormat: {
|
19
|
+
LT: 'HH:mm',
|
20
|
+
LTS: 'HH:mm:ss',
|
21
|
+
L: 'DD/MM/YYYY',
|
22
|
+
LL: 'D MMMM YYYY',
|
23
|
+
LLL: 'D MMMM YYYY HH:mm',
|
24
|
+
LLLL: 'dddd D. MMMM, YYYY HH:mm',
|
26
25
|
},
|
27
|
-
calendar
|
28
|
-
sameDay
|
29
|
-
nextDay
|
30
|
-
nextWeek
|
31
|
-
lastDay
|
32
|
-
lastWeek
|
33
|
-
sameElse
|
26
|
+
calendar: {
|
27
|
+
sameDay: '[Í dag kl.] LT',
|
28
|
+
nextDay: '[Í morgin kl.] LT',
|
29
|
+
nextWeek: 'dddd [kl.] LT',
|
30
|
+
lastDay: '[Í gjár kl.] LT',
|
31
|
+
lastWeek: '[síðstu] dddd [kl] LT',
|
32
|
+
sameElse: 'L',
|
34
33
|
},
|
35
|
-
relativeTime
|
36
|
-
future
|
37
|
-
past
|
38
|
-
s
|
39
|
-
ss
|
40
|
-
m
|
41
|
-
mm
|
42
|
-
h
|
43
|
-
hh
|
44
|
-
d
|
45
|
-
dd
|
46
|
-
M
|
47
|
-
MM
|
48
|
-
y
|
49
|
-
yy
|
34
|
+
relativeTime: {
|
35
|
+
future: 'um %s',
|
36
|
+
past: '%s síðani',
|
37
|
+
s: 'fá sekund',
|
38
|
+
ss: '%d sekundir',
|
39
|
+
m: 'ein minuttur',
|
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ður',
|
46
|
+
MM: '%d mánaðir',
|
47
|
+
y: 'eitt ár',
|
48
|
+
yy: '%d ár',
|
50
49
|
},
|
51
50
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
52
|
-
ordinal
|
53
|
-
week
|
54
|
-
dow
|
55
|
-
doy
|
56
|
-
}
|
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
|
+
},
|
57
56
|
});
|
58
|
-
|
59
|
-
return fo;
|
60
|
-
|
61
|
-
})));
|
@@ -2,56 +2,54 @@
|
|
2
2
|
//! locale : French (Canada) [fr-ca]
|
3
3
|
//! author : Jonathan Abourbih : https://github.com/jonbca
|
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
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
7
|
+
export default moment.defineLocale('fr-ca', {
|
8
|
+
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
|
9
|
+
'_'
|
10
|
+
),
|
11
|
+
monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
|
12
|
+
'_'
|
13
|
+
),
|
14
|
+
monthsParseExact: true,
|
15
|
+
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
16
|
+
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
17
|
+
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
|
18
|
+
weekdaysParseExact: true,
|
19
|
+
longDateFormat: {
|
20
|
+
LT: 'HH:mm',
|
21
|
+
LTS: 'HH:mm:ss',
|
22
|
+
L: 'YYYY-MM-DD',
|
23
|
+
LL: 'D MMMM YYYY',
|
24
|
+
LLL: 'D MMMM YYYY HH:mm',
|
25
|
+
LLLL: 'dddd D MMMM YYYY HH:mm',
|
28
26
|
},
|
29
|
-
calendar
|
30
|
-
sameDay
|
31
|
-
nextDay
|
32
|
-
nextWeek
|
33
|
-
lastDay
|
34
|
-
lastWeek
|
35
|
-
sameElse
|
27
|
+
calendar: {
|
28
|
+
sameDay: '[Aujourd’hui à] LT',
|
29
|
+
nextDay: '[Demain à] LT',
|
30
|
+
nextWeek: 'dddd [à] LT',
|
31
|
+
lastDay: '[Hier à] LT',
|
32
|
+
lastWeek: 'dddd [dernier à] LT',
|
33
|
+
sameElse: 'L',
|
36
34
|
},
|
37
|
-
relativeTime
|
38
|
-
future
|
39
|
-
past
|
40
|
-
s
|
41
|
-
ss
|
42
|
-
m
|
43
|
-
mm
|
44
|
-
h
|
45
|
-
hh
|
46
|
-
d
|
47
|
-
dd
|
48
|
-
M
|
49
|
-
MM
|
50
|
-
y
|
51
|
-
yy
|
35
|
+
relativeTime: {
|
36
|
+
future: 'dans %s',
|
37
|
+
past: 'il y a %s',
|
38
|
+
s: 'quelques secondes',
|
39
|
+
ss: '%d secondes',
|
40
|
+
m: 'une minute',
|
41
|
+
mm: '%d minutes',
|
42
|
+
h: 'une heure',
|
43
|
+
hh: '%d heures',
|
44
|
+
d: 'un jour',
|
45
|
+
dd: '%d jours',
|
46
|
+
M: 'un mois',
|
47
|
+
MM: '%d mois',
|
48
|
+
y: 'un an',
|
49
|
+
yy: '%d ans',
|
52
50
|
},
|
53
51
|
dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
|
54
|
-
ordinal
|
52
|
+
ordinal: function (number, period) {
|
55
53
|
switch (period) {
|
56
54
|
// Words with masculine grammatical gender: mois, trimestre, jour
|
57
55
|
default:
|
@@ -67,9 +65,5 @@ var frCa = moment.defineLocale('fr-ca', {
|
|
67
65
|
case 'W':
|
68
66
|
return number + (number === 1 ? 're' : 'e');
|
69
67
|
}
|
70
|
-
}
|
68
|
+
},
|
71
69
|
});
|
72
|
-
|
73
|
-
return frCa;
|
74
|
-
|
75
|
-
})));
|
@@ -2,56 +2,54 @@
|
|
2
2
|
//! locale : French (Switzerland) [fr-ch]
|
3
3
|
//! author : Gaspard Bucher : https://github.com/gaspard
|
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
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
7
|
+
export default moment.defineLocale('fr-ch', {
|
8
|
+
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
|
9
|
+
'_'
|
10
|
+
),
|
11
|
+
monthsShort: 'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
|
12
|
+
'_'
|
13
|
+
),
|
14
|
+
monthsParseExact: true,
|
15
|
+
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
16
|
+
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
17
|
+
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
|
18
|
+
weekdaysParseExact: true,
|
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',
|
28
26
|
},
|
29
|
-
calendar
|
30
|
-
sameDay
|
31
|
-
nextDay
|
32
|
-
nextWeek
|
33
|
-
lastDay
|
34
|
-
lastWeek
|
35
|
-
sameElse
|
27
|
+
calendar: {
|
28
|
+
sameDay: '[Aujourd’hui à] LT',
|
29
|
+
nextDay: '[Demain à] LT',
|
30
|
+
nextWeek: 'dddd [à] LT',
|
31
|
+
lastDay: '[Hier à] LT',
|
32
|
+
lastWeek: 'dddd [dernier à] LT',
|
33
|
+
sameElse: 'L',
|
36
34
|
},
|
37
|
-
relativeTime
|
38
|
-
future
|
39
|
-
past
|
40
|
-
s
|
41
|
-
ss
|
42
|
-
m
|
43
|
-
mm
|
44
|
-
h
|
45
|
-
hh
|
46
|
-
d
|
47
|
-
dd
|
48
|
-
M
|
49
|
-
MM
|
50
|
-
y
|
51
|
-
yy
|
35
|
+
relativeTime: {
|
36
|
+
future: 'dans %s',
|
37
|
+
past: 'il y a %s',
|
38
|
+
s: 'quelques secondes',
|
39
|
+
ss: '%d secondes',
|
40
|
+
m: 'une minute',
|
41
|
+
mm: '%d minutes',
|
42
|
+
h: 'une heure',
|
43
|
+
hh: '%d heures',
|
44
|
+
d: 'un jour',
|
45
|
+
dd: '%d jours',
|
46
|
+
M: 'un mois',
|
47
|
+
MM: '%d mois',
|
48
|
+
y: 'un an',
|
49
|
+
yy: '%d ans',
|
52
50
|
},
|
53
51
|
dayOfMonthOrdinalParse: /\d{1,2}(er|e)/,
|
54
|
-
ordinal
|
52
|
+
ordinal: function (number, period) {
|
55
53
|
switch (period) {
|
56
54
|
// Words with masculine grammatical gender: mois, trimestre, jour
|
57
55
|
default:
|
@@ -68,12 +66,8 @@ var frCh = moment.defineLocale('fr-ch', {
|
|
68
66
|
return number + (number === 1 ? 're' : 'e');
|
69
67
|
}
|
70
68
|
},
|
71
|
-
week
|
72
|
-
dow
|
73
|
-
doy
|
74
|
-
}
|
69
|
+
week: {
|
70
|
+
dow: 1, // Monday is the first day of the week.
|
71
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
72
|
+
},
|
75
73
|
});
|
76
|
-
|
77
|
-
return frCh;
|
78
|
-
|
79
|
-
})));
|