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,179 +2,190 @@
|
|
2
2
|
//! locale : Czech [cs]
|
3
3
|
//! author : petrbela : https://github.com/petrbela
|
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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
standalone:
|
12
|
-
'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split(
|
12
|
+
//! moment.js locale configuration
|
13
|
+
|
14
|
+
var months = {
|
15
|
+
format: 'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
|
13
16
|
'_'
|
14
17
|
),
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
18
|
+
standalone:
|
19
|
+
'ledna_února_března_dubna_května_června_července_srpna_září_října_listopadu_prosince'.split(
|
20
|
+
'_'
|
21
|
+
),
|
22
|
+
},
|
23
|
+
monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
|
24
|
+
monthsParse = [
|
25
|
+
/^led/i,
|
26
|
+
/^úno/i,
|
27
|
+
/^bře/i,
|
28
|
+
/^dub/i,
|
29
|
+
/^kvě/i,
|
30
|
+
/^(čvn|červen$|června)/i,
|
31
|
+
/^(čvc|červenec|července)/i,
|
32
|
+
/^srp/i,
|
33
|
+
/^zář/i,
|
34
|
+
/^říj/i,
|
35
|
+
/^lis/i,
|
36
|
+
/^pro/i,
|
37
|
+
],
|
38
|
+
// NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
|
39
|
+
// Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
|
40
|
+
monthsRegex =
|
41
|
+
/^(leden|únor|březen|duben|květen|červenec|července|červen|června|srpen|září|říjen|listopad|prosinec|led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i;
|
35
42
|
|
36
|
-
function plural(n) {
|
37
|
-
|
38
|
-
}
|
39
|
-
function translate(number, withoutSuffix, key, isFuture) {
|
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
|
-
|
89
|
-
|
43
|
+
function plural(n) {
|
44
|
+
return n > 1 && n < 5 && ~~(n / 10) !== 1;
|
45
|
+
}
|
46
|
+
function translate(number, withoutSuffix, key, isFuture) {
|
47
|
+
var result = number + ' ';
|
48
|
+
switch (key) {
|
49
|
+
case 's': // a few seconds / in a few seconds / a few seconds ago
|
50
|
+
return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
|
51
|
+
case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
|
52
|
+
if (withoutSuffix || isFuture) {
|
53
|
+
return result + (plural(number) ? 'sekundy' : 'sekund');
|
54
|
+
} else {
|
55
|
+
return result + 'sekundami';
|
56
|
+
}
|
57
|
+
case 'm': // a minute / in a minute / a minute ago
|
58
|
+
return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
|
59
|
+
case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
|
60
|
+
if (withoutSuffix || isFuture) {
|
61
|
+
return result + (plural(number) ? 'minuty' : 'minut');
|
62
|
+
} else {
|
63
|
+
return result + 'minutami';
|
64
|
+
}
|
65
|
+
case 'h': // an hour / in an hour / an hour ago
|
66
|
+
return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
|
67
|
+
case 'hh': // 9 hours / in 9 hours / 9 hours ago
|
68
|
+
if (withoutSuffix || isFuture) {
|
69
|
+
return result + (plural(number) ? 'hodiny' : 'hodin');
|
70
|
+
} else {
|
71
|
+
return result + 'hodinami';
|
72
|
+
}
|
73
|
+
case 'd': // a day / in a day / a day ago
|
74
|
+
return withoutSuffix || isFuture ? 'den' : 'dnem';
|
75
|
+
case 'dd': // 9 days / in 9 days / 9 days ago
|
76
|
+
if (withoutSuffix || isFuture) {
|
77
|
+
return result + (plural(number) ? 'dny' : 'dní');
|
78
|
+
} else {
|
79
|
+
return result + 'dny';
|
80
|
+
}
|
81
|
+
case 'M': // a month / in a month / a month ago
|
82
|
+
return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
|
83
|
+
case 'MM': // 9 months / in 9 months / 9 months ago
|
84
|
+
if (withoutSuffix || isFuture) {
|
85
|
+
return result + (plural(number) ? 'měsíce' : 'měsíců');
|
86
|
+
} else {
|
87
|
+
return result + 'měsíci';
|
88
|
+
}
|
89
|
+
case 'y': // a year / in a year / a year ago
|
90
|
+
return withoutSuffix || isFuture ? 'rok' : 'rokem';
|
91
|
+
case 'yy': // 9 years / in 9 years / 9 years ago
|
92
|
+
if (withoutSuffix || isFuture) {
|
93
|
+
return result + (plural(number) ? 'roky' : 'let');
|
94
|
+
} else {
|
95
|
+
return result + 'lety';
|
96
|
+
}
|
97
|
+
}
|
90
98
|
}
|
91
|
-
}
|
92
99
|
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
100
|
+
var cs = moment.defineLocale('cs', {
|
101
|
+
months: months,
|
102
|
+
monthsShort: monthsShort,
|
103
|
+
monthsRegex: monthsRegex,
|
104
|
+
monthsShortRegex: monthsRegex,
|
105
|
+
// NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
|
106
|
+
// Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
|
107
|
+
monthsStrictRegex:
|
108
|
+
/^(leden|ledna|února|únor|březen|března|duben|dubna|květen|května|červenec|července|červen|června|srpen|srpna|září|říjen|října|listopadu|listopad|prosinec|prosince)/i,
|
109
|
+
monthsShortStrictRegex:
|
110
|
+
/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
|
111
|
+
monthsParse: monthsParse,
|
112
|
+
longMonthsParse: monthsParse,
|
113
|
+
shortMonthsParse: monthsParse,
|
114
|
+
weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
|
115
|
+
weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
|
116
|
+
weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
|
117
|
+
longDateFormat: {
|
118
|
+
LT: 'H:mm',
|
119
|
+
LTS: 'H:mm:ss',
|
120
|
+
L: 'DD.MM.YYYY',
|
121
|
+
LL: 'D. MMMM YYYY',
|
122
|
+
LLL: 'D. MMMM YYYY H:mm',
|
123
|
+
LLLL: 'dddd D. MMMM YYYY H:mm',
|
124
|
+
l: 'D. M. YYYY',
|
125
|
+
},
|
126
|
+
calendar: {
|
127
|
+
sameDay: '[dnes v] LT',
|
128
|
+
nextDay: '[zítra v] LT',
|
129
|
+
nextWeek: function () {
|
130
|
+
switch (this.day()) {
|
131
|
+
case 0:
|
132
|
+
return '[v neděli v] LT';
|
133
|
+
case 1:
|
134
|
+
case 2:
|
135
|
+
return '[v] dddd [v] LT';
|
136
|
+
case 3:
|
137
|
+
return '[ve středu v] LT';
|
138
|
+
case 4:
|
139
|
+
return '[ve čtvrtek v] LT';
|
140
|
+
case 5:
|
141
|
+
return '[v pátek v] LT';
|
142
|
+
case 6:
|
143
|
+
return '[v sobotu v] LT';
|
144
|
+
}
|
145
|
+
},
|
146
|
+
lastDay: '[včera v] LT',
|
147
|
+
lastWeek: function () {
|
148
|
+
switch (this.day()) {
|
149
|
+
case 0:
|
150
|
+
return '[minulou neděli v] LT';
|
151
|
+
case 1:
|
152
|
+
case 2:
|
153
|
+
return '[minulé] dddd [v] LT';
|
154
|
+
case 3:
|
155
|
+
return '[minulou středu v] LT';
|
156
|
+
case 4:
|
157
|
+
case 5:
|
158
|
+
return '[minulý] dddd [v] LT';
|
159
|
+
case 6:
|
160
|
+
return '[minulou sobotu v] LT';
|
161
|
+
}
|
162
|
+
},
|
163
|
+
sameElse: 'L',
|
138
164
|
},
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
}
|
165
|
+
relativeTime: {
|
166
|
+
future: 'za %s',
|
167
|
+
past: 'před %s',
|
168
|
+
s: translate,
|
169
|
+
ss: translate,
|
170
|
+
m: translate,
|
171
|
+
mm: translate,
|
172
|
+
h: translate,
|
173
|
+
hh: translate,
|
174
|
+
d: translate,
|
175
|
+
dd: translate,
|
176
|
+
M: translate,
|
177
|
+
MM: translate,
|
178
|
+
y: translate,
|
179
|
+
yy: translate,
|
155
180
|
},
|
156
|
-
|
157
|
-
|
158
|
-
|
159
|
-
|
160
|
-
|
161
|
-
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
d: translate,
|
168
|
-
dd: translate,
|
169
|
-
M: translate,
|
170
|
-
MM: translate,
|
171
|
-
y: translate,
|
172
|
-
yy: translate,
|
173
|
-
},
|
174
|
-
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
175
|
-
ordinal: '%d.',
|
176
|
-
week: {
|
177
|
-
dow: 1, // Monday is the first day of the week.
|
178
|
-
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
179
|
-
},
|
180
|
-
});
|
181
|
+
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
182
|
+
ordinal: '%d.',
|
183
|
+
week: {
|
184
|
+
dow: 1, // Monday is the first day of the week.
|
185
|
+
doy: 4, // The week that contains Jan 4th is the first week of the year.
|
186
|
+
},
|
187
|
+
});
|
188
|
+
|
189
|
+
return cs;
|
190
|
+
|
191
|
+
})));
|
@@ -2,62 +2,73 @@
|
|
2
2
|
//! locale : Chuvash [cv]
|
3
3
|
//! author : Anatoly Mironov : https://github.com/mirontoli
|
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
|
-
|
9
|
-
|
10
|
-
|
11
|
-
monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
|
12
|
-
weekdays:
|
13
|
-
'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
|
12
|
+
//! moment.js locale configuration
|
13
|
+
|
14
|
+
var cv = moment.defineLocale('cv', {
|
15
|
+
months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
|
14
16
|
'_'
|
15
17
|
),
|
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
|
-
|
18
|
+
monthsShort: 'кӑр_нар_пуш_ака_май_ҫӗр_утӑ_ҫур_авн_юпа_чӳк_раш'.split('_'),
|
19
|
+
weekdays:
|
20
|
+
'вырсарникун_тунтикун_ытларикун_юнкун_кӗҫнерникун_эрнекун_шӑматкун'.split(
|
21
|
+
'_'
|
22
|
+
),
|
23
|
+
weekdaysShort: 'выр_тун_ытл_юн_кӗҫ_эрн_шӑм'.split('_'),
|
24
|
+
weekdaysMin: 'вр_тн_ыт_юн_кҫ_эр_шм'.split('_'),
|
25
|
+
longDateFormat: {
|
26
|
+
LT: 'HH:mm',
|
27
|
+
LTS: 'HH:mm:ss',
|
28
|
+
L: 'DD-MM-YYYY',
|
29
|
+
LL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ]',
|
30
|
+
LLL: 'YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
|
31
|
+
LLLL: 'dddd, YYYY [ҫулхи] MMMM [уйӑхӗн] D[-мӗшӗ], HH:mm',
|
32
|
+
},
|
33
|
+
calendar: {
|
34
|
+
sameDay: '[Паян] LT [сехетре]',
|
35
|
+
nextDay: '[Ыран] LT [сехетре]',
|
36
|
+
lastDay: '[Ӗнер] LT [сехетре]',
|
37
|
+
nextWeek: '[Ҫитес] dddd LT [сехетре]',
|
38
|
+
lastWeek: '[Иртнӗ] dddd LT [сехетре]',
|
39
|
+
sameElse: 'L',
|
40
|
+
},
|
41
|
+
relativeTime: {
|
42
|
+
future: function (output) {
|
43
|
+
var affix = /сехет$/i.exec(output)
|
44
|
+
? 'рен'
|
45
|
+
: /ҫул$/i.exec(output)
|
46
|
+
? 'тан'
|
47
|
+
: 'ран';
|
48
|
+
return output + affix;
|
49
|
+
},
|
50
|
+
past: '%s каялла',
|
51
|
+
s: 'пӗр-ик ҫеккунт',
|
52
|
+
ss: '%d ҫеккунт',
|
53
|
+
m: 'пӗр минут',
|
54
|
+
mm: '%d минут',
|
55
|
+
h: 'пӗр сехет',
|
56
|
+
hh: '%d сехет',
|
57
|
+
d: 'пӗр кун',
|
58
|
+
dd: '%d кун',
|
59
|
+
M: 'пӗр уйӑх',
|
60
|
+
MM: '%d уйӑх',
|
61
|
+
y: 'пӗр ҫул',
|
62
|
+
yy: '%d ҫул',
|
42
63
|
},
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
y: 'пӗр ҫул',
|
55
|
-
yy: '%d ҫул',
|
56
|
-
},
|
57
|
-
dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
|
58
|
-
ordinal: '%d-мӗш',
|
59
|
-
week: {
|
60
|
-
dow: 1, // Monday is the first day of the week.
|
61
|
-
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
62
|
-
},
|
63
|
-
});
|
64
|
+
dayOfMonthOrdinalParse: /\d{1,2}-мӗш/,
|
65
|
+
ordinal: '%d-мӗш',
|
66
|
+
week: {
|
67
|
+
dow: 1, // Monday is the first day of the week.
|
68
|
+
doy: 7, // The week that contains Jan 7th is the first week of the year.
|
69
|
+
},
|
70
|
+
});
|
71
|
+
|
72
|
+
return cv;
|
73
|
+
|
74
|
+
})));
|