@revivejs/moment 2.30.2 → 2.30.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -0
- package/dist/moment.js +191 -186
- package/locale/af.js +3 -0
- package/locale/ar-dz.js +7 -0
- package/locale/ar-kw.js +3 -0
- package/locale/ar-ly.js +3 -0
- package/locale/ar-ma.js +4 -0
- package/locale/ar-ps.js +3 -0
- package/locale/ar-sa.js +3 -0
- package/locale/ar-tn.js +3 -0
- package/locale/ar.js +5 -0
- package/locale/az.js +3 -0
- package/locale/be.js +5 -0
- package/locale/bg.js +3 -0
- package/locale/bm.js +4 -0
- package/locale/bn-bd.js +3 -0
- package/locale/bn.js +3 -0
- package/locale/bo.js +3 -0
- package/locale/br.js +3 -0
- package/locale/bs.js +5 -0
- package/locale/ca.js +3 -0
- package/locale/cs.js +3 -0
- package/locale/cv.js +3 -0
- package/locale/cy.js +4 -0
- package/locale/da.js +3 -0
- package/locale/de-at.js +6 -0
- package/locale/de-ch.js +3 -0
- package/locale/de.js +5 -0
- package/locale/dv.js +3 -0
- package/locale/el.js +3 -0
- package/locale/en-au.js +3 -0
- package/locale/en-ca.js +3 -0
- package/locale/en-gb.js +3 -0
- package/locale/en-ie.js +3 -0
- package/locale/en-il.js +3 -0
- package/locale/en-in.js +3 -0
- package/locale/en-nz.js +3 -0
- package/locale/en-sg.js +3 -0
- package/locale/eo.js +6 -0
- package/locale/es-do.js +2 -0
- package/locale/es-mx.js +3 -0
- package/locale/es-us.js +4 -0
- package/locale/es.js +3 -0
- package/locale/et.js +4 -0
- package/locale/eu.js +3 -0
- package/locale/fa.js +3 -0
- package/locale/fi.js +3 -0
- package/locale/fil.js +4 -0
- package/locale/fo.js +4 -0
- package/locale/fr-ca.js +3 -0
- package/locale/fr-ch.js +3 -0
- package/locale/fr.js +3 -0
- package/locale/fy.js +3 -0
- package/locale/ga.js +3 -0
- package/locale/gd.js +3 -0
- package/locale/gl.js +3 -0
- package/locale/gom-deva.js +3 -0
- package/locale/gom-latn.js +3 -0
- package/locale/gu.js +3 -0
- package/locale/he.js +5 -0
- package/locale/hi.js +3 -0
- package/locale/hr.js +3 -0
- package/locale/hu.js +4 -0
- package/locale/hy-am.js +3 -0
- package/locale/id.js +4 -0
- package/locale/is.js +3 -0
- package/locale/it-ch.js +3 -0
- package/locale/it.js +5 -0
- package/locale/ja.js +3 -0
- package/locale/jv.js +4 -0
- package/locale/ka.js +3 -0
- package/locale/kk.js +3 -0
- package/locale/km.js +3 -0
- package/locale/kn.js +3 -0
- package/locale/ko.js +4 -0
- package/locale/ku-kmr.js +3 -0
- package/locale/ku.js +3 -0
- package/locale/ky.js +3 -0
- package/locale/lb.js +4 -0
- package/locale/lo.js +3 -0
- package/locale/lt.js +3 -0
- package/locale/lv.js +4 -0
- package/locale/me.js +3 -0
- package/locale/mi.js +3 -0
- package/locale/mk.js +3 -0
- package/locale/ml.js +3 -0
- package/locale/mn.js +3 -0
- package/locale/mr.js +4 -0
- package/locale/ms-my.js +4 -0
- package/locale/ms.js +3 -0
- package/locale/mt.js +3 -0
- package/locale/my.js +5 -0
- package/locale/nb.js +5 -0
- package/locale/ne.js +3 -0
- package/locale/nl-be.js +4 -0
- package/locale/nl.js +4 -0
- package/locale/nn.js +4 -0
- package/locale/oc-lnc.js +3 -0
- package/locale/pa-in.js +3 -0
- package/locale/pl.js +3 -0
- package/locale/pt-br.js +3 -0
- package/locale/pt.js +3 -0
- package/locale/ro.js +5 -0
- package/locale/ru.js +5 -0
- package/locale/sd.js +3 -0
- package/locale/se.js +3 -0
- package/locale/si.js +3 -0
- package/locale/sk.js +4 -0
- package/locale/sl.js +3 -0
- package/locale/sq.js +5 -0
- package/locale/sr-cyrl.js +4 -0
- package/locale/sr.js +4 -0
- package/locale/ss.js +3 -0
- package/locale/sv.js +3 -0
- package/locale/sw.js +3 -0
- package/locale/ta.js +3 -0
- package/locale/te.js +3 -0
- package/locale/tet.js +5 -0
- package/locale/tg.js +3 -0
- package/locale/th.js +3 -0
- package/locale/tk.js +3 -0
- package/locale/tl-ph.js +3 -0
- package/locale/tlh.js +3 -0
- package/locale/tr.js +4 -0
- package/locale/tzl.js +4 -0
- package/locale/tzm-latn.js +3 -0
- package/locale/tzm.js +3 -0
- package/locale/ug-cn.js +3 -0
- package/locale/uk.js +4 -0
- package/locale/ur.js +4 -0
- package/locale/uz-latn.js +3 -0
- package/locale/uz.js +3 -0
- package/locale/vi.js +4 -0
- package/locale/x-pseudo.js +3 -0
- package/locale/yo.js +3 -0
- package/locale/zh-cn.js +5 -0
- package/locale/zh-hk.js +6 -0
- package/locale/zh-mo.js +5 -0
- package/locale/zh-tw.js +4 -0
- package/min/locales.js +1056 -578
- package/min/locales.min.js.map +1 -1
- package/min/moment-with-locales.js +1266 -783
- package/min/moment-with-locales.min.js.map +1 -1
- package/min/moment.min.js.map +1 -1
- package/min/tests.js +710 -381
- package/moment.js +190 -185
- package/package.json +5 -3
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
};
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
function isValid(m) {
|
|
151
|
+
function isValid$2(m) {
|
|
152
152
|
var flags = null,
|
|
153
153
|
parsedParts = false,
|
|
154
154
|
isNowValid = m._d && !isNaN(m._d.getTime());
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
return m._isValid;
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
function createInvalid(flags) {
|
|
187
|
+
function createInvalid$1(flags) {
|
|
188
188
|
var m = createUTC(NaN);
|
|
189
189
|
if (flags != null) {
|
|
190
190
|
extend(getParsingFlags(m), flags);
|
|
@@ -338,19 +338,19 @@
|
|
|
338
338
|
hooks.suppressDeprecationWarnings = false;
|
|
339
339
|
hooks.deprecationHandler = null;
|
|
340
340
|
|
|
341
|
-
function isFunction(input) {
|
|
341
|
+
function isFunction$1(input) {
|
|
342
342
|
return (
|
|
343
343
|
(typeof Function !== 'undefined' && input instanceof Function) ||
|
|
344
344
|
Object.prototype.toString.call(input) === '[object Function]'
|
|
345
345
|
);
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
function set(config) {
|
|
348
|
+
function set$1(config) {
|
|
349
349
|
var prop, i;
|
|
350
350
|
for (i in config) {
|
|
351
351
|
if (hasOwnProp(config, i)) {
|
|
352
352
|
prop = config[i];
|
|
353
|
-
if (isFunction(prop)) {
|
|
353
|
+
if (isFunction$1(prop)) {
|
|
354
354
|
this[i] = prop;
|
|
355
355
|
} else {
|
|
356
356
|
this['_' + i] = prop;
|
|
@@ -429,9 +429,9 @@
|
|
|
429
429
|
sameElse: 'L',
|
|
430
430
|
};
|
|
431
431
|
|
|
432
|
-
function calendar(key, mom, now) {
|
|
432
|
+
function calendar$1(key, mom, now) {
|
|
433
433
|
var output = this._calendar[key] || this._calendar['sameElse'];
|
|
434
|
-
return isFunction(output) ? output.call(mom, now) : output;
|
|
434
|
+
return isFunction$1(output) ? output.call(mom, now) : output;
|
|
435
435
|
}
|
|
436
436
|
|
|
437
437
|
function zeroFill(number, targetLength, forceSign) {
|
|
@@ -504,7 +504,7 @@
|
|
|
504
504
|
var output = '',
|
|
505
505
|
i;
|
|
506
506
|
for (i = 0; i < length; i++) {
|
|
507
|
-
output += isFunction(array[i])
|
|
507
|
+
output += isFunction$1(array[i])
|
|
508
508
|
? array[i].call(mom, format)
|
|
509
509
|
: array[i];
|
|
510
510
|
}
|
|
@@ -612,16 +612,16 @@
|
|
|
612
612
|
yy: '%d years',
|
|
613
613
|
};
|
|
614
614
|
|
|
615
|
-
function relativeTime(number, withoutSuffix, string, isFuture) {
|
|
615
|
+
function relativeTime$1(number, withoutSuffix, string, isFuture) {
|
|
616
616
|
var output = this._relativeTime[string];
|
|
617
|
-
return isFunction(output)
|
|
617
|
+
return isFunction$1(output)
|
|
618
618
|
? output(number, withoutSuffix, string, isFuture)
|
|
619
619
|
: output.replace(/%d/i, number);
|
|
620
620
|
}
|
|
621
621
|
|
|
622
622
|
function pastFuture(diff, output) {
|
|
623
623
|
var format = this._relativeTime[diff > 0 ? 'future' : 'past'];
|
|
624
|
-
return isFunction(format) ? format(output) : format.replace(/%s/i, output);
|
|
624
|
+
return isFunction$1(format) ? format(output) : format.replace(/%s/i, output);
|
|
625
625
|
}
|
|
626
626
|
|
|
627
627
|
var aliases = {
|
|
@@ -758,7 +758,7 @@
|
|
|
758
758
|
regexes = {};
|
|
759
759
|
|
|
760
760
|
function addRegexToken(token, regex, strictRegex) {
|
|
761
|
-
regexes[token] = isFunction(regex)
|
|
761
|
+
regexes[token] = isFunction$1(regex)
|
|
762
762
|
? regex
|
|
763
763
|
: function (isStrict, localeData) {
|
|
764
764
|
return isStrict && strictRegex ? strictRegex : regex;
|
|
@@ -916,16 +916,16 @@
|
|
|
916
916
|
function makeGetSet(unit, keepTime) {
|
|
917
917
|
return function (value) {
|
|
918
918
|
if (value != null) {
|
|
919
|
-
set
|
|
919
|
+
set(this, unit, value);
|
|
920
920
|
hooks.updateOffset(this, keepTime);
|
|
921
921
|
return this;
|
|
922
922
|
} else {
|
|
923
|
-
return get(this, unit);
|
|
923
|
+
return get$2(this, unit);
|
|
924
924
|
}
|
|
925
925
|
};
|
|
926
926
|
}
|
|
927
927
|
|
|
928
|
-
function get(mom, unit) {
|
|
928
|
+
function get$2(mom, unit) {
|
|
929
929
|
if (!mom.isValid()) {
|
|
930
930
|
return NaN;
|
|
931
931
|
}
|
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
}
|
|
956
956
|
}
|
|
957
957
|
|
|
958
|
-
function set
|
|
958
|
+
function set(mom, unit, value) {
|
|
959
959
|
var d, isUTC, year, month, date;
|
|
960
960
|
|
|
961
961
|
if (!mom.isValid() || isNaN(value)) {
|
|
@@ -1001,7 +1001,7 @@
|
|
|
1001
1001
|
|
|
1002
1002
|
function stringGet(units) {
|
|
1003
1003
|
units = normalizeUnits(units);
|
|
1004
|
-
if (isFunction(this[units])) {
|
|
1004
|
+
if (isFunction$1(this[units])) {
|
|
1005
1005
|
return this[units]();
|
|
1006
1006
|
}
|
|
1007
1007
|
return this;
|
|
@@ -1018,14 +1018,14 @@
|
|
|
1018
1018
|
}
|
|
1019
1019
|
} else {
|
|
1020
1020
|
units = normalizeUnits(units);
|
|
1021
|
-
if (isFunction(this[units])) {
|
|
1021
|
+
if (isFunction$1(this[units])) {
|
|
1022
1022
|
return this[units](value);
|
|
1023
1023
|
}
|
|
1024
1024
|
}
|
|
1025
1025
|
return this;
|
|
1026
1026
|
}
|
|
1027
1027
|
|
|
1028
|
-
function mod(n, x) {
|
|
1028
|
+
function mod$1(n, x) {
|
|
1029
1029
|
return ((n % x) + x) % x;
|
|
1030
1030
|
}
|
|
1031
1031
|
|
|
@@ -1050,7 +1050,7 @@
|
|
|
1050
1050
|
if (isNaN(year) || isNaN(month)) {
|
|
1051
1051
|
return NaN;
|
|
1052
1052
|
}
|
|
1053
|
-
var modMonth = mod(month, 12);
|
|
1053
|
+
var modMonth = mod$1(month, 12);
|
|
1054
1054
|
year += (month - modMonth) / 12;
|
|
1055
1055
|
return modMonth === 1
|
|
1056
1056
|
? isLeapYear(year)
|
|
@@ -1138,7 +1138,7 @@
|
|
|
1138
1138
|
][m.month()];
|
|
1139
1139
|
}
|
|
1140
1140
|
|
|
1141
|
-
function handleStrictParse(monthName, format, strict) {
|
|
1141
|
+
function handleStrictParse$1(monthName, format, strict) {
|
|
1142
1142
|
var i,
|
|
1143
1143
|
ii,
|
|
1144
1144
|
mom,
|
|
@@ -1189,7 +1189,7 @@
|
|
|
1189
1189
|
var i, mom, regex;
|
|
1190
1190
|
|
|
1191
1191
|
if (this._monthsParseExact) {
|
|
1192
|
-
return handleStrictParse.call(this, monthName, format, strict);
|
|
1192
|
+
return handleStrictParse$1.call(this, monthName, format, strict);
|
|
1193
1193
|
}
|
|
1194
1194
|
|
|
1195
1195
|
if (!this._monthsParse) {
|
|
@@ -1274,7 +1274,7 @@
|
|
|
1274
1274
|
hooks.updateOffset(this, true);
|
|
1275
1275
|
return this;
|
|
1276
1276
|
} else {
|
|
1277
|
-
return get(this, 'Month');
|
|
1277
|
+
return get$2(this, 'Month');
|
|
1278
1278
|
}
|
|
1279
1279
|
}
|
|
1280
1280
|
|
|
@@ -1302,7 +1302,7 @@
|
|
|
1302
1302
|
}
|
|
1303
1303
|
}
|
|
1304
1304
|
|
|
1305
|
-
function monthsRegex(isStrict) {
|
|
1305
|
+
function monthsRegex$9(isStrict) {
|
|
1306
1306
|
if (this._monthsParseExact) {
|
|
1307
1307
|
if (!hasOwnProp(this, '_monthsRegex')) {
|
|
1308
1308
|
computeMonthsParse.call(this);
|
|
@@ -1632,7 +1632,7 @@
|
|
|
1632
1632
|
: this._weekdaysMin;
|
|
1633
1633
|
}
|
|
1634
1634
|
|
|
1635
|
-
function handleStrictParse
|
|
1635
|
+
function handleStrictParse(weekdayName, format, strict) {
|
|
1636
1636
|
var i,
|
|
1637
1637
|
ii,
|
|
1638
1638
|
mom,
|
|
@@ -1709,7 +1709,7 @@
|
|
|
1709
1709
|
var i, mom, regex;
|
|
1710
1710
|
|
|
1711
1711
|
if (this._weekdaysParseExact) {
|
|
1712
|
-
return handleStrictParse
|
|
1712
|
+
return handleStrictParse.call(this, weekdayName, format, strict);
|
|
1713
1713
|
}
|
|
1714
1714
|
|
|
1715
1715
|
if (!this._weekdaysParse) {
|
|
@@ -1779,7 +1779,7 @@
|
|
|
1779
1779
|
return input != null ? this : NaN;
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
|
-
var day = get(this, 'Day');
|
|
1782
|
+
var day = get$2(this, 'Day');
|
|
1783
1783
|
if (input != null) {
|
|
1784
1784
|
input = parseWeekday(input, this.localeData());
|
|
1785
1785
|
return this.add(input - day, 'd');
|
|
@@ -2944,7 +2944,7 @@
|
|
|
2944
2944
|
tempConfig._f = config._f[i];
|
|
2945
2945
|
configFromStringAndFormat(tempConfig);
|
|
2946
2946
|
|
|
2947
|
-
if (isValid(tempConfig)) {
|
|
2947
|
+
if (isValid$2(tempConfig)) {
|
|
2948
2948
|
validFormatFound = true;
|
|
2949
2949
|
}
|
|
2950
2950
|
|
|
@@ -3014,7 +3014,7 @@
|
|
|
3014
3014
|
config._locale = config._locale || getLocale(config._l);
|
|
3015
3015
|
|
|
3016
3016
|
if (input === null || (format === undefined && input === '')) {
|
|
3017
|
-
return createInvalid({ nullInput: true });
|
|
3017
|
+
return createInvalid$1({ nullInput: true });
|
|
3018
3018
|
}
|
|
3019
3019
|
|
|
3020
3020
|
if (typeof input === 'string') {
|
|
@@ -3033,7 +3033,7 @@
|
|
|
3033
3033
|
configFromInput(config);
|
|
3034
3034
|
}
|
|
3035
3035
|
|
|
3036
|
-
if (!isValid(config)) {
|
|
3036
|
+
if (!isValid$2(config)) {
|
|
3037
3037
|
config._d = null;
|
|
3038
3038
|
}
|
|
3039
3039
|
|
|
@@ -3105,7 +3105,7 @@
|
|
|
3105
3105
|
if (this.isValid() && other.isValid()) {
|
|
3106
3106
|
return other < this ? this : other;
|
|
3107
3107
|
} else {
|
|
3108
|
-
return createInvalid();
|
|
3108
|
+
return createInvalid$1();
|
|
3109
3109
|
}
|
|
3110
3110
|
}
|
|
3111
3111
|
),
|
|
@@ -3116,7 +3116,7 @@
|
|
|
3116
3116
|
if (this.isValid() && other.isValid()) {
|
|
3117
3117
|
return other > this ? this : other;
|
|
3118
3118
|
} else {
|
|
3119
|
-
return createInvalid();
|
|
3119
|
+
return createInvalid$1();
|
|
3120
3120
|
}
|
|
3121
3121
|
}
|
|
3122
3122
|
);
|
|
@@ -3207,7 +3207,7 @@
|
|
|
3207
3207
|
return this._isValid;
|
|
3208
3208
|
}
|
|
3209
3209
|
|
|
3210
|
-
function createInvalid
|
|
3210
|
+
function createInvalid() {
|
|
3211
3211
|
return createDuration(NaN);
|
|
3212
3212
|
}
|
|
3213
3213
|
|
|
@@ -3397,7 +3397,7 @@
|
|
|
3397
3397
|
}
|
|
3398
3398
|
if (offset !== input) {
|
|
3399
3399
|
if (!keepLocalTime || this._changeInProgress) {
|
|
3400
|
-
addSubtract(
|
|
3400
|
+
addSubtract$1(
|
|
3401
3401
|
this,
|
|
3402
3402
|
createDuration(input - offset, 'm'),
|
|
3403
3403
|
1,
|
|
@@ -3590,7 +3590,7 @@
|
|
|
3590
3590
|
}
|
|
3591
3591
|
|
|
3592
3592
|
createDuration.fn = Duration.prototype;
|
|
3593
|
-
createDuration.invalid = createInvalid
|
|
3593
|
+
createDuration.invalid = createInvalid;
|
|
3594
3594
|
|
|
3595
3595
|
function parseIso(inp, sign) {
|
|
3596
3596
|
// We'd normally use ~~inp for this, but unfortunately it also
|
|
@@ -3654,12 +3654,12 @@
|
|
|
3654
3654
|
}
|
|
3655
3655
|
|
|
3656
3656
|
dur = createDuration(val, period);
|
|
3657
|
-
addSubtract(this, dur, direction);
|
|
3657
|
+
addSubtract$1(this, dur, direction);
|
|
3658
3658
|
return this;
|
|
3659
3659
|
};
|
|
3660
3660
|
}
|
|
3661
3661
|
|
|
3662
|
-
function addSubtract(mom, duration, isAdding, updateOffset) {
|
|
3662
|
+
function addSubtract$1(mom, duration, isAdding, updateOffset) {
|
|
3663
3663
|
var milliseconds = duration._milliseconds,
|
|
3664
3664
|
days = absRound(duration._days),
|
|
3665
3665
|
months = absRound(duration._months);
|
|
@@ -3672,10 +3672,10 @@
|
|
|
3672
3672
|
updateOffset = updateOffset == null ? true : updateOffset;
|
|
3673
3673
|
|
|
3674
3674
|
if (months) {
|
|
3675
|
-
setMonth(mom, get(mom, 'Month') + months * isAdding);
|
|
3675
|
+
setMonth(mom, get$2(mom, 'Month') + months * isAdding);
|
|
3676
3676
|
}
|
|
3677
3677
|
if (days) {
|
|
3678
|
-
set
|
|
3678
|
+
set(mom, 'Date', get$2(mom, 'Date') + days * isAdding);
|
|
3679
3679
|
}
|
|
3680
3680
|
if (milliseconds) {
|
|
3681
3681
|
mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);
|
|
@@ -3685,8 +3685,8 @@
|
|
|
3685
3685
|
}
|
|
3686
3686
|
}
|
|
3687
3687
|
|
|
3688
|
-
var add = createAdder(1, 'add'),
|
|
3689
|
-
subtract = createAdder(-1, 'subtract');
|
|
3688
|
+
var add$1 = createAdder(1, 'add'),
|
|
3689
|
+
subtract$1 = createAdder(-1, 'subtract');
|
|
3690
3690
|
|
|
3691
3691
|
function isString(input) {
|
|
3692
3692
|
return typeof input === 'string' || input instanceof String;
|
|
@@ -3798,7 +3798,7 @@
|
|
|
3798
3798
|
: 'sameElse';
|
|
3799
3799
|
}
|
|
3800
3800
|
|
|
3801
|
-
function calendar
|
|
3801
|
+
function calendar(time, formats) {
|
|
3802
3802
|
// Support for single parameter, formats only overload to the calendar function
|
|
3803
3803
|
if (arguments.length === 1) {
|
|
3804
3804
|
if (!arguments[0]) {
|
|
@@ -3819,7 +3819,7 @@
|
|
|
3819
3819
|
format = hooks.calendarFormat(this, sod) || 'sameElse',
|
|
3820
3820
|
output =
|
|
3821
3821
|
formats &&
|
|
3822
|
-
(isFunction(formats[format])
|
|
3822
|
+
(isFunction$1(formats[format])
|
|
3823
3823
|
? formats[format].call(this, now)
|
|
3824
3824
|
: formats[format]);
|
|
3825
3825
|
|
|
@@ -3828,7 +3828,7 @@
|
|
|
3828
3828
|
);
|
|
3829
3829
|
}
|
|
3830
3830
|
|
|
3831
|
-
function clone() {
|
|
3831
|
+
function clone$1() {
|
|
3832
3832
|
return new Moment(this);
|
|
3833
3833
|
}
|
|
3834
3834
|
|
|
@@ -3984,7 +3984,7 @@
|
|
|
3984
3984
|
return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');
|
|
3985
3985
|
}
|
|
3986
3986
|
|
|
3987
|
-
function toISOString(keepOffset) {
|
|
3987
|
+
function toISOString$1(keepOffset) {
|
|
3988
3988
|
if (!this.isValid()) {
|
|
3989
3989
|
return null;
|
|
3990
3990
|
}
|
|
@@ -3998,7 +3998,7 @@
|
|
|
3998
3998
|
: 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'
|
|
3999
3999
|
);
|
|
4000
4000
|
}
|
|
4001
|
-
if (isFunction(Date.prototype.toISOString)) {
|
|
4001
|
+
if (isFunction$1(Date.prototype.toISOString)) {
|
|
4002
4002
|
// native implementation is ~50x faster, use it when we can
|
|
4003
4003
|
if (utc) {
|
|
4004
4004
|
return this.toDate().toISOString();
|
|
@@ -4042,7 +4042,7 @@
|
|
|
4042
4042
|
return this.format(prefix + year + datetime + suffix);
|
|
4043
4043
|
}
|
|
4044
4044
|
|
|
4045
|
-
function format(inputString) {
|
|
4045
|
+
function format$1(inputString) {
|
|
4046
4046
|
if (!inputString) {
|
|
4047
4047
|
inputString = this.isUtc()
|
|
4048
4048
|
? hooks.defaultFormatUtc
|
|
@@ -4124,7 +4124,7 @@
|
|
|
4124
4124
|
MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;
|
|
4125
4125
|
|
|
4126
4126
|
// actual modulo - handles negative numbers (for dates before 1970):
|
|
4127
|
-
function mod
|
|
4127
|
+
function mod(dividend, divisor) {
|
|
4128
4128
|
return ((dividend % divisor) + divisor) % divisor;
|
|
4129
4129
|
}
|
|
4130
4130
|
|
|
@@ -4191,18 +4191,18 @@
|
|
|
4191
4191
|
break;
|
|
4192
4192
|
case 'hour':
|
|
4193
4193
|
time = this._d.valueOf();
|
|
4194
|
-
time -= mod
|
|
4194
|
+
time -= mod(
|
|
4195
4195
|
time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
|
|
4196
4196
|
MS_PER_HOUR
|
|
4197
4197
|
);
|
|
4198
4198
|
break;
|
|
4199
4199
|
case 'minute':
|
|
4200
4200
|
time = this._d.valueOf();
|
|
4201
|
-
time -= mod
|
|
4201
|
+
time -= mod(time, MS_PER_MINUTE);
|
|
4202
4202
|
break;
|
|
4203
4203
|
case 'second':
|
|
4204
4204
|
time = this._d.valueOf();
|
|
4205
|
-
time -= mod
|
|
4205
|
+
time -= mod(time, MS_PER_SECOND);
|
|
4206
4206
|
break;
|
|
4207
4207
|
}
|
|
4208
4208
|
|
|
@@ -4259,7 +4259,7 @@
|
|
|
4259
4259
|
time = this._d.valueOf();
|
|
4260
4260
|
time +=
|
|
4261
4261
|
MS_PER_HOUR -
|
|
4262
|
-
mod
|
|
4262
|
+
mod(
|
|
4263
4263
|
time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
|
|
4264
4264
|
MS_PER_HOUR
|
|
4265
4265
|
) -
|
|
@@ -4267,11 +4267,11 @@
|
|
|
4267
4267
|
break;
|
|
4268
4268
|
case 'minute':
|
|
4269
4269
|
time = this._d.valueOf();
|
|
4270
|
-
time += MS_PER_MINUTE - mod
|
|
4270
|
+
time += MS_PER_MINUTE - mod(time, MS_PER_MINUTE) - 1;
|
|
4271
4271
|
break;
|
|
4272
4272
|
case 'second':
|
|
4273
4273
|
time = this._d.valueOf();
|
|
4274
|
-
time += MS_PER_SECOND - mod
|
|
4274
|
+
time += MS_PER_SECOND - mod(time, MS_PER_SECOND) - 1;
|
|
4275
4275
|
break;
|
|
4276
4276
|
}
|
|
4277
4277
|
|
|
@@ -4280,7 +4280,7 @@
|
|
|
4280
4280
|
return this;
|
|
4281
4281
|
}
|
|
4282
4282
|
|
|
4283
|
-
function valueOf() {
|
|
4283
|
+
function valueOf$1() {
|
|
4284
4284
|
return this._d.valueOf() - (this._offset || 0) * 60000;
|
|
4285
4285
|
}
|
|
4286
4286
|
|
|
@@ -4323,8 +4323,8 @@
|
|
|
4323
4323
|
return this.isValid() ? this.toISOString() : null;
|
|
4324
4324
|
}
|
|
4325
4325
|
|
|
4326
|
-
function isValid
|
|
4327
|
-
return isValid(this);
|
|
4326
|
+
function isValid() {
|
|
4327
|
+
return isValid$2(this);
|
|
4328
4328
|
}
|
|
4329
4329
|
|
|
4330
4330
|
function parsingFlags() {
|
|
@@ -4899,106 +4899,106 @@
|
|
|
4899
4899
|
return this._isUTC ? 'Coordinated Universal Time' : '';
|
|
4900
4900
|
}
|
|
4901
4901
|
|
|
4902
|
-
var proto = Moment.prototype;
|
|
4902
|
+
var proto$2 = Moment.prototype;
|
|
4903
4903
|
|
|
4904
|
-
proto.add = add;
|
|
4905
|
-
proto.calendar = calendar
|
|
4906
|
-
proto.clone = clone;
|
|
4907
|
-
proto.diff = diff;
|
|
4908
|
-
proto.endOf = endOf;
|
|
4909
|
-
proto.format = format;
|
|
4910
|
-
proto.from = from;
|
|
4911
|
-
proto.fromNow = fromNow;
|
|
4912
|
-
proto.to = to;
|
|
4913
|
-
proto.toNow = toNow;
|
|
4914
|
-
proto.get = stringGet;
|
|
4915
|
-
proto.invalidAt = invalidAt;
|
|
4916
|
-
proto.isAfter = isAfter;
|
|
4917
|
-
proto.isBefore = isBefore;
|
|
4918
|
-
proto.isBetween = isBetween;
|
|
4919
|
-
proto.isSame = isSame;
|
|
4920
|
-
proto.isSameOrAfter = isSameOrAfter;
|
|
4921
|
-
proto.isSameOrBefore = isSameOrBefore;
|
|
4922
|
-
proto.isValid = isValid
|
|
4923
|
-
proto.lang = lang;
|
|
4924
|
-
proto.locale = locale;
|
|
4925
|
-
proto.localeData = localeData;
|
|
4926
|
-
proto.max = prototypeMax;
|
|
4927
|
-
proto.min = prototypeMin;
|
|
4928
|
-
proto.parsingFlags = parsingFlags;
|
|
4929
|
-
proto.set = stringSet;
|
|
4930
|
-
proto.startOf = startOf;
|
|
4931
|
-
proto.subtract = subtract;
|
|
4932
|
-
proto.toArray = toArray;
|
|
4933
|
-
proto.toObject = toObject;
|
|
4934
|
-
proto.toDate = toDate;
|
|
4935
|
-
proto.toISOString = toISOString;
|
|
4936
|
-
proto.inspect = inspect;
|
|
4904
|
+
proto$2.add = add$1;
|
|
4905
|
+
proto$2.calendar = calendar;
|
|
4906
|
+
proto$2.clone = clone$1;
|
|
4907
|
+
proto$2.diff = diff;
|
|
4908
|
+
proto$2.endOf = endOf;
|
|
4909
|
+
proto$2.format = format$1;
|
|
4910
|
+
proto$2.from = from;
|
|
4911
|
+
proto$2.fromNow = fromNow;
|
|
4912
|
+
proto$2.to = to;
|
|
4913
|
+
proto$2.toNow = toNow;
|
|
4914
|
+
proto$2.get = stringGet;
|
|
4915
|
+
proto$2.invalidAt = invalidAt;
|
|
4916
|
+
proto$2.isAfter = isAfter;
|
|
4917
|
+
proto$2.isBefore = isBefore;
|
|
4918
|
+
proto$2.isBetween = isBetween;
|
|
4919
|
+
proto$2.isSame = isSame;
|
|
4920
|
+
proto$2.isSameOrAfter = isSameOrAfter;
|
|
4921
|
+
proto$2.isSameOrBefore = isSameOrBefore;
|
|
4922
|
+
proto$2.isValid = isValid;
|
|
4923
|
+
proto$2.lang = lang;
|
|
4924
|
+
proto$2.locale = locale;
|
|
4925
|
+
proto$2.localeData = localeData;
|
|
4926
|
+
proto$2.max = prototypeMax;
|
|
4927
|
+
proto$2.min = prototypeMin;
|
|
4928
|
+
proto$2.parsingFlags = parsingFlags;
|
|
4929
|
+
proto$2.set = stringSet;
|
|
4930
|
+
proto$2.startOf = startOf;
|
|
4931
|
+
proto$2.subtract = subtract$1;
|
|
4932
|
+
proto$2.toArray = toArray;
|
|
4933
|
+
proto$2.toObject = toObject;
|
|
4934
|
+
proto$2.toDate = toDate;
|
|
4935
|
+
proto$2.toISOString = toISOString$1;
|
|
4936
|
+
proto$2.inspect = inspect;
|
|
4937
4937
|
if (typeof Symbol !== 'undefined' && Symbol.for != null) {
|
|
4938
|
-
proto[Symbol.for('nodejs.util.inspect.custom')] = function () {
|
|
4938
|
+
proto$2[Symbol.for('nodejs.util.inspect.custom')] = function () {
|
|
4939
4939
|
return 'Moment<' + this.format() + '>';
|
|
4940
4940
|
};
|
|
4941
4941
|
}
|
|
4942
|
-
proto.toJSON = toJSON;
|
|
4943
|
-
proto.toString = toString;
|
|
4944
|
-
proto.unix = unix;
|
|
4945
|
-
proto.valueOf = valueOf;
|
|
4946
|
-
proto.creationData = creationData;
|
|
4947
|
-
proto.eraName = getEraName;
|
|
4948
|
-
proto.eraNarrow = getEraNarrow;
|
|
4949
|
-
proto.eraAbbr = getEraAbbr;
|
|
4950
|
-
proto.eraYear = getEraYear;
|
|
4951
|
-
proto.year = getSetYear;
|
|
4952
|
-
proto.isLeapYear = getIsLeapYear;
|
|
4953
|
-
proto.weekYear = getSetWeekYear;
|
|
4954
|
-
proto.isoWeekYear = getSetISOWeekYear;
|
|
4955
|
-
proto.quarter = proto.quarters = getSetQuarter;
|
|
4956
|
-
proto.month = getSetMonth;
|
|
4957
|
-
proto.daysInMonth = getDaysInMonth;
|
|
4958
|
-
proto.week = proto.weeks = getSetWeek;
|
|
4959
|
-
proto.isoWeek = proto.isoWeeks = getSetISOWeek;
|
|
4960
|
-
proto.weeksInYear = getWeeksInYear;
|
|
4961
|
-
proto.weeksInWeekYear = getWeeksInWeekYear;
|
|
4962
|
-
proto.isoWeeksInYear = getISOWeeksInYear;
|
|
4963
|
-
proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
|
|
4964
|
-
proto.date = getSetDayOfMonth;
|
|
4965
|
-
proto.day = proto.days = getSetDayOfWeek;
|
|
4966
|
-
proto.weekday = getSetLocaleDayOfWeek;
|
|
4967
|
-
proto.isoWeekday = getSetISODayOfWeek;
|
|
4968
|
-
proto.dayOfYear = getSetDayOfYear;
|
|
4969
|
-
proto.hour = proto.hours = getSetHour;
|
|
4970
|
-
proto.minute = proto.minutes = getSetMinute;
|
|
4971
|
-
proto.second = proto.seconds = getSetSecond;
|
|
4972
|
-
proto.millisecond = proto.milliseconds = getSetMillisecond;
|
|
4973
|
-
proto.utcOffset = getSetOffset;
|
|
4974
|
-
proto.utc = setOffsetToUTC;
|
|
4975
|
-
proto.local = setOffsetToLocal;
|
|
4976
|
-
proto.parseZone = setOffsetToParsedOffset;
|
|
4977
|
-
proto.hasAlignedHourOffset = hasAlignedHourOffset;
|
|
4978
|
-
proto.isDST = isDaylightSavingTime;
|
|
4979
|
-
proto.isLocal = isLocal;
|
|
4980
|
-
proto.isUtcOffset = isUtcOffset;
|
|
4981
|
-
proto.isUtc = isUtc;
|
|
4982
|
-
proto.isUTC = isUtc;
|
|
4983
|
-
proto.zoneAbbr = getZoneAbbr;
|
|
4984
|
-
proto.zoneName = getZoneName;
|
|
4985
|
-
proto.dates = deprecate(
|
|
4942
|
+
proto$2.toJSON = toJSON;
|
|
4943
|
+
proto$2.toString = toString;
|
|
4944
|
+
proto$2.unix = unix;
|
|
4945
|
+
proto$2.valueOf = valueOf$1;
|
|
4946
|
+
proto$2.creationData = creationData;
|
|
4947
|
+
proto$2.eraName = getEraName;
|
|
4948
|
+
proto$2.eraNarrow = getEraNarrow;
|
|
4949
|
+
proto$2.eraAbbr = getEraAbbr;
|
|
4950
|
+
proto$2.eraYear = getEraYear;
|
|
4951
|
+
proto$2.year = getSetYear;
|
|
4952
|
+
proto$2.isLeapYear = getIsLeapYear;
|
|
4953
|
+
proto$2.weekYear = getSetWeekYear;
|
|
4954
|
+
proto$2.isoWeekYear = getSetISOWeekYear;
|
|
4955
|
+
proto$2.quarter = proto$2.quarters = getSetQuarter;
|
|
4956
|
+
proto$2.month = getSetMonth;
|
|
4957
|
+
proto$2.daysInMonth = getDaysInMonth;
|
|
4958
|
+
proto$2.week = proto$2.weeks = getSetWeek;
|
|
4959
|
+
proto$2.isoWeek = proto$2.isoWeeks = getSetISOWeek;
|
|
4960
|
+
proto$2.weeksInYear = getWeeksInYear;
|
|
4961
|
+
proto$2.weeksInWeekYear = getWeeksInWeekYear;
|
|
4962
|
+
proto$2.isoWeeksInYear = getISOWeeksInYear;
|
|
4963
|
+
proto$2.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;
|
|
4964
|
+
proto$2.date = getSetDayOfMonth;
|
|
4965
|
+
proto$2.day = proto$2.days = getSetDayOfWeek;
|
|
4966
|
+
proto$2.weekday = getSetLocaleDayOfWeek;
|
|
4967
|
+
proto$2.isoWeekday = getSetISODayOfWeek;
|
|
4968
|
+
proto$2.dayOfYear = getSetDayOfYear;
|
|
4969
|
+
proto$2.hour = proto$2.hours = getSetHour;
|
|
4970
|
+
proto$2.minute = proto$2.minutes = getSetMinute;
|
|
4971
|
+
proto$2.second = proto$2.seconds = getSetSecond;
|
|
4972
|
+
proto$2.millisecond = proto$2.milliseconds = getSetMillisecond;
|
|
4973
|
+
proto$2.utcOffset = getSetOffset;
|
|
4974
|
+
proto$2.utc = setOffsetToUTC;
|
|
4975
|
+
proto$2.local = setOffsetToLocal;
|
|
4976
|
+
proto$2.parseZone = setOffsetToParsedOffset;
|
|
4977
|
+
proto$2.hasAlignedHourOffset = hasAlignedHourOffset;
|
|
4978
|
+
proto$2.isDST = isDaylightSavingTime;
|
|
4979
|
+
proto$2.isLocal = isLocal;
|
|
4980
|
+
proto$2.isUtcOffset = isUtcOffset;
|
|
4981
|
+
proto$2.isUtc = isUtc;
|
|
4982
|
+
proto$2.isUTC = isUtc;
|
|
4983
|
+
proto$2.zoneAbbr = getZoneAbbr;
|
|
4984
|
+
proto$2.zoneName = getZoneName;
|
|
4985
|
+
proto$2.dates = deprecate(
|
|
4986
4986
|
'dates accessor is deprecated. Use date instead.',
|
|
4987
4987
|
getSetDayOfMonth
|
|
4988
4988
|
);
|
|
4989
|
-
proto.months = deprecate(
|
|
4989
|
+
proto$2.months = deprecate(
|
|
4990
4990
|
'months accessor is deprecated. Use month instead',
|
|
4991
4991
|
getSetMonth
|
|
4992
4992
|
);
|
|
4993
|
-
proto.years = deprecate(
|
|
4993
|
+
proto$2.years = deprecate(
|
|
4994
4994
|
'years accessor is deprecated. Use year instead',
|
|
4995
4995
|
getSetYear
|
|
4996
4996
|
);
|
|
4997
|
-
proto.zone = deprecate(
|
|
4997
|
+
proto$2.zone = deprecate(
|
|
4998
4998
|
'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',
|
|
4999
4999
|
getSetZone
|
|
5000
5000
|
);
|
|
5001
|
-
proto.isDSTShifted = deprecate(
|
|
5001
|
+
proto$2.isDSTShifted = deprecate(
|
|
5002
5002
|
'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',
|
|
5003
5003
|
isDaylightSavingTimeShifted
|
|
5004
5004
|
);
|
|
@@ -5017,15 +5017,15 @@
|
|
|
5017
5017
|
|
|
5018
5018
|
var proto$1 = Locale.prototype;
|
|
5019
5019
|
|
|
5020
|
-
proto$1.calendar = calendar;
|
|
5020
|
+
proto$1.calendar = calendar$1;
|
|
5021
5021
|
proto$1.longDateFormat = longDateFormat;
|
|
5022
5022
|
proto$1.invalidDate = invalidDate;
|
|
5023
5023
|
proto$1.ordinal = ordinal;
|
|
5024
5024
|
proto$1.preparse = preParsePostFormat;
|
|
5025
5025
|
proto$1.postformat = preParsePostFormat;
|
|
5026
|
-
proto$1.relativeTime = relativeTime;
|
|
5026
|
+
proto$1.relativeTime = relativeTime$1;
|
|
5027
5027
|
proto$1.pastFuture = pastFuture;
|
|
5028
|
-
proto$1.set = set;
|
|
5028
|
+
proto$1.set = set$1;
|
|
5029
5029
|
proto$1.eras = localeEras;
|
|
5030
5030
|
proto$1.erasParse = localeErasParse;
|
|
5031
5031
|
proto$1.erasConvertYear = localeErasConvertYear;
|
|
@@ -5036,7 +5036,7 @@
|
|
|
5036
5036
|
proto$1.months = localeMonths;
|
|
5037
5037
|
proto$1.monthsShort = localeMonthsShort;
|
|
5038
5038
|
proto$1.monthsParse = localeMonthsParse;
|
|
5039
|
-
proto$1.monthsRegex = monthsRegex;
|
|
5039
|
+
proto$1.monthsRegex = monthsRegex$9;
|
|
5040
5040
|
proto$1.monthsShortRegex = monthsShortRegex;
|
|
5041
5041
|
proto$1.week = localeWeek;
|
|
5042
5042
|
proto$1.firstDayOfYear = localeFirstDayOfYear;
|
|
@@ -5193,7 +5193,7 @@
|
|
|
5193
5193
|
|
|
5194
5194
|
var mathAbs = Math.abs;
|
|
5195
5195
|
|
|
5196
|
-
function abs() {
|
|
5196
|
+
function abs$1() {
|
|
5197
5197
|
var data = this._data;
|
|
5198
5198
|
|
|
5199
5199
|
this._milliseconds = mathAbs(this._milliseconds);
|
|
@@ -5210,7 +5210,7 @@
|
|
|
5210
5210
|
return this;
|
|
5211
5211
|
}
|
|
5212
5212
|
|
|
5213
|
-
function addSubtract
|
|
5213
|
+
function addSubtract(duration, input, value, direction) {
|
|
5214
5214
|
var other = createDuration(input, value);
|
|
5215
5215
|
|
|
5216
5216
|
duration._milliseconds += direction * other._milliseconds;
|
|
@@ -5221,13 +5221,13 @@
|
|
|
5221
5221
|
}
|
|
5222
5222
|
|
|
5223
5223
|
// supports only 2.0-style add(1, 's') or add(duration)
|
|
5224
|
-
function add
|
|
5225
|
-
return addSubtract
|
|
5224
|
+
function add(input, value) {
|
|
5225
|
+
return addSubtract(this, input, value, 1);
|
|
5226
5226
|
}
|
|
5227
5227
|
|
|
5228
5228
|
// supports only 2.0-style subtract(1, 's') or subtract(duration)
|
|
5229
|
-
function subtract
|
|
5230
|
-
return addSubtract
|
|
5229
|
+
function subtract(input, value) {
|
|
5230
|
+
return addSubtract(this, input, value, -1);
|
|
5231
5231
|
}
|
|
5232
5232
|
|
|
5233
5233
|
function absCeil(number) {
|
|
@@ -5363,13 +5363,13 @@
|
|
|
5363
5363
|
asMonths = makeAs('M'),
|
|
5364
5364
|
asQuarters = makeAs('Q'),
|
|
5365
5365
|
asYears = makeAs('y'),
|
|
5366
|
-
valueOf
|
|
5366
|
+
valueOf = asMilliseconds;
|
|
5367
5367
|
|
|
5368
|
-
function clone
|
|
5368
|
+
function clone() {
|
|
5369
5369
|
return createDuration(this);
|
|
5370
5370
|
}
|
|
5371
5371
|
|
|
5372
|
-
function get
|
|
5372
|
+
function get(units) {
|
|
5373
5373
|
units = normalizeUnits(units);
|
|
5374
5374
|
return this.isValid() ? this[units + 's']() : NaN;
|
|
5375
5375
|
}
|
|
@@ -5384,8 +5384,8 @@
|
|
|
5384
5384
|
seconds = makeGetter('seconds'),
|
|
5385
5385
|
minutes = makeGetter('minutes'),
|
|
5386
5386
|
hours = makeGetter('hours'),
|
|
5387
|
-
days = makeGetter('days'),
|
|
5388
|
-
months = makeGetter('months'),
|
|
5387
|
+
days$2 = makeGetter('days'),
|
|
5388
|
+
months$b = makeGetter('months'),
|
|
5389
5389
|
years = makeGetter('years');
|
|
5390
5390
|
|
|
5391
5391
|
function weeks() {
|
|
@@ -5408,7 +5408,7 @@
|
|
|
5408
5408
|
return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);
|
|
5409
5409
|
}
|
|
5410
5410
|
|
|
5411
|
-
function relativeTime
|
|
5411
|
+
function relativeTime(posNegDuration, withoutSuffix, thresholds, locale) {
|
|
5412
5412
|
var duration = createDuration(posNegDuration).abs(),
|
|
5413
5413
|
seconds = round(duration.as('s')),
|
|
5414
5414
|
minutes = round(duration.as('m')),
|
|
@@ -5496,7 +5496,7 @@
|
|
|
5496
5496
|
}
|
|
5497
5497
|
|
|
5498
5498
|
locale = this.localeData();
|
|
5499
|
-
output = relativeTime
|
|
5499
|
+
output = relativeTime(this, !withSuffix, th, locale);
|
|
5500
5500
|
|
|
5501
5501
|
if (withSuffix) {
|
|
5502
5502
|
output = locale.pastFuture(+this, output);
|
|
@@ -5505,13 +5505,13 @@
|
|
|
5505
5505
|
return locale.postformat(output);
|
|
5506
5506
|
}
|
|
5507
5507
|
|
|
5508
|
-
var abs
|
|
5508
|
+
var abs = Math.abs;
|
|
5509
5509
|
|
|
5510
5510
|
function sign(x) {
|
|
5511
5511
|
return (x > 0) - (x < 0) || +x;
|
|
5512
5512
|
}
|
|
5513
5513
|
|
|
5514
|
-
function toISOString
|
|
5514
|
+
function toISOString() {
|
|
5515
5515
|
// for ISO strings we do not use the normal bubbling rules:
|
|
5516
5516
|
// * milliseconds bubble up until they become hours
|
|
5517
5517
|
// * days do not bubble at all
|
|
@@ -5523,9 +5523,9 @@
|
|
|
5523
5523
|
return this.localeData().invalidDate();
|
|
5524
5524
|
}
|
|
5525
5525
|
|
|
5526
|
-
var seconds = abs
|
|
5527
|
-
days = abs
|
|
5528
|
-
months = abs
|
|
5526
|
+
var seconds = abs(this._milliseconds) / 1000,
|
|
5527
|
+
days = abs(this._days),
|
|
5528
|
+
months = abs(this._months),
|
|
5529
5529
|
minutes,
|
|
5530
5530
|
hours,
|
|
5531
5531
|
years,
|
|
@@ -5573,46 +5573,46 @@
|
|
|
5573
5573
|
);
|
|
5574
5574
|
}
|
|
5575
5575
|
|
|
5576
|
-
var proto
|
|
5576
|
+
var proto = Duration.prototype;
|
|
5577
5577
|
|
|
5578
|
-
proto
|
|
5579
|
-
proto
|
|
5580
|
-
proto
|
|
5581
|
-
proto
|
|
5582
|
-
proto
|
|
5583
|
-
proto
|
|
5584
|
-
proto
|
|
5585
|
-
proto
|
|
5586
|
-
proto
|
|
5587
|
-
proto
|
|
5588
|
-
proto
|
|
5589
|
-
proto
|
|
5590
|
-
proto
|
|
5591
|
-
proto
|
|
5592
|
-
proto
|
|
5593
|
-
proto
|
|
5594
|
-
proto
|
|
5595
|
-
proto
|
|
5596
|
-
proto
|
|
5597
|
-
proto
|
|
5598
|
-
proto
|
|
5599
|
-
proto
|
|
5600
|
-
proto
|
|
5601
|
-
proto
|
|
5602
|
-
proto
|
|
5603
|
-
proto
|
|
5604
|
-
proto
|
|
5605
|
-
proto
|
|
5606
|
-
proto
|
|
5607
|
-
proto
|
|
5608
|
-
proto
|
|
5609
|
-
proto
|
|
5578
|
+
proto.isValid = isValid$1;
|
|
5579
|
+
proto.abs = abs$1;
|
|
5580
|
+
proto.add = add;
|
|
5581
|
+
proto.subtract = subtract;
|
|
5582
|
+
proto.as = as;
|
|
5583
|
+
proto.asMilliseconds = asMilliseconds;
|
|
5584
|
+
proto.asSeconds = asSeconds;
|
|
5585
|
+
proto.asMinutes = asMinutes;
|
|
5586
|
+
proto.asHours = asHours;
|
|
5587
|
+
proto.asDays = asDays;
|
|
5588
|
+
proto.asWeeks = asWeeks;
|
|
5589
|
+
proto.asMonths = asMonths;
|
|
5590
|
+
proto.asQuarters = asQuarters;
|
|
5591
|
+
proto.asYears = asYears;
|
|
5592
|
+
proto.valueOf = valueOf;
|
|
5593
|
+
proto._bubble = bubble;
|
|
5594
|
+
proto.clone = clone;
|
|
5595
|
+
proto.get = get;
|
|
5596
|
+
proto.milliseconds = milliseconds;
|
|
5597
|
+
proto.seconds = seconds;
|
|
5598
|
+
proto.minutes = minutes;
|
|
5599
|
+
proto.hours = hours;
|
|
5600
|
+
proto.days = days$2;
|
|
5601
|
+
proto.weeks = weeks;
|
|
5602
|
+
proto.months = months$b;
|
|
5603
|
+
proto.years = years;
|
|
5604
|
+
proto.humanize = humanize;
|
|
5605
|
+
proto.toISOString = toISOString;
|
|
5606
|
+
proto.toString = toISOString;
|
|
5607
|
+
proto.toJSON = toISOString;
|
|
5608
|
+
proto.locale = locale;
|
|
5609
|
+
proto.localeData = localeData;
|
|
5610
5610
|
|
|
5611
|
-
proto
|
|
5611
|
+
proto.toIsoString = deprecate(
|
|
5612
5612
|
'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',
|
|
5613
|
-
toISOString
|
|
5613
|
+
toISOString
|
|
5614
5614
|
);
|
|
5615
|
-
proto
|
|
5615
|
+
proto.lang = lang;
|
|
5616
5616
|
|
|
5617
5617
|
// FORMATTING
|
|
5618
5618
|
|
|
@@ -5631,12 +5631,17 @@
|
|
|
5631
5631
|
});
|
|
5632
5632
|
|
|
5633
5633
|
//! moment.js
|
|
5634
|
+
//! version : 2.30.1
|
|
5635
|
+
//! authors : Tim Wood, Iskren Chernev, Moment.js contributors
|
|
5636
|
+
//! license : MIT
|
|
5637
|
+
//! momentjs.com
|
|
5638
|
+
|
|
5634
5639
|
|
|
5635
5640
|
hooks.version = '2.30.1';
|
|
5636
5641
|
|
|
5637
5642
|
setHookCallback(createLocal);
|
|
5638
5643
|
|
|
5639
|
-
hooks.fn = proto;
|
|
5644
|
+
hooks.fn = proto$2;
|
|
5640
5645
|
hooks.min = min;
|
|
5641
5646
|
hooks.max = max;
|
|
5642
5647
|
hooks.now = now;
|
|
@@ -5645,7 +5650,7 @@
|
|
|
5645
5650
|
hooks.months = listMonths;
|
|
5646
5651
|
hooks.isDate = isDate;
|
|
5647
5652
|
hooks.locale = getSetGlobalLocale;
|
|
5648
|
-
hooks.invalid = createInvalid;
|
|
5653
|
+
hooks.invalid = createInvalid$1;
|
|
5649
5654
|
hooks.duration = createDuration;
|
|
5650
5655
|
hooks.isMoment = isMoment;
|
|
5651
5656
|
hooks.weekdays = listWeekdays;
|
|
@@ -5662,7 +5667,7 @@
|
|
|
5662
5667
|
hooks.relativeTimeRounding = getSetRelativeTimeRounding;
|
|
5663
5668
|
hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;
|
|
5664
5669
|
hooks.calendarFormat = getCalendarFormat;
|
|
5665
|
-
hooks.prototype = proto;
|
|
5670
|
+
hooks.prototype = proto$2;
|
|
5666
5671
|
|
|
5667
5672
|
// currently HTML5 input type only supports 24-hour formats
|
|
5668
5673
|
hooks.HTML5_FMT = {
|
|
@@ -5678,6 +5683,9 @@
|
|
|
5678
5683
|
};
|
|
5679
5684
|
|
|
5680
5685
|
//! moment.js locale configuration
|
|
5686
|
+
//! locale : Afrikaans [af]
|
|
5687
|
+
//! author : Werner Mollentze : https://github.com/wernerm
|
|
5688
|
+
|
|
5681
5689
|
|
|
5682
5690
|
hooks.defineLocale('af', {
|
|
5683
5691
|
months: 'Januarie_Februarie_Maart_April_Mei_Junie_Julie_Augustus_September_Oktober_November_Desember'.split(
|
|
@@ -5746,8 +5754,15 @@
|
|
|
5746
5754
|
});
|
|
5747
5755
|
|
|
5748
5756
|
//! moment.js locale configuration
|
|
5757
|
+
//! locale : Arabic (Algeria) [ar-dz]
|
|
5758
|
+
//! author : Amine Roukh: https://github.com/Amine27
|
|
5759
|
+
//! author : Abdel Said: https://github.com/abdelsaid
|
|
5760
|
+
//! author : Ahmed Elkhatib
|
|
5761
|
+
//! author : forabi https://github.com/forabi
|
|
5762
|
+
//! author : Noureddine LOUAHEDJ : https://github.com/noureddinem
|
|
5749
5763
|
|
|
5750
|
-
|
|
5764
|
+
|
|
5765
|
+
var pluralForm$2 = function (n) {
|
|
5751
5766
|
return n === 0
|
|
5752
5767
|
? 0
|
|
5753
5768
|
: n === 1
|
|
@@ -5760,7 +5775,7 @@
|
|
|
5760
5775
|
? 4
|
|
5761
5776
|
: 5;
|
|
5762
5777
|
},
|
|
5763
|
-
plurals = {
|
|
5778
|
+
plurals$2 = {
|
|
5764
5779
|
s: [
|
|
5765
5780
|
'أقل من ثانية',
|
|
5766
5781
|
'ثانية واحدة',
|
|
@@ -5810,17 +5825,17 @@
|
|
|
5810
5825
|
'%d عام',
|
|
5811
5826
|
],
|
|
5812
5827
|
},
|
|
5813
|
-
pluralize = function (u) {
|
|
5828
|
+
pluralize$2 = function (u) {
|
|
5814
5829
|
return function (number, withoutSuffix, string, isFuture) {
|
|
5815
|
-
var f = pluralForm(number),
|
|
5816
|
-
str = plurals[u][pluralForm(number)];
|
|
5830
|
+
var f = pluralForm$2(number),
|
|
5831
|
+
str = plurals$2[u][pluralForm$2(number)];
|
|
5817
5832
|
if (f === 2) {
|
|
5818
5833
|
str = str[withoutSuffix ? 0 : 1];
|
|
5819
5834
|
}
|
|
5820
5835
|
return str.replace(/%d/i, number);
|
|
5821
5836
|
};
|
|
5822
5837
|
},
|
|
5823
|
-
months$
|
|
5838
|
+
months$a = [
|
|
5824
5839
|
'جانفي',
|
|
5825
5840
|
'فيفري',
|
|
5826
5841
|
'مارس',
|
|
@@ -5836,8 +5851,8 @@
|
|
|
5836
5851
|
];
|
|
5837
5852
|
|
|
5838
5853
|
hooks.defineLocale('ar-dz', {
|
|
5839
|
-
months: months$
|
|
5840
|
-
monthsShort: months$
|
|
5854
|
+
months: months$a,
|
|
5855
|
+
monthsShort: months$a,
|
|
5841
5856
|
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
|
5842
5857
|
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
|
5843
5858
|
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
|
@@ -5872,18 +5887,18 @@
|
|
|
5872
5887
|
relativeTime: {
|
|
5873
5888
|
future: 'بعد %s',
|
|
5874
5889
|
past: 'منذ %s',
|
|
5875
|
-
s: pluralize('s'),
|
|
5876
|
-
ss: pluralize('s'),
|
|
5877
|
-
m: pluralize('m'),
|
|
5878
|
-
mm: pluralize('m'),
|
|
5879
|
-
h: pluralize('h'),
|
|
5880
|
-
hh: pluralize('h'),
|
|
5881
|
-
d: pluralize('d'),
|
|
5882
|
-
dd: pluralize('d'),
|
|
5883
|
-
M: pluralize('M'),
|
|
5884
|
-
MM: pluralize('M'),
|
|
5885
|
-
y: pluralize('y'),
|
|
5886
|
-
yy: pluralize('y'),
|
|
5890
|
+
s: pluralize$2('s'),
|
|
5891
|
+
ss: pluralize$2('s'),
|
|
5892
|
+
m: pluralize$2('m'),
|
|
5893
|
+
mm: pluralize$2('m'),
|
|
5894
|
+
h: pluralize$2('h'),
|
|
5895
|
+
hh: pluralize$2('h'),
|
|
5896
|
+
d: pluralize$2('d'),
|
|
5897
|
+
dd: pluralize$2('d'),
|
|
5898
|
+
M: pluralize$2('M'),
|
|
5899
|
+
MM: pluralize$2('M'),
|
|
5900
|
+
y: pluralize$2('y'),
|
|
5901
|
+
yy: pluralize$2('y'),
|
|
5887
5902
|
},
|
|
5888
5903
|
postformat: function (string) {
|
|
5889
5904
|
return string.replace(/,/g, '،');
|
|
@@ -5895,6 +5910,9 @@
|
|
|
5895
5910
|
});
|
|
5896
5911
|
|
|
5897
5912
|
//! moment.js locale configuration
|
|
5913
|
+
//! locale : Arabic (Kuwait) [ar-kw]
|
|
5914
|
+
//! author : Nusret Parlak: https://github.com/nusretparlak
|
|
5915
|
+
|
|
5898
5916
|
|
|
5899
5917
|
hooks.defineLocale('ar-kw', {
|
|
5900
5918
|
months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
|
@@ -5947,8 +5965,11 @@
|
|
|
5947
5965
|
});
|
|
5948
5966
|
|
|
5949
5967
|
//! moment.js locale configuration
|
|
5968
|
+
//! locale : Arabic (Libya) [ar-ly]
|
|
5969
|
+
//! author : Ali Hmer: https://github.com/kikoanis
|
|
5950
5970
|
|
|
5951
|
-
|
|
5971
|
+
|
|
5972
|
+
var symbolMap$h = {
|
|
5952
5973
|
1: '1',
|
|
5953
5974
|
2: '2',
|
|
5954
5975
|
3: '3',
|
|
@@ -6033,7 +6054,7 @@
|
|
|
6033
6054
|
return str.replace(/%d/i, number);
|
|
6034
6055
|
};
|
|
6035
6056
|
},
|
|
6036
|
-
months$
|
|
6057
|
+
months$9 = [
|
|
6037
6058
|
'يناير',
|
|
6038
6059
|
'فبراير',
|
|
6039
6060
|
'مارس',
|
|
@@ -6049,8 +6070,8 @@
|
|
|
6049
6070
|
];
|
|
6050
6071
|
|
|
6051
6072
|
hooks.defineLocale('ar-ly', {
|
|
6052
|
-
months: months$
|
|
6053
|
-
monthsShort: months$
|
|
6073
|
+
months: months$9,
|
|
6074
|
+
monthsShort: months$9,
|
|
6054
6075
|
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
|
6055
6076
|
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
|
6056
6077
|
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
|
@@ -6104,7 +6125,7 @@
|
|
|
6104
6125
|
postformat: function (string) {
|
|
6105
6126
|
return string
|
|
6106
6127
|
.replace(/\d/g, function (match) {
|
|
6107
|
-
return symbolMap[match];
|
|
6128
|
+
return symbolMap$h[match];
|
|
6108
6129
|
})
|
|
6109
6130
|
.replace(/,/g, '،');
|
|
6110
6131
|
},
|
|
@@ -6115,6 +6136,10 @@
|
|
|
6115
6136
|
});
|
|
6116
6137
|
|
|
6117
6138
|
//! moment.js locale configuration
|
|
6139
|
+
//! locale : Arabic (Morocco) [ar-ma]
|
|
6140
|
+
//! author : ElFadili Yassine : https://github.com/ElFadiliY
|
|
6141
|
+
//! author : Abdel Said : https://github.com/abdelsaid
|
|
6142
|
+
|
|
6118
6143
|
|
|
6119
6144
|
hooks.defineLocale('ar-ma', {
|
|
6120
6145
|
months: 'يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر'.split(
|
|
@@ -6167,8 +6192,11 @@
|
|
|
6167
6192
|
});
|
|
6168
6193
|
|
|
6169
6194
|
//! moment.js locale configuration
|
|
6195
|
+
//! locale : Arabic (Palestine) [ar-ps]
|
|
6196
|
+
//! author : Majd Al-Shihabi : https://github.com/majdal
|
|
6170
6197
|
|
|
6171
|
-
|
|
6198
|
+
|
|
6199
|
+
var symbolMap$g = {
|
|
6172
6200
|
1: '١',
|
|
6173
6201
|
2: '٢',
|
|
6174
6202
|
3: '٣',
|
|
@@ -6180,7 +6208,7 @@
|
|
|
6180
6208
|
9: '٩',
|
|
6181
6209
|
0: '٠',
|
|
6182
6210
|
},
|
|
6183
|
-
numberMap = {
|
|
6211
|
+
numberMap$g = {
|
|
6184
6212
|
'١': '1',
|
|
6185
6213
|
'٢': '2',
|
|
6186
6214
|
'٣': '3',
|
|
@@ -6249,13 +6277,13 @@
|
|
|
6249
6277
|
preparse: function (string) {
|
|
6250
6278
|
return string
|
|
6251
6279
|
.replace(/[٣٤٥٦٧٨٩٠]/g, function (match) {
|
|
6252
|
-
return numberMap[match];
|
|
6280
|
+
return numberMap$g[match];
|
|
6253
6281
|
})
|
|
6254
6282
|
.split('') // reversed since negative lookbehind not supported everywhere
|
|
6255
6283
|
.reverse()
|
|
6256
6284
|
.join('')
|
|
6257
6285
|
.replace(/[١٢](?![\u062a\u0643])/g, function (match) {
|
|
6258
|
-
return numberMap[match];
|
|
6286
|
+
return numberMap$g[match];
|
|
6259
6287
|
})
|
|
6260
6288
|
.split('')
|
|
6261
6289
|
.reverse()
|
|
@@ -6265,7 +6293,7 @@
|
|
|
6265
6293
|
postformat: function (string) {
|
|
6266
6294
|
return string
|
|
6267
6295
|
.replace(/\d/g, function (match) {
|
|
6268
|
-
return symbolMap$
|
|
6296
|
+
return symbolMap$g[match];
|
|
6269
6297
|
})
|
|
6270
6298
|
.replace(/,/g, '،');
|
|
6271
6299
|
},
|
|
@@ -6276,8 +6304,11 @@
|
|
|
6276
6304
|
});
|
|
6277
6305
|
|
|
6278
6306
|
//! moment.js locale configuration
|
|
6307
|
+
//! locale : Arabic (Saudi Arabia) [ar-sa]
|
|
6308
|
+
//! author : Suhail Alkowaileet : https://github.com/xsoh
|
|
6279
6309
|
|
|
6280
|
-
|
|
6310
|
+
|
|
6311
|
+
var symbolMap$f = {
|
|
6281
6312
|
1: '١',
|
|
6282
6313
|
2: '٢',
|
|
6283
6314
|
3: '٣',
|
|
@@ -6289,7 +6320,7 @@
|
|
|
6289
6320
|
9: '٩',
|
|
6290
6321
|
0: '٠',
|
|
6291
6322
|
},
|
|
6292
|
-
numberMap$
|
|
6323
|
+
numberMap$f = {
|
|
6293
6324
|
'١': '1',
|
|
6294
6325
|
'٢': '2',
|
|
6295
6326
|
'٣': '3',
|
|
@@ -6360,14 +6391,14 @@
|
|
|
6360
6391
|
preparse: function (string) {
|
|
6361
6392
|
return string
|
|
6362
6393
|
.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
|
|
6363
|
-
return numberMap$
|
|
6394
|
+
return numberMap$f[match];
|
|
6364
6395
|
})
|
|
6365
6396
|
.replace(/،/g, ',');
|
|
6366
6397
|
},
|
|
6367
6398
|
postformat: function (string) {
|
|
6368
6399
|
return string
|
|
6369
6400
|
.replace(/\d/g, function (match) {
|
|
6370
|
-
return symbolMap$
|
|
6401
|
+
return symbolMap$f[match];
|
|
6371
6402
|
})
|
|
6372
6403
|
.replace(/,/g, '،');
|
|
6373
6404
|
},
|
|
@@ -6378,6 +6409,9 @@
|
|
|
6378
6409
|
});
|
|
6379
6410
|
|
|
6380
6411
|
//! moment.js locale configuration
|
|
6412
|
+
//! locale : Arabic (Tunisia) [ar-tn]
|
|
6413
|
+
//! author : Nader Toukabri : https://github.com/naderio
|
|
6414
|
+
|
|
6381
6415
|
|
|
6382
6416
|
hooks.defineLocale('ar-tn', {
|
|
6383
6417
|
months: 'جانفي_فيفري_مارس_أفريل_ماي_جوان_جويلية_أوت_سبتمبر_أكتوبر_نوفمبر_ديسمبر'.split(
|
|
@@ -6430,8 +6464,13 @@
|
|
|
6430
6464
|
});
|
|
6431
6465
|
|
|
6432
6466
|
//! moment.js locale configuration
|
|
6467
|
+
//! locale : Arabic [ar]
|
|
6468
|
+
//! author : Abdel Said: https://github.com/abdelsaid
|
|
6469
|
+
//! author : Ahmed Elkhatib
|
|
6470
|
+
//! author : forabi https://github.com/forabi
|
|
6433
6471
|
|
|
6434
|
-
|
|
6472
|
+
|
|
6473
|
+
var symbolMap$e = {
|
|
6435
6474
|
1: '١',
|
|
6436
6475
|
2: '٢',
|
|
6437
6476
|
3: '٣',
|
|
@@ -6443,7 +6482,7 @@
|
|
|
6443
6482
|
9: '٩',
|
|
6444
6483
|
0: '٠',
|
|
6445
6484
|
},
|
|
6446
|
-
numberMap$
|
|
6485
|
+
numberMap$e = {
|
|
6447
6486
|
'١': '1',
|
|
6448
6487
|
'٢': '2',
|
|
6449
6488
|
'٣': '3',
|
|
@@ -6455,7 +6494,7 @@
|
|
|
6455
6494
|
'٩': '9',
|
|
6456
6495
|
'٠': '0',
|
|
6457
6496
|
},
|
|
6458
|
-
pluralForm
|
|
6497
|
+
pluralForm = function (n) {
|
|
6459
6498
|
return n === 0
|
|
6460
6499
|
? 0
|
|
6461
6500
|
: n === 1
|
|
@@ -6468,7 +6507,7 @@
|
|
|
6468
6507
|
? 4
|
|
6469
6508
|
: 5;
|
|
6470
6509
|
},
|
|
6471
|
-
plurals
|
|
6510
|
+
plurals = {
|
|
6472
6511
|
s: [
|
|
6473
6512
|
'أقل من ثانية',
|
|
6474
6513
|
'ثانية واحدة',
|
|
@@ -6518,17 +6557,17 @@
|
|
|
6518
6557
|
'%d عام',
|
|
6519
6558
|
],
|
|
6520
6559
|
},
|
|
6521
|
-
pluralize
|
|
6560
|
+
pluralize = function (u) {
|
|
6522
6561
|
return function (number, withoutSuffix, string, isFuture) {
|
|
6523
|
-
var f = pluralForm
|
|
6524
|
-
str = plurals
|
|
6562
|
+
var f = pluralForm(number),
|
|
6563
|
+
str = plurals[u][pluralForm(number)];
|
|
6525
6564
|
if (f === 2) {
|
|
6526
6565
|
str = str[withoutSuffix ? 0 : 1];
|
|
6527
6566
|
}
|
|
6528
6567
|
return str.replace(/%d/i, number);
|
|
6529
6568
|
};
|
|
6530
6569
|
},
|
|
6531
|
-
months$
|
|
6570
|
+
months$8 = [
|
|
6532
6571
|
'يناير',
|
|
6533
6572
|
'فبراير',
|
|
6534
6573
|
'مارس',
|
|
@@ -6544,8 +6583,8 @@
|
|
|
6544
6583
|
];
|
|
6545
6584
|
|
|
6546
6585
|
hooks.defineLocale('ar', {
|
|
6547
|
-
months: months$
|
|
6548
|
-
monthsShort: months$
|
|
6586
|
+
months: months$8,
|
|
6587
|
+
monthsShort: months$8,
|
|
6549
6588
|
weekdays: 'الأحد_الإثنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت'.split('_'),
|
|
6550
6589
|
weekdaysShort: 'أحد_إثنين_ثلاثاء_أربعاء_خميس_جمعة_سبت'.split('_'),
|
|
6551
6590
|
weekdaysMin: 'ح_ن_ث_ر_خ_ج_س'.split('_'),
|
|
@@ -6580,30 +6619,30 @@
|
|
|
6580
6619
|
relativeTime: {
|
|
6581
6620
|
future: 'بعد %s',
|
|
6582
6621
|
past: 'منذ %s',
|
|
6583
|
-
s: pluralize
|
|
6584
|
-
ss: pluralize
|
|
6585
|
-
m: pluralize
|
|
6586
|
-
mm: pluralize
|
|
6587
|
-
h: pluralize
|
|
6588
|
-
hh: pluralize
|
|
6589
|
-
d: pluralize
|
|
6590
|
-
dd: pluralize
|
|
6591
|
-
M: pluralize
|
|
6592
|
-
MM: pluralize
|
|
6593
|
-
y: pluralize
|
|
6594
|
-
yy: pluralize
|
|
6622
|
+
s: pluralize('s'),
|
|
6623
|
+
ss: pluralize('s'),
|
|
6624
|
+
m: pluralize('m'),
|
|
6625
|
+
mm: pluralize('m'),
|
|
6626
|
+
h: pluralize('h'),
|
|
6627
|
+
hh: pluralize('h'),
|
|
6628
|
+
d: pluralize('d'),
|
|
6629
|
+
dd: pluralize('d'),
|
|
6630
|
+
M: pluralize('M'),
|
|
6631
|
+
MM: pluralize('M'),
|
|
6632
|
+
y: pluralize('y'),
|
|
6633
|
+
yy: pluralize('y'),
|
|
6595
6634
|
},
|
|
6596
6635
|
preparse: function (string) {
|
|
6597
6636
|
return string
|
|
6598
6637
|
.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
|
|
6599
|
-
return numberMap$
|
|
6638
|
+
return numberMap$e[match];
|
|
6600
6639
|
})
|
|
6601
6640
|
.replace(/،/g, ',');
|
|
6602
6641
|
},
|
|
6603
6642
|
postformat: function (string) {
|
|
6604
6643
|
return string
|
|
6605
6644
|
.replace(/\d/g, function (match) {
|
|
6606
|
-
return symbolMap$
|
|
6645
|
+
return symbolMap$e[match];
|
|
6607
6646
|
})
|
|
6608
6647
|
.replace(/,/g, '،');
|
|
6609
6648
|
},
|
|
@@ -6614,8 +6653,11 @@
|
|
|
6614
6653
|
});
|
|
6615
6654
|
|
|
6616
6655
|
//! moment.js locale configuration
|
|
6656
|
+
//! locale : Azerbaijani [az]
|
|
6657
|
+
//! author : topchiyev : https://github.com/topchiyev
|
|
6617
6658
|
|
|
6618
|
-
|
|
6659
|
+
|
|
6660
|
+
var suffixes$5 = {
|
|
6619
6661
|
1: '-inci',
|
|
6620
6662
|
5: '-inci',
|
|
6621
6663
|
8: '-inci',
|
|
@@ -6704,7 +6746,7 @@
|
|
|
6704
6746
|
var a = number % 10,
|
|
6705
6747
|
b = (number % 100) - a,
|
|
6706
6748
|
c = number >= 100 ? 100 : null;
|
|
6707
|
-
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
|
6749
|
+
return number + (suffixes$5[a] || suffixes$5[b] || suffixes$5[c]);
|
|
6708
6750
|
},
|
|
6709
6751
|
week: {
|
|
6710
6752
|
dow: 1, // Monday is the first day of the week.
|
|
@@ -6713,8 +6755,13 @@
|
|
|
6713
6755
|
});
|
|
6714
6756
|
|
|
6715
6757
|
//! moment.js locale configuration
|
|
6758
|
+
//! locale : Belarusian [be]
|
|
6759
|
+
//! author : Dmitry Demidov : https://github.com/demidov91
|
|
6760
|
+
//! author: Praleska: http://praleska.pro/
|
|
6761
|
+
//! Author : Menelion Elensúle : https://github.com/Oire
|
|
6716
6762
|
|
|
6717
|
-
|
|
6763
|
+
|
|
6764
|
+
function plural$6(word, num) {
|
|
6718
6765
|
var forms = word.split('_');
|
|
6719
6766
|
return num % 10 === 1 && num % 100 !== 11
|
|
6720
6767
|
? forms[0]
|
|
@@ -6722,7 +6769,7 @@
|
|
|
6722
6769
|
? forms[1]
|
|
6723
6770
|
: forms[2];
|
|
6724
6771
|
}
|
|
6725
|
-
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
|
6772
|
+
function relativeTimeWithPlural$4(number, withoutSuffix, key) {
|
|
6726
6773
|
var format = {
|
|
6727
6774
|
ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
|
|
6728
6775
|
mm: withoutSuffix ? 'хвіліна_хвіліны_хвілін' : 'хвіліну_хвіліны_хвілін',
|
|
@@ -6736,7 +6783,7 @@
|
|
|
6736
6783
|
} else if (key === 'h') {
|
|
6737
6784
|
return withoutSuffix ? 'гадзіна' : 'гадзіну';
|
|
6738
6785
|
} else {
|
|
6739
|
-
return number + ' ' + plural(format[key], +number);
|
|
6786
|
+
return number + ' ' + plural$6(format[key], +number);
|
|
6740
6787
|
}
|
|
6741
6788
|
}
|
|
6742
6789
|
|
|
@@ -6798,16 +6845,16 @@
|
|
|
6798
6845
|
future: 'праз %s',
|
|
6799
6846
|
past: '%s таму',
|
|
6800
6847
|
s: 'некалькі секунд',
|
|
6801
|
-
m: relativeTimeWithPlural,
|
|
6802
|
-
mm: relativeTimeWithPlural,
|
|
6803
|
-
h: relativeTimeWithPlural,
|
|
6804
|
-
hh: relativeTimeWithPlural,
|
|
6848
|
+
m: relativeTimeWithPlural$4,
|
|
6849
|
+
mm: relativeTimeWithPlural$4,
|
|
6850
|
+
h: relativeTimeWithPlural$4,
|
|
6851
|
+
hh: relativeTimeWithPlural$4,
|
|
6805
6852
|
d: 'дзень',
|
|
6806
|
-
dd: relativeTimeWithPlural,
|
|
6853
|
+
dd: relativeTimeWithPlural$4,
|
|
6807
6854
|
M: 'месяц',
|
|
6808
|
-
MM: relativeTimeWithPlural,
|
|
6855
|
+
MM: relativeTimeWithPlural$4,
|
|
6809
6856
|
y: 'год',
|
|
6810
|
-
yy: relativeTimeWithPlural,
|
|
6857
|
+
yy: relativeTimeWithPlural$4,
|
|
6811
6858
|
},
|
|
6812
6859
|
meridiemParse: /ночы|раніцы|дня|вечара/,
|
|
6813
6860
|
isPM: function (input) {
|
|
@@ -6850,6 +6897,9 @@
|
|
|
6850
6897
|
});
|
|
6851
6898
|
|
|
6852
6899
|
//! moment.js locale configuration
|
|
6900
|
+
//! locale : Bulgarian [bg]
|
|
6901
|
+
//! author : Krasen Borisov : https://github.com/kraz
|
|
6902
|
+
|
|
6853
6903
|
|
|
6854
6904
|
hooks.defineLocale('bg', {
|
|
6855
6905
|
months: 'януари_февруари_март_април_май_юни_юли_август_септември_октомври_ноември_декември'.split(
|
|
@@ -6934,6 +6984,10 @@
|
|
|
6934
6984
|
});
|
|
6935
6985
|
|
|
6936
6986
|
//! moment.js locale configuration
|
|
6987
|
+
//! locale : Bambara [bm]
|
|
6988
|
+
//! author : Estelle Comment : https://github.com/estellecomment
|
|
6989
|
+
// Language contact person : Abdoufata Kane : https://github.com/abdoufata
|
|
6990
|
+
|
|
6937
6991
|
|
|
6938
6992
|
hooks.defineLocale('bm', {
|
|
6939
6993
|
months: 'Zanwuyekalo_Fewuruyekalo_Marisikalo_Awirilikalo_Mɛkalo_Zuwɛnkalo_Zuluyekalo_Utikalo_Sɛtanburukalo_ɔkutɔburukalo_Nowanburukalo_Desanburukalo'.split(
|
|
@@ -6982,8 +7036,11 @@
|
|
|
6982
7036
|
});
|
|
6983
7037
|
|
|
6984
7038
|
//! moment.js locale configuration
|
|
7039
|
+
//! locale : Bengali (Bangladesh) [bn-bd]
|
|
7040
|
+
//! author : Asraf Hossain Patoary : https://github.com/ashwoolford
|
|
6985
7041
|
|
|
6986
|
-
|
|
7042
|
+
|
|
7043
|
+
var symbolMap$d = {
|
|
6987
7044
|
1: '১',
|
|
6988
7045
|
2: '২',
|
|
6989
7046
|
3: '৩',
|
|
@@ -6995,7 +7052,7 @@
|
|
|
6995
7052
|
9: '৯',
|
|
6996
7053
|
0: '০',
|
|
6997
7054
|
},
|
|
6998
|
-
numberMap$
|
|
7055
|
+
numberMap$d = {
|
|
6999
7056
|
'১': '1',
|
|
7000
7057
|
'২': '2',
|
|
7001
7058
|
'৩': '3',
|
|
@@ -7055,12 +7112,12 @@
|
|
|
7055
7112
|
},
|
|
7056
7113
|
preparse: function (string) {
|
|
7057
7114
|
return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
|
|
7058
|
-
return numberMap$
|
|
7115
|
+
return numberMap$d[match];
|
|
7059
7116
|
});
|
|
7060
7117
|
},
|
|
7061
7118
|
postformat: function (string) {
|
|
7062
7119
|
return string.replace(/\d/g, function (match) {
|
|
7063
|
-
return symbolMap$
|
|
7120
|
+
return symbolMap$d[match];
|
|
7064
7121
|
});
|
|
7065
7122
|
},
|
|
7066
7123
|
|
|
@@ -7108,8 +7165,11 @@
|
|
|
7108
7165
|
});
|
|
7109
7166
|
|
|
7110
7167
|
//! moment.js locale configuration
|
|
7168
|
+
//! locale : Bengali [bn]
|
|
7169
|
+
//! author : Kaushik Gandhi : https://github.com/kaushikgandhi
|
|
7111
7170
|
|
|
7112
|
-
|
|
7171
|
+
|
|
7172
|
+
var symbolMap$c = {
|
|
7113
7173
|
1: '১',
|
|
7114
7174
|
2: '২',
|
|
7115
7175
|
3: '৩',
|
|
@@ -7121,7 +7181,7 @@
|
|
|
7121
7181
|
9: '৯',
|
|
7122
7182
|
0: '০',
|
|
7123
7183
|
},
|
|
7124
|
-
numberMap$
|
|
7184
|
+
numberMap$c = {
|
|
7125
7185
|
'১': '1',
|
|
7126
7186
|
'২': '2',
|
|
7127
7187
|
'৩': '3',
|
|
@@ -7181,12 +7241,12 @@
|
|
|
7181
7241
|
},
|
|
7182
7242
|
preparse: function (string) {
|
|
7183
7243
|
return string.replace(/[১২৩৪৫৬৭৮৯০]/g, function (match) {
|
|
7184
|
-
return numberMap$
|
|
7244
|
+
return numberMap$c[match];
|
|
7185
7245
|
});
|
|
7186
7246
|
},
|
|
7187
7247
|
postformat: function (string) {
|
|
7188
7248
|
return string.replace(/\d/g, function (match) {
|
|
7189
|
-
return symbolMap$
|
|
7249
|
+
return symbolMap$c[match];
|
|
7190
7250
|
});
|
|
7191
7251
|
},
|
|
7192
7252
|
meridiemParse: /রাত|সকাল|দুপুর|বিকাল|রাত/,
|
|
@@ -7224,8 +7284,11 @@
|
|
|
7224
7284
|
});
|
|
7225
7285
|
|
|
7226
7286
|
//! moment.js locale configuration
|
|
7287
|
+
//! locale : Tibetan [bo]
|
|
7288
|
+
//! author : Thupten N. Chakrishar : https://github.com/vajradog
|
|
7227
7289
|
|
|
7228
|
-
|
|
7290
|
+
|
|
7291
|
+
var symbolMap$b = {
|
|
7229
7292
|
1: '༡',
|
|
7230
7293
|
2: '༢',
|
|
7231
7294
|
3: '༣',
|
|
@@ -7237,7 +7300,7 @@
|
|
|
7237
7300
|
9: '༩',
|
|
7238
7301
|
0: '༠',
|
|
7239
7302
|
},
|
|
7240
|
-
numberMap$
|
|
7303
|
+
numberMap$b = {
|
|
7241
7304
|
'༡': '1',
|
|
7242
7305
|
'༢': '2',
|
|
7243
7306
|
'༣': '3',
|
|
@@ -7302,12 +7365,12 @@
|
|
|
7302
7365
|
},
|
|
7303
7366
|
preparse: function (string) {
|
|
7304
7367
|
return string.replace(/[༡༢༣༤༥༦༧༨༩༠]/g, function (match) {
|
|
7305
|
-
return numberMap$
|
|
7368
|
+
return numberMap$b[match];
|
|
7306
7369
|
});
|
|
7307
7370
|
},
|
|
7308
7371
|
postformat: function (string) {
|
|
7309
7372
|
return string.replace(/\d/g, function (match) {
|
|
7310
|
-
return symbolMap$
|
|
7373
|
+
return symbolMap$b[match];
|
|
7311
7374
|
});
|
|
7312
7375
|
},
|
|
7313
7376
|
meridiemParse: /མཚན་མོ|ཞོགས་ཀས|ཉིན་གུང|དགོང་དག|མཚན་མོ/,
|
|
@@ -7345,6 +7408,9 @@
|
|
|
7345
7408
|
});
|
|
7346
7409
|
|
|
7347
7410
|
//! moment.js locale configuration
|
|
7411
|
+
//! locale : Breton [br]
|
|
7412
|
+
//! author : Jean-Baptiste Le Duigou : https://github.com/jbleduigou
|
|
7413
|
+
|
|
7348
7414
|
|
|
7349
7415
|
function relativeTimeWithMutation(number, withoutSuffix, key) {
|
|
7350
7416
|
var format = {
|
|
@@ -7390,7 +7456,7 @@
|
|
|
7390
7456
|
return mutationTable[text.charAt(0)] + text.substring(1);
|
|
7391
7457
|
}
|
|
7392
7458
|
|
|
7393
|
-
var monthsParse = [
|
|
7459
|
+
var monthsParse$b = [
|
|
7394
7460
|
/^gen/i,
|
|
7395
7461
|
/^c[ʼ\']hwe/i,
|
|
7396
7462
|
/^meu/i,
|
|
@@ -7404,11 +7470,11 @@
|
|
|
7404
7470
|
/^du/i,
|
|
7405
7471
|
/^ker/i,
|
|
7406
7472
|
],
|
|
7407
|
-
monthsRegex$
|
|
7473
|
+
monthsRegex$8 =
|
|
7408
7474
|
/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu|gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
|
|
7409
|
-
monthsStrictRegex =
|
|
7475
|
+
monthsStrictRegex$1 =
|
|
7410
7476
|
/^(genver|c[ʼ\']hwevrer|meurzh|ebrel|mae|mezheven|gouere|eost|gwengolo|here|du|kerzu)/i,
|
|
7411
|
-
monthsShortStrictRegex =
|
|
7477
|
+
monthsShortStrictRegex$1 =
|
|
7412
7478
|
/^(gen|c[ʼ\']hwe|meu|ebr|mae|eve|gou|eos|gwe|her|du|ker)/i,
|
|
7413
7479
|
fullWeekdaysParse = [
|
|
7414
7480
|
/^sul/i,
|
|
@@ -7451,13 +7517,13 @@
|
|
|
7451
7517
|
shortWeekdaysParse: shortWeekdaysParse,
|
|
7452
7518
|
minWeekdaysParse: minWeekdaysParse,
|
|
7453
7519
|
|
|
7454
|
-
monthsRegex: monthsRegex$
|
|
7455
|
-
monthsShortRegex: monthsRegex$
|
|
7456
|
-
monthsStrictRegex: monthsStrictRegex,
|
|
7457
|
-
monthsShortStrictRegex: monthsShortStrictRegex,
|
|
7458
|
-
monthsParse: monthsParse,
|
|
7459
|
-
longMonthsParse: monthsParse,
|
|
7460
|
-
shortMonthsParse: monthsParse,
|
|
7520
|
+
monthsRegex: monthsRegex$8,
|
|
7521
|
+
monthsShortRegex: monthsRegex$8,
|
|
7522
|
+
monthsStrictRegex: monthsStrictRegex$1,
|
|
7523
|
+
monthsShortStrictRegex: monthsShortStrictRegex$1,
|
|
7524
|
+
monthsParse: monthsParse$b,
|
|
7525
|
+
longMonthsParse: monthsParse$b,
|
|
7526
|
+
shortMonthsParse: monthsParse$b,
|
|
7461
7527
|
|
|
7462
7528
|
longDateFormat: {
|
|
7463
7529
|
LT: 'HH:mm',
|
|
@@ -7510,8 +7576,13 @@
|
|
|
7510
7576
|
});
|
|
7511
7577
|
|
|
7512
7578
|
//! moment.js locale configuration
|
|
7579
|
+
//! locale : Bosnian [bs]
|
|
7580
|
+
//! author : Nedim Cholich : https://github.com/frontyard
|
|
7581
|
+
//! author : Rasid Redzic : https://github.com/rasidre
|
|
7582
|
+
//! based on (hr) translation by Bojan Marković
|
|
7513
7583
|
|
|
7514
|
-
|
|
7584
|
+
|
|
7585
|
+
function processRelativeTime$a(number, withoutSuffix, key, isFuture) {
|
|
7515
7586
|
switch (key) {
|
|
7516
7587
|
case 'm':
|
|
7517
7588
|
return withoutSuffix
|
|
@@ -7522,7 +7593,7 @@
|
|
|
7522
7593
|
}
|
|
7523
7594
|
}
|
|
7524
7595
|
|
|
7525
|
-
function translate(number, withoutSuffix, key) {
|
|
7596
|
+
function translate$a(number, withoutSuffix, key) {
|
|
7526
7597
|
var result = number + ' ';
|
|
7527
7598
|
switch (key) {
|
|
7528
7599
|
case 'ss':
|
|
@@ -7644,17 +7715,17 @@
|
|
|
7644
7715
|
future: 'za %s',
|
|
7645
7716
|
past: 'prije %s',
|
|
7646
7717
|
s: 'par sekundi',
|
|
7647
|
-
ss: translate,
|
|
7648
|
-
m: processRelativeTime,
|
|
7649
|
-
mm: translate,
|
|
7650
|
-
h: translate,
|
|
7651
|
-
hh: translate,
|
|
7718
|
+
ss: translate$a,
|
|
7719
|
+
m: processRelativeTime$a,
|
|
7720
|
+
mm: translate$a,
|
|
7721
|
+
h: translate$a,
|
|
7722
|
+
hh: translate$a,
|
|
7652
7723
|
d: 'dan',
|
|
7653
|
-
dd: translate,
|
|
7724
|
+
dd: translate$a,
|
|
7654
7725
|
M: 'mjesec',
|
|
7655
|
-
MM: translate,
|
|
7726
|
+
MM: translate$a,
|
|
7656
7727
|
y: 'godinu',
|
|
7657
|
-
yy: translate,
|
|
7728
|
+
yy: translate$a,
|
|
7658
7729
|
},
|
|
7659
7730
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
7660
7731
|
ordinal: '%d.',
|
|
@@ -7665,6 +7736,9 @@
|
|
|
7665
7736
|
});
|
|
7666
7737
|
|
|
7667
7738
|
//! moment.js locale configuration
|
|
7739
|
+
//! locale : Catalan [ca]
|
|
7740
|
+
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
|
7741
|
+
|
|
7668
7742
|
|
|
7669
7743
|
hooks.defineLocale('ca', {
|
|
7670
7744
|
months: {
|
|
@@ -7762,8 +7836,11 @@
|
|
|
7762
7836
|
});
|
|
7763
7837
|
|
|
7764
7838
|
//! moment.js locale configuration
|
|
7839
|
+
//! locale : Czech [cs]
|
|
7840
|
+
//! author : petrbela : https://github.com/petrbela
|
|
7765
7841
|
|
|
7766
|
-
|
|
7842
|
+
|
|
7843
|
+
var months$7 = {
|
|
7767
7844
|
standalone:
|
|
7768
7845
|
'leden_únor_březen_duben_květen_červen_červenec_srpen_září_říjen_listopad_prosinec'.split(
|
|
7769
7846
|
'_'
|
|
@@ -7773,8 +7850,8 @@
|
|
|
7773
7850
|
),
|
|
7774
7851
|
isFormat: /DD?[o.]?(\[[^\[\]]*\]|\s)+MMMM/,
|
|
7775
7852
|
},
|
|
7776
|
-
monthsShort = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
|
|
7777
|
-
monthsParse$
|
|
7853
|
+
monthsShort$7 = 'led_úno_bře_dub_kvě_čvn_čvc_srp_zář_říj_lis_pro'.split('_'),
|
|
7854
|
+
monthsParse$a = [
|
|
7778
7855
|
/^led/i,
|
|
7779
7856
|
/^úno/i,
|
|
7780
7857
|
/^bře/i,
|
|
@@ -7790,20 +7867,20 @@
|
|
|
7790
7867
|
],
|
|
7791
7868
|
// NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
|
|
7792
7869
|
// Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
|
|
7793
|
-
monthsRegex$
|
|
7870
|
+
monthsRegex$7 =
|
|
7794
7871
|
/^(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;
|
|
7795
7872
|
|
|
7796
|
-
function plural$
|
|
7873
|
+
function plural$5(n) {
|
|
7797
7874
|
return n > 1 && n < 5 && ~~(n / 10) !== 1;
|
|
7798
7875
|
}
|
|
7799
|
-
function translate$
|
|
7876
|
+
function translate$9(number, withoutSuffix, key, isFuture) {
|
|
7800
7877
|
var result = number + ' ';
|
|
7801
7878
|
switch (key) {
|
|
7802
7879
|
case 's': // a few seconds / in a few seconds / a few seconds ago
|
|
7803
7880
|
return withoutSuffix || isFuture ? 'pár sekund' : 'pár sekundami';
|
|
7804
7881
|
case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
|
|
7805
7882
|
if (withoutSuffix || isFuture) {
|
|
7806
|
-
return result + (plural$
|
|
7883
|
+
return result + (plural$5(number) ? 'sekundy' : 'sekund');
|
|
7807
7884
|
} else {
|
|
7808
7885
|
return result + 'sekundami';
|
|
7809
7886
|
}
|
|
@@ -7811,7 +7888,7 @@
|
|
|
7811
7888
|
return withoutSuffix ? 'minuta' : isFuture ? 'minutu' : 'minutou';
|
|
7812
7889
|
case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
|
|
7813
7890
|
if (withoutSuffix || isFuture) {
|
|
7814
|
-
return result + (plural$
|
|
7891
|
+
return result + (plural$5(number) ? 'minuty' : 'minut');
|
|
7815
7892
|
} else {
|
|
7816
7893
|
return result + 'minutami';
|
|
7817
7894
|
}
|
|
@@ -7819,7 +7896,7 @@
|
|
|
7819
7896
|
return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
|
|
7820
7897
|
case 'hh': // 9 hours / in 9 hours / 9 hours ago
|
|
7821
7898
|
if (withoutSuffix || isFuture) {
|
|
7822
|
-
return result + (plural$
|
|
7899
|
+
return result + (plural$5(number) ? 'hodiny' : 'hodin');
|
|
7823
7900
|
} else {
|
|
7824
7901
|
return result + 'hodinami';
|
|
7825
7902
|
}
|
|
@@ -7827,7 +7904,7 @@
|
|
|
7827
7904
|
return withoutSuffix || isFuture ? 'den' : 'dnem';
|
|
7828
7905
|
case 'dd': // 9 days / in 9 days / 9 days ago
|
|
7829
7906
|
if (withoutSuffix || isFuture) {
|
|
7830
|
-
return result + (plural$
|
|
7907
|
+
return result + (plural$5(number) ? 'dny' : 'dní');
|
|
7831
7908
|
} else {
|
|
7832
7909
|
return result + 'dny';
|
|
7833
7910
|
}
|
|
@@ -7835,7 +7912,7 @@
|
|
|
7835
7912
|
return withoutSuffix || isFuture ? 'měsíc' : 'měsícem';
|
|
7836
7913
|
case 'MM': // 9 months / in 9 months / 9 months ago
|
|
7837
7914
|
if (withoutSuffix || isFuture) {
|
|
7838
|
-
return result + (plural$
|
|
7915
|
+
return result + (plural$5(number) ? 'měsíce' : 'měsíců');
|
|
7839
7916
|
} else {
|
|
7840
7917
|
return result + 'měsíci';
|
|
7841
7918
|
}
|
|
@@ -7843,7 +7920,7 @@
|
|
|
7843
7920
|
return withoutSuffix || isFuture ? 'rok' : 'rokem';
|
|
7844
7921
|
case 'yy': // 9 years / in 9 years / 9 years ago
|
|
7845
7922
|
if (withoutSuffix || isFuture) {
|
|
7846
|
-
return result + (plural$
|
|
7923
|
+
return result + (plural$5(number) ? 'roky' : 'let');
|
|
7847
7924
|
} else {
|
|
7848
7925
|
return result + 'lety';
|
|
7849
7926
|
}
|
|
@@ -7851,19 +7928,19 @@
|
|
|
7851
7928
|
}
|
|
7852
7929
|
|
|
7853
7930
|
hooks.defineLocale('cs', {
|
|
7854
|
-
months: months$
|
|
7855
|
-
monthsShort: monthsShort,
|
|
7856
|
-
monthsRegex: monthsRegex$
|
|
7857
|
-
monthsShortRegex: monthsRegex$
|
|
7931
|
+
months: months$7,
|
|
7932
|
+
monthsShort: monthsShort$7,
|
|
7933
|
+
monthsRegex: monthsRegex$7,
|
|
7934
|
+
monthsShortRegex: monthsRegex$7,
|
|
7858
7935
|
// NOTE: 'červen' is substring of 'červenec'; therefore 'červenec' must precede 'červen' in the regex to be fully matched.
|
|
7859
7936
|
// Otherwise parser matches '1. červenec' as '1. červen' + 'ec'.
|
|
7860
7937
|
monthsStrictRegex:
|
|
7861
7938
|
/^(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,
|
|
7862
7939
|
monthsShortStrictRegex:
|
|
7863
7940
|
/^(led|úno|bře|dub|kvě|čvn|čvc|srp|zář|říj|lis|pro)/i,
|
|
7864
|
-
monthsParse: monthsParse$
|
|
7865
|
-
longMonthsParse: monthsParse$
|
|
7866
|
-
shortMonthsParse: monthsParse$
|
|
7941
|
+
monthsParse: monthsParse$a,
|
|
7942
|
+
longMonthsParse: monthsParse$a,
|
|
7943
|
+
shortMonthsParse: monthsParse$a,
|
|
7867
7944
|
weekdays: 'neděle_pondělí_úterý_středa_čtvrtek_pátek_sobota'.split('_'),
|
|
7868
7945
|
weekdaysShort: 'ne_po_út_st_čt_pá_so'.split('_'),
|
|
7869
7946
|
weekdaysMin: 'ne_po_út_st_čt_pá_so'.split('_'),
|
|
@@ -7918,18 +7995,18 @@
|
|
|
7918
7995
|
relativeTime: {
|
|
7919
7996
|
future: 'za %s',
|
|
7920
7997
|
past: 'před %s',
|
|
7921
|
-
s: translate$
|
|
7922
|
-
ss: translate$
|
|
7923
|
-
m: translate$
|
|
7924
|
-
mm: translate$
|
|
7925
|
-
h: translate$
|
|
7926
|
-
hh: translate$
|
|
7927
|
-
d: translate$
|
|
7928
|
-
dd: translate$
|
|
7929
|
-
M: translate$
|
|
7930
|
-
MM: translate$
|
|
7931
|
-
y: translate$
|
|
7932
|
-
yy: translate$
|
|
7998
|
+
s: translate$9,
|
|
7999
|
+
ss: translate$9,
|
|
8000
|
+
m: translate$9,
|
|
8001
|
+
mm: translate$9,
|
|
8002
|
+
h: translate$9,
|
|
8003
|
+
hh: translate$9,
|
|
8004
|
+
d: translate$9,
|
|
8005
|
+
dd: translate$9,
|
|
8006
|
+
M: translate$9,
|
|
8007
|
+
MM: translate$9,
|
|
8008
|
+
y: translate$9,
|
|
8009
|
+
yy: translate$9,
|
|
7933
8010
|
},
|
|
7934
8011
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
7935
8012
|
ordinal: '%d.',
|
|
@@ -7940,6 +8017,9 @@
|
|
|
7940
8017
|
});
|
|
7941
8018
|
|
|
7942
8019
|
//! moment.js locale configuration
|
|
8020
|
+
//! locale : Chuvash [cv]
|
|
8021
|
+
//! author : Anatoly Mironov : https://github.com/mirontoli
|
|
8022
|
+
|
|
7943
8023
|
|
|
7944
8024
|
hooks.defineLocale('cv', {
|
|
7945
8025
|
months: 'кӑрлач_нарӑс_пуш_ака_май_ҫӗртме_утӑ_ҫурла_авӑн_юпа_чӳк_раштав'.split(
|
|
@@ -8000,6 +8080,10 @@
|
|
|
8000
8080
|
});
|
|
8001
8081
|
|
|
8002
8082
|
//! moment.js locale configuration
|
|
8083
|
+
//! locale : Welsh [cy]
|
|
8084
|
+
//! author : Robert Allen : https://github.com/robgallen
|
|
8085
|
+
//! author : https://github.com/ryangreaves
|
|
8086
|
+
|
|
8003
8087
|
|
|
8004
8088
|
hooks.defineLocale('cy', {
|
|
8005
8089
|
months: 'Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr'.split(
|
|
@@ -8094,6 +8178,9 @@
|
|
|
8094
8178
|
});
|
|
8095
8179
|
|
|
8096
8180
|
//! moment.js locale configuration
|
|
8181
|
+
//! locale : Danish [da]
|
|
8182
|
+
//! author : Ulrik Nielsen : https://github.com/mrbase
|
|
8183
|
+
|
|
8097
8184
|
|
|
8098
8185
|
hooks.defineLocale('da', {
|
|
8099
8186
|
months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split(
|
|
@@ -8144,8 +8231,14 @@
|
|
|
8144
8231
|
});
|
|
8145
8232
|
|
|
8146
8233
|
//! moment.js locale configuration
|
|
8234
|
+
//! locale : German (Austria) [de-at]
|
|
8235
|
+
//! author : lluchs : https://github.com/lluchs
|
|
8236
|
+
//! author: Menelion Elensúle: https://github.com/Oire
|
|
8237
|
+
//! author : Martin Groller : https://github.com/MadMG
|
|
8238
|
+
//! author : Mikolaj Dadela : https://github.com/mik01aj
|
|
8147
8239
|
|
|
8148
|
-
|
|
8240
|
+
|
|
8241
|
+
function processRelativeTime$9(number, withoutSuffix, key, isFuture) {
|
|
8149
8242
|
var format = {
|
|
8150
8243
|
m: ['eine Minute', 'einer Minute'],
|
|
8151
8244
|
h: ['eine Stunde', 'einer Stunde'],
|
|
@@ -8195,18 +8288,18 @@
|
|
|
8195
8288
|
past: 'vor %s',
|
|
8196
8289
|
s: 'ein paar Sekunden',
|
|
8197
8290
|
ss: '%d Sekunden',
|
|
8198
|
-
m: processRelativeTime$
|
|
8291
|
+
m: processRelativeTime$9,
|
|
8199
8292
|
mm: '%d Minuten',
|
|
8200
|
-
h: processRelativeTime$
|
|
8293
|
+
h: processRelativeTime$9,
|
|
8201
8294
|
hh: '%d Stunden',
|
|
8202
|
-
d: processRelativeTime$
|
|
8203
|
-
dd: processRelativeTime$
|
|
8204
|
-
w: processRelativeTime$
|
|
8295
|
+
d: processRelativeTime$9,
|
|
8296
|
+
dd: processRelativeTime$9,
|
|
8297
|
+
w: processRelativeTime$9,
|
|
8205
8298
|
ww: '%d Wochen',
|
|
8206
|
-
M: processRelativeTime$
|
|
8207
|
-
MM: processRelativeTime$
|
|
8208
|
-
y: processRelativeTime$
|
|
8209
|
-
yy: processRelativeTime$
|
|
8299
|
+
M: processRelativeTime$9,
|
|
8300
|
+
MM: processRelativeTime$9,
|
|
8301
|
+
y: processRelativeTime$9,
|
|
8302
|
+
yy: processRelativeTime$9,
|
|
8210
8303
|
},
|
|
8211
8304
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
8212
8305
|
ordinal: '%d.',
|
|
@@ -8217,8 +8310,11 @@
|
|
|
8217
8310
|
});
|
|
8218
8311
|
|
|
8219
8312
|
//! moment.js locale configuration
|
|
8313
|
+
//! locale : German (Switzerland) [de-ch]
|
|
8314
|
+
//! author : sschueller : https://github.com/sschueller
|
|
8220
8315
|
|
|
8221
|
-
|
|
8316
|
+
|
|
8317
|
+
function processRelativeTime$8(number, withoutSuffix, key, isFuture) {
|
|
8222
8318
|
var format = {
|
|
8223
8319
|
m: ['eine Minute', 'einer Minute'],
|
|
8224
8320
|
h: ['eine Stunde', 'einer Stunde'],
|
|
@@ -8268,18 +8364,18 @@
|
|
|
8268
8364
|
past: 'vor %s',
|
|
8269
8365
|
s: 'ein paar Sekunden',
|
|
8270
8366
|
ss: '%d Sekunden',
|
|
8271
|
-
m: processRelativeTime$
|
|
8367
|
+
m: processRelativeTime$8,
|
|
8272
8368
|
mm: '%d Minuten',
|
|
8273
|
-
h: processRelativeTime$
|
|
8369
|
+
h: processRelativeTime$8,
|
|
8274
8370
|
hh: '%d Stunden',
|
|
8275
|
-
d: processRelativeTime$
|
|
8276
|
-
dd: processRelativeTime$
|
|
8277
|
-
w: processRelativeTime$
|
|
8371
|
+
d: processRelativeTime$8,
|
|
8372
|
+
dd: processRelativeTime$8,
|
|
8373
|
+
w: processRelativeTime$8,
|
|
8278
8374
|
ww: '%d Wochen',
|
|
8279
|
-
M: processRelativeTime$
|
|
8280
|
-
MM: processRelativeTime$
|
|
8281
|
-
y: processRelativeTime$
|
|
8282
|
-
yy: processRelativeTime$
|
|
8375
|
+
M: processRelativeTime$8,
|
|
8376
|
+
MM: processRelativeTime$8,
|
|
8377
|
+
y: processRelativeTime$8,
|
|
8378
|
+
yy: processRelativeTime$8,
|
|
8283
8379
|
},
|
|
8284
8380
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
8285
8381
|
ordinal: '%d.',
|
|
@@ -8290,8 +8386,13 @@
|
|
|
8290
8386
|
});
|
|
8291
8387
|
|
|
8292
8388
|
//! moment.js locale configuration
|
|
8389
|
+
//! locale : German [de]
|
|
8390
|
+
//! author : lluchs : https://github.com/lluchs
|
|
8391
|
+
//! author: Menelion Elensúle: https://github.com/Oire
|
|
8392
|
+
//! author : Mikolaj Dadela : https://github.com/mik01aj
|
|
8393
|
+
|
|
8293
8394
|
|
|
8294
|
-
function processRelativeTime$
|
|
8395
|
+
function processRelativeTime$7(number, withoutSuffix, key, isFuture) {
|
|
8295
8396
|
var format = {
|
|
8296
8397
|
m: ['eine Minute', 'einer Minute'],
|
|
8297
8398
|
h: ['eine Stunde', 'einer Stunde'],
|
|
@@ -8341,18 +8442,18 @@
|
|
|
8341
8442
|
past: 'vor %s',
|
|
8342
8443
|
s: 'ein paar Sekunden',
|
|
8343
8444
|
ss: '%d Sekunden',
|
|
8344
|
-
m: processRelativeTime$
|
|
8445
|
+
m: processRelativeTime$7,
|
|
8345
8446
|
mm: '%d Minuten',
|
|
8346
|
-
h: processRelativeTime$
|
|
8447
|
+
h: processRelativeTime$7,
|
|
8347
8448
|
hh: '%d Stunden',
|
|
8348
|
-
d: processRelativeTime$
|
|
8349
|
-
dd: processRelativeTime$
|
|
8350
|
-
w: processRelativeTime$
|
|
8449
|
+
d: processRelativeTime$7,
|
|
8450
|
+
dd: processRelativeTime$7,
|
|
8451
|
+
w: processRelativeTime$7,
|
|
8351
8452
|
ww: '%d Wochen',
|
|
8352
|
-
M: processRelativeTime$
|
|
8353
|
-
MM: processRelativeTime$
|
|
8354
|
-
y: processRelativeTime$
|
|
8355
|
-
yy: processRelativeTime$
|
|
8453
|
+
M: processRelativeTime$7,
|
|
8454
|
+
MM: processRelativeTime$7,
|
|
8455
|
+
y: processRelativeTime$7,
|
|
8456
|
+
yy: processRelativeTime$7,
|
|
8356
8457
|
},
|
|
8357
8458
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
8358
8459
|
ordinal: '%d.',
|
|
@@ -8363,8 +8464,11 @@
|
|
|
8363
8464
|
});
|
|
8364
8465
|
|
|
8365
8466
|
//! moment.js locale configuration
|
|
8467
|
+
//! locale : Maldivian [dv]
|
|
8468
|
+
//! author : Jawish Hameed : https://github.com/jawish
|
|
8366
8469
|
|
|
8367
|
-
|
|
8470
|
+
|
|
8471
|
+
var months$6 = [
|
|
8368
8472
|
'ޖެނުއަރީ',
|
|
8369
8473
|
'ފެބްރުއަރީ',
|
|
8370
8474
|
'މާރިޗު',
|
|
@@ -8378,7 +8482,7 @@
|
|
|
8378
8482
|
'ނޮވެމްބަރު',
|
|
8379
8483
|
'ޑިސެމްބަރު',
|
|
8380
8484
|
],
|
|
8381
|
-
weekdays = [
|
|
8485
|
+
weekdays$2 = [
|
|
8382
8486
|
'އާދިއްތަ',
|
|
8383
8487
|
'ހޯމަ',
|
|
8384
8488
|
'އަންގާރަ',
|
|
@@ -8389,10 +8493,10 @@
|
|
|
8389
8493
|
];
|
|
8390
8494
|
|
|
8391
8495
|
hooks.defineLocale('dv', {
|
|
8392
|
-
months: months$
|
|
8393
|
-
monthsShort: months$
|
|
8394
|
-
weekdays: weekdays,
|
|
8395
|
-
weekdaysShort: weekdays,
|
|
8496
|
+
months: months$6,
|
|
8497
|
+
monthsShort: months$6,
|
|
8498
|
+
weekdays: weekdays$2,
|
|
8499
|
+
weekdaysShort: weekdays$2,
|
|
8396
8500
|
weekdaysMin: 'އާދި_ހޯމަ_އަން_ބުދަ_ބުރާ_ހުކު_ހޮނި'.split('_'),
|
|
8397
8501
|
longDateFormat: {
|
|
8398
8502
|
LT: 'HH:mm',
|
|
@@ -8450,8 +8554,11 @@
|
|
|
8450
8554
|
});
|
|
8451
8555
|
|
|
8452
8556
|
//! moment.js locale configuration
|
|
8557
|
+
//! locale : Greek [el]
|
|
8558
|
+
//! author : Aggelos Karalias : https://github.com/mehiel
|
|
8453
8559
|
|
|
8454
|
-
|
|
8560
|
+
|
|
8561
|
+
function isFunction(input) {
|
|
8455
8562
|
return (
|
|
8456
8563
|
(typeof Function !== 'undefined' && input instanceof Function) ||
|
|
8457
8564
|
Object.prototype.toString.call(input) === '[object Function]'
|
|
@@ -8523,7 +8630,7 @@
|
|
|
8523
8630
|
calendar: function (key, mom) {
|
|
8524
8631
|
var output = this._calendarEl[key],
|
|
8525
8632
|
hours = mom && mom.hours();
|
|
8526
|
-
if (isFunction
|
|
8633
|
+
if (isFunction(output)) {
|
|
8527
8634
|
output = output.apply(mom);
|
|
8528
8635
|
}
|
|
8529
8636
|
return output.replace('{}', hours % 12 === 1 ? 'στη' : 'στις');
|
|
@@ -8553,6 +8660,9 @@
|
|
|
8553
8660
|
});
|
|
8554
8661
|
|
|
8555
8662
|
//! moment.js locale configuration
|
|
8663
|
+
//! locale : English (Australia) [en-au]
|
|
8664
|
+
//! author : Jared Morse : https://github.com/jarcoal
|
|
8665
|
+
|
|
8556
8666
|
|
|
8557
8667
|
hooks.defineLocale('en-au', {
|
|
8558
8668
|
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
@@ -8618,6 +8728,9 @@
|
|
|
8618
8728
|
});
|
|
8619
8729
|
|
|
8620
8730
|
//! moment.js locale configuration
|
|
8731
|
+
//! locale : English (Canada) [en-ca]
|
|
8732
|
+
//! author : Jonathan Abourbih : https://github.com/jonbca
|
|
8733
|
+
|
|
8621
8734
|
|
|
8622
8735
|
hooks.defineLocale('en-ca', {
|
|
8623
8736
|
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
@@ -8679,6 +8792,9 @@
|
|
|
8679
8792
|
});
|
|
8680
8793
|
|
|
8681
8794
|
//! moment.js locale configuration
|
|
8795
|
+
//! locale : English (United Kingdom) [en-gb]
|
|
8796
|
+
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
|
8797
|
+
|
|
8682
8798
|
|
|
8683
8799
|
hooks.defineLocale('en-gb', {
|
|
8684
8800
|
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
@@ -8744,6 +8860,9 @@
|
|
|
8744
8860
|
});
|
|
8745
8861
|
|
|
8746
8862
|
//! moment.js locale configuration
|
|
8863
|
+
//! locale : English (Ireland) [en-ie]
|
|
8864
|
+
//! author : Chris Cartlidge : https://github.com/chriscartlidge
|
|
8865
|
+
|
|
8747
8866
|
|
|
8748
8867
|
hooks.defineLocale('en-ie', {
|
|
8749
8868
|
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
@@ -8809,6 +8928,9 @@
|
|
|
8809
8928
|
});
|
|
8810
8929
|
|
|
8811
8930
|
//! moment.js locale configuration
|
|
8931
|
+
//! locale : English (Israel) [en-il]
|
|
8932
|
+
//! author : Chris Gedrim : https://github.com/chrisgedrim
|
|
8933
|
+
|
|
8812
8934
|
|
|
8813
8935
|
hooks.defineLocale('en-il', {
|
|
8814
8936
|
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
@@ -8870,6 +8992,9 @@
|
|
|
8870
8992
|
});
|
|
8871
8993
|
|
|
8872
8994
|
//! moment.js locale configuration
|
|
8995
|
+
//! locale : English (India) [en-in]
|
|
8996
|
+
//! author : Jatin Agrawal : https://github.com/jatinag22
|
|
8997
|
+
|
|
8873
8998
|
|
|
8874
8999
|
hooks.defineLocale('en-in', {
|
|
8875
9000
|
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
@@ -8935,6 +9060,9 @@
|
|
|
8935
9060
|
});
|
|
8936
9061
|
|
|
8937
9062
|
//! moment.js locale configuration
|
|
9063
|
+
//! locale : English (New Zealand) [en-nz]
|
|
9064
|
+
//! author : Luke McGregor : https://github.com/lukemcgregor
|
|
9065
|
+
|
|
8938
9066
|
|
|
8939
9067
|
hooks.defineLocale('en-nz', {
|
|
8940
9068
|
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
@@ -9000,6 +9128,9 @@
|
|
|
9000
9128
|
});
|
|
9001
9129
|
|
|
9002
9130
|
//! moment.js locale configuration
|
|
9131
|
+
//! locale : English (Singapore) [en-sg]
|
|
9132
|
+
//! author : Matthew Castrillon-Madrigal : https://github.com/techdimension
|
|
9133
|
+
|
|
9003
9134
|
|
|
9004
9135
|
hooks.defineLocale('en-sg', {
|
|
9005
9136
|
months: 'January_February_March_April_May_June_July_August_September_October_November_December'.split(
|
|
@@ -9065,6 +9196,12 @@
|
|
|
9065
9196
|
});
|
|
9066
9197
|
|
|
9067
9198
|
//! moment.js locale configuration
|
|
9199
|
+
//! locale : Esperanto [eo]
|
|
9200
|
+
//! author : Colin Dean : https://github.com/colindean
|
|
9201
|
+
//! author : Mia Nordentoft Imperatori : https://github.com/miestasmia
|
|
9202
|
+
//! comment : miestasmia corrected the translation by colindean
|
|
9203
|
+
//! comment : Vivakvo corrected the translation by colindean and miestasmia
|
|
9204
|
+
|
|
9068
9205
|
|
|
9069
9206
|
hooks.defineLocale('eo', {
|
|
9070
9207
|
months: 'januaro_februaro_marto_aprilo_majo_junio_julio_aŭgusto_septembro_oktobro_novembro_decembro'.split(
|
|
@@ -9127,13 +9264,15 @@
|
|
|
9127
9264
|
});
|
|
9128
9265
|
|
|
9129
9266
|
//! moment.js locale configuration
|
|
9267
|
+
//! locale : Spanish (Dominican Republic) [es-do]
|
|
9130
9268
|
|
|
9131
|
-
|
|
9269
|
+
|
|
9270
|
+
var monthsShortDot$3 =
|
|
9132
9271
|
'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
|
9133
9272
|
'_'
|
|
9134
9273
|
),
|
|
9135
|
-
monthsShort$
|
|
9136
|
-
monthsParse$
|
|
9274
|
+
monthsShort$6 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
|
9275
|
+
monthsParse$9 = [
|
|
9137
9276
|
/^ene/i,
|
|
9138
9277
|
/^feb/i,
|
|
9139
9278
|
/^mar/i,
|
|
@@ -9147,7 +9286,7 @@
|
|
|
9147
9286
|
/^nov/i,
|
|
9148
9287
|
/^dic/i,
|
|
9149
9288
|
],
|
|
9150
|
-
monthsRegex$
|
|
9289
|
+
monthsRegex$6 =
|
|
9151
9290
|
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
|
9152
9291
|
|
|
9153
9292
|
hooks.defineLocale('es-do', {
|
|
@@ -9156,22 +9295,22 @@
|
|
|
9156
9295
|
),
|
|
9157
9296
|
monthsShort: function (m, format) {
|
|
9158
9297
|
if (!m) {
|
|
9159
|
-
return monthsShortDot;
|
|
9298
|
+
return monthsShortDot$3;
|
|
9160
9299
|
} else if (/-MMM-/.test(format)) {
|
|
9161
|
-
return monthsShort$
|
|
9300
|
+
return monthsShort$6[m.month()];
|
|
9162
9301
|
} else {
|
|
9163
|
-
return monthsShortDot[m.month()];
|
|
9302
|
+
return monthsShortDot$3[m.month()];
|
|
9164
9303
|
}
|
|
9165
9304
|
},
|
|
9166
|
-
monthsRegex: monthsRegex$
|
|
9167
|
-
monthsShortRegex: monthsRegex$
|
|
9305
|
+
monthsRegex: monthsRegex$6,
|
|
9306
|
+
monthsShortRegex: monthsRegex$6,
|
|
9168
9307
|
monthsStrictRegex:
|
|
9169
9308
|
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
|
9170
9309
|
monthsShortStrictRegex:
|
|
9171
9310
|
/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
9172
|
-
monthsParse: monthsParse$
|
|
9173
|
-
longMonthsParse: monthsParse$
|
|
9174
|
-
shortMonthsParse: monthsParse$
|
|
9311
|
+
monthsParse: monthsParse$9,
|
|
9312
|
+
longMonthsParse: monthsParse$9,
|
|
9313
|
+
shortMonthsParse: monthsParse$9,
|
|
9175
9314
|
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
|
9176
9315
|
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
|
9177
9316
|
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
|
@@ -9233,13 +9372,16 @@
|
|
|
9233
9372
|
});
|
|
9234
9373
|
|
|
9235
9374
|
//! moment.js locale configuration
|
|
9375
|
+
//! locale : Spanish (Mexico) [es-mx]
|
|
9376
|
+
//! author : JC Franco : https://github.com/jcfranco
|
|
9236
9377
|
|
|
9237
|
-
|
|
9378
|
+
|
|
9379
|
+
var monthsShortDot$2 =
|
|
9238
9380
|
'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
|
9239
9381
|
'_'
|
|
9240
9382
|
),
|
|
9241
|
-
monthsShort$
|
|
9242
|
-
monthsParse$
|
|
9383
|
+
monthsShort$5 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
|
9384
|
+
monthsParse$8 = [
|
|
9243
9385
|
/^ene/i,
|
|
9244
9386
|
/^feb/i,
|
|
9245
9387
|
/^mar/i,
|
|
@@ -9253,7 +9395,7 @@
|
|
|
9253
9395
|
/^nov/i,
|
|
9254
9396
|
/^dic/i,
|
|
9255
9397
|
],
|
|
9256
|
-
monthsRegex$
|
|
9398
|
+
monthsRegex$5 =
|
|
9257
9399
|
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
|
9258
9400
|
|
|
9259
9401
|
hooks.defineLocale('es-mx', {
|
|
@@ -9262,22 +9404,22 @@
|
|
|
9262
9404
|
),
|
|
9263
9405
|
monthsShort: function (m, format) {
|
|
9264
9406
|
if (!m) {
|
|
9265
|
-
return monthsShortDot$
|
|
9407
|
+
return monthsShortDot$2;
|
|
9266
9408
|
} else if (/-MMM-/.test(format)) {
|
|
9267
|
-
return monthsShort$
|
|
9409
|
+
return monthsShort$5[m.month()];
|
|
9268
9410
|
} else {
|
|
9269
|
-
return monthsShortDot$
|
|
9411
|
+
return monthsShortDot$2[m.month()];
|
|
9270
9412
|
}
|
|
9271
9413
|
},
|
|
9272
|
-
monthsRegex: monthsRegex$
|
|
9273
|
-
monthsShortRegex: monthsRegex$
|
|
9414
|
+
monthsRegex: monthsRegex$5,
|
|
9415
|
+
monthsShortRegex: monthsRegex$5,
|
|
9274
9416
|
monthsStrictRegex:
|
|
9275
9417
|
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
|
9276
9418
|
monthsShortStrictRegex:
|
|
9277
9419
|
/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
9278
|
-
monthsParse: monthsParse$
|
|
9279
|
-
longMonthsParse: monthsParse$
|
|
9280
|
-
shortMonthsParse: monthsParse$
|
|
9420
|
+
monthsParse: monthsParse$8,
|
|
9421
|
+
longMonthsParse: monthsParse$8,
|
|
9422
|
+
shortMonthsParse: monthsParse$8,
|
|
9281
9423
|
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
|
9282
9424
|
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
|
9283
9425
|
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
|
@@ -9340,13 +9482,17 @@
|
|
|
9340
9482
|
});
|
|
9341
9483
|
|
|
9342
9484
|
//! moment.js locale configuration
|
|
9485
|
+
//! locale : Spanish (United States) [es-us]
|
|
9486
|
+
//! author : bustta : https://github.com/bustta
|
|
9487
|
+
//! author : chrisrodz : https://github.com/chrisrodz
|
|
9343
9488
|
|
|
9344
|
-
|
|
9489
|
+
|
|
9490
|
+
var monthsShortDot$1 =
|
|
9345
9491
|
'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
|
9346
9492
|
'_'
|
|
9347
9493
|
),
|
|
9348
|
-
monthsShort$
|
|
9349
|
-
monthsParse$
|
|
9494
|
+
monthsShort$4 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
|
9495
|
+
monthsParse$7 = [
|
|
9350
9496
|
/^ene/i,
|
|
9351
9497
|
/^feb/i,
|
|
9352
9498
|
/^mar/i,
|
|
@@ -9360,7 +9506,7 @@
|
|
|
9360
9506
|
/^nov/i,
|
|
9361
9507
|
/^dic/i,
|
|
9362
9508
|
],
|
|
9363
|
-
monthsRegex$
|
|
9509
|
+
monthsRegex$4 =
|
|
9364
9510
|
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
|
9365
9511
|
|
|
9366
9512
|
hooks.defineLocale('es-us', {
|
|
@@ -9369,22 +9515,22 @@
|
|
|
9369
9515
|
),
|
|
9370
9516
|
monthsShort: function (m, format) {
|
|
9371
9517
|
if (!m) {
|
|
9372
|
-
return monthsShortDot$
|
|
9518
|
+
return monthsShortDot$1;
|
|
9373
9519
|
} else if (/-MMM-/.test(format)) {
|
|
9374
|
-
return monthsShort$
|
|
9520
|
+
return monthsShort$4[m.month()];
|
|
9375
9521
|
} else {
|
|
9376
|
-
return monthsShortDot$
|
|
9522
|
+
return monthsShortDot$1[m.month()];
|
|
9377
9523
|
}
|
|
9378
9524
|
},
|
|
9379
|
-
monthsRegex: monthsRegex$
|
|
9380
|
-
monthsShortRegex: monthsRegex$
|
|
9525
|
+
monthsRegex: monthsRegex$4,
|
|
9526
|
+
monthsShortRegex: monthsRegex$4,
|
|
9381
9527
|
monthsStrictRegex:
|
|
9382
9528
|
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
|
9383
9529
|
monthsShortStrictRegex:
|
|
9384
9530
|
/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
9385
|
-
monthsParse: monthsParse$
|
|
9386
|
-
longMonthsParse: monthsParse$
|
|
9387
|
-
shortMonthsParse: monthsParse$
|
|
9531
|
+
monthsParse: monthsParse$7,
|
|
9532
|
+
longMonthsParse: monthsParse$7,
|
|
9533
|
+
shortMonthsParse: monthsParse$7,
|
|
9388
9534
|
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
|
9389
9535
|
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
|
9390
9536
|
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
|
@@ -9446,13 +9592,16 @@
|
|
|
9446
9592
|
});
|
|
9447
9593
|
|
|
9448
9594
|
//! moment.js locale configuration
|
|
9595
|
+
//! locale : Spanish [es]
|
|
9596
|
+
//! author : Julio Napurí : https://github.com/julionc
|
|
9449
9597
|
|
|
9450
|
-
|
|
9598
|
+
|
|
9599
|
+
var monthsShortDot =
|
|
9451
9600
|
'ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.'.split(
|
|
9452
9601
|
'_'
|
|
9453
9602
|
),
|
|
9454
|
-
monthsShort$
|
|
9455
|
-
monthsParse$
|
|
9603
|
+
monthsShort$3 = 'ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic'.split('_'),
|
|
9604
|
+
monthsParse$6 = [
|
|
9456
9605
|
/^ene/i,
|
|
9457
9606
|
/^feb/i,
|
|
9458
9607
|
/^mar/i,
|
|
@@ -9466,7 +9615,7 @@
|
|
|
9466
9615
|
/^nov/i,
|
|
9467
9616
|
/^dic/i,
|
|
9468
9617
|
],
|
|
9469
|
-
monthsRegex$
|
|
9618
|
+
monthsRegex$3 =
|
|
9470
9619
|
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre|ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i;
|
|
9471
9620
|
|
|
9472
9621
|
hooks.defineLocale('es', {
|
|
@@ -9475,22 +9624,22 @@
|
|
|
9475
9624
|
),
|
|
9476
9625
|
monthsShort: function (m, format) {
|
|
9477
9626
|
if (!m) {
|
|
9478
|
-
return monthsShortDot
|
|
9627
|
+
return monthsShortDot;
|
|
9479
9628
|
} else if (/-MMM-/.test(format)) {
|
|
9480
|
-
return monthsShort$
|
|
9629
|
+
return monthsShort$3[m.month()];
|
|
9481
9630
|
} else {
|
|
9482
|
-
return monthsShortDot
|
|
9631
|
+
return monthsShortDot[m.month()];
|
|
9483
9632
|
}
|
|
9484
9633
|
},
|
|
9485
|
-
monthsRegex: monthsRegex$
|
|
9486
|
-
monthsShortRegex: monthsRegex$
|
|
9634
|
+
monthsRegex: monthsRegex$3,
|
|
9635
|
+
monthsShortRegex: monthsRegex$3,
|
|
9487
9636
|
monthsStrictRegex:
|
|
9488
9637
|
/^(enero|febrero|marzo|abril|mayo|junio|julio|agosto|septiembre|octubre|noviembre|diciembre)/i,
|
|
9489
9638
|
monthsShortStrictRegex:
|
|
9490
9639
|
/^(ene\.?|feb\.?|mar\.?|abr\.?|may\.?|jun\.?|jul\.?|ago\.?|sep\.?|oct\.?|nov\.?|dic\.?)/i,
|
|
9491
|
-
monthsParse: monthsParse$
|
|
9492
|
-
longMonthsParse: monthsParse$
|
|
9493
|
-
shortMonthsParse: monthsParse$
|
|
9640
|
+
monthsParse: monthsParse$6,
|
|
9641
|
+
longMonthsParse: monthsParse$6,
|
|
9642
|
+
shortMonthsParse: monthsParse$6,
|
|
9494
9643
|
weekdays: 'domingo_lunes_martes_miércoles_jueves_viernes_sábado'.split('_'),
|
|
9495
9644
|
weekdaysShort: 'dom._lun._mar._mié._jue._vie._sáb.'.split('_'),
|
|
9496
9645
|
weekdaysMin: 'do_lu_ma_mi_ju_vi_sá'.split('_'),
|
|
@@ -9553,8 +9702,12 @@
|
|
|
9553
9702
|
});
|
|
9554
9703
|
|
|
9555
9704
|
//! moment.js locale configuration
|
|
9705
|
+
//! locale : Estonian [et]
|
|
9706
|
+
//! author : Henry Kehlmann : https://github.com/madhenry
|
|
9707
|
+
//! improvements : Illimar Tambek : https://github.com/ragulka
|
|
9556
9708
|
|
|
9557
|
-
|
|
9709
|
+
|
|
9710
|
+
function processRelativeTime$6(number, withoutSuffix, key, isFuture) {
|
|
9558
9711
|
var format = {
|
|
9559
9712
|
s: ['mõne sekundi', 'mõni sekund', 'paar sekundit'],
|
|
9560
9713
|
ss: [number + 'sekundi', number + 'sekundit'],
|
|
@@ -9605,18 +9758,18 @@
|
|
|
9605
9758
|
relativeTime: {
|
|
9606
9759
|
future: '%s pärast',
|
|
9607
9760
|
past: '%s tagasi',
|
|
9608
|
-
s: processRelativeTime$
|
|
9609
|
-
ss: processRelativeTime$
|
|
9610
|
-
m: processRelativeTime$
|
|
9611
|
-
mm: processRelativeTime$
|
|
9612
|
-
h: processRelativeTime$
|
|
9613
|
-
hh: processRelativeTime$
|
|
9614
|
-
d: processRelativeTime$
|
|
9761
|
+
s: processRelativeTime$6,
|
|
9762
|
+
ss: processRelativeTime$6,
|
|
9763
|
+
m: processRelativeTime$6,
|
|
9764
|
+
mm: processRelativeTime$6,
|
|
9765
|
+
h: processRelativeTime$6,
|
|
9766
|
+
hh: processRelativeTime$6,
|
|
9767
|
+
d: processRelativeTime$6,
|
|
9615
9768
|
dd: '%d päeva',
|
|
9616
|
-
M: processRelativeTime$
|
|
9617
|
-
MM: processRelativeTime$
|
|
9618
|
-
y: processRelativeTime$
|
|
9619
|
-
yy: processRelativeTime$
|
|
9769
|
+
M: processRelativeTime$6,
|
|
9770
|
+
MM: processRelativeTime$6,
|
|
9771
|
+
y: processRelativeTime$6,
|
|
9772
|
+
yy: processRelativeTime$6,
|
|
9620
9773
|
},
|
|
9621
9774
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
9622
9775
|
ordinal: '%d.',
|
|
@@ -9627,6 +9780,9 @@
|
|
|
9627
9780
|
});
|
|
9628
9781
|
|
|
9629
9782
|
//! moment.js locale configuration
|
|
9783
|
+
//! locale : Basque [eu]
|
|
9784
|
+
//! author : Eneko Illarramendi : https://github.com/eillarra
|
|
9785
|
+
|
|
9630
9786
|
|
|
9631
9787
|
hooks.defineLocale('eu', {
|
|
9632
9788
|
months: 'urtarrila_otsaila_martxoa_apirila_maiatza_ekaina_uztaila_abuztua_iraila_urria_azaroa_abendua'.split(
|
|
@@ -9689,8 +9845,11 @@
|
|
|
9689
9845
|
});
|
|
9690
9846
|
|
|
9691
9847
|
//! moment.js locale configuration
|
|
9848
|
+
//! locale : Persian [fa]
|
|
9849
|
+
//! author : Ebrahim Byagowi : https://github.com/ebraminio
|
|
9692
9850
|
|
|
9693
|
-
|
|
9851
|
+
|
|
9852
|
+
var symbolMap$a = {
|
|
9694
9853
|
1: '۱',
|
|
9695
9854
|
2: '۲',
|
|
9696
9855
|
3: '۳',
|
|
@@ -9702,7 +9861,7 @@
|
|
|
9702
9861
|
9: '۹',
|
|
9703
9862
|
0: '۰',
|
|
9704
9863
|
},
|
|
9705
|
-
numberMap$
|
|
9864
|
+
numberMap$a = {
|
|
9706
9865
|
'۱': '1',
|
|
9707
9866
|
'۲': '2',
|
|
9708
9867
|
'۳': '3',
|
|
@@ -9779,14 +9938,14 @@
|
|
|
9779
9938
|
preparse: function (string) {
|
|
9780
9939
|
return string
|
|
9781
9940
|
.replace(/[۰-۹]/g, function (match) {
|
|
9782
|
-
return numberMap$
|
|
9941
|
+
return numberMap$a[match];
|
|
9783
9942
|
})
|
|
9784
9943
|
.replace(/،/g, ',');
|
|
9785
9944
|
},
|
|
9786
9945
|
postformat: function (string) {
|
|
9787
9946
|
return string
|
|
9788
9947
|
.replace(/\d/g, function (match) {
|
|
9789
|
-
return symbolMap$
|
|
9948
|
+
return symbolMap$a[match];
|
|
9790
9949
|
})
|
|
9791
9950
|
.replace(/,/g, '،');
|
|
9792
9951
|
},
|
|
@@ -9799,6 +9958,9 @@
|
|
|
9799
9958
|
});
|
|
9800
9959
|
|
|
9801
9960
|
//! moment.js locale configuration
|
|
9961
|
+
//! locale : Finnish [fi]
|
|
9962
|
+
//! author : Tarmo Aidantausta : https://github.com/bleadof
|
|
9963
|
+
|
|
9802
9964
|
|
|
9803
9965
|
var numbersPast =
|
|
9804
9966
|
'nolla yksi kaksi kolme neljä viisi kuusi seitsemän kahdeksan yhdeksän'.split(
|
|
@@ -9816,7 +9978,7 @@
|
|
|
9816
9978
|
numbersPast[8],
|
|
9817
9979
|
numbersPast[9],
|
|
9818
9980
|
];
|
|
9819
|
-
function translate$
|
|
9981
|
+
function translate$8(number, withoutSuffix, key, isFuture) {
|
|
9820
9982
|
var result = '';
|
|
9821
9983
|
switch (key) {
|
|
9822
9984
|
case 's':
|
|
@@ -9898,18 +10060,18 @@
|
|
|
9898
10060
|
relativeTime: {
|
|
9899
10061
|
future: '%s päästä',
|
|
9900
10062
|
past: '%s sitten',
|
|
9901
|
-
s: translate$
|
|
9902
|
-
ss: translate$
|
|
9903
|
-
m: translate$
|
|
9904
|
-
mm: translate$
|
|
9905
|
-
h: translate$
|
|
9906
|
-
hh: translate$
|
|
9907
|
-
d: translate$
|
|
9908
|
-
dd: translate$
|
|
9909
|
-
M: translate$
|
|
9910
|
-
MM: translate$
|
|
9911
|
-
y: translate$
|
|
9912
|
-
yy: translate$
|
|
10063
|
+
s: translate$8,
|
|
10064
|
+
ss: translate$8,
|
|
10065
|
+
m: translate$8,
|
|
10066
|
+
mm: translate$8,
|
|
10067
|
+
h: translate$8,
|
|
10068
|
+
hh: translate$8,
|
|
10069
|
+
d: translate$8,
|
|
10070
|
+
dd: translate$8,
|
|
10071
|
+
M: translate$8,
|
|
10072
|
+
MM: translate$8,
|
|
10073
|
+
y: translate$8,
|
|
10074
|
+
yy: translate$8,
|
|
9913
10075
|
},
|
|
9914
10076
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
9915
10077
|
ordinal: '%d.',
|
|
@@ -9920,6 +10082,10 @@
|
|
|
9920
10082
|
});
|
|
9921
10083
|
|
|
9922
10084
|
//! moment.js locale configuration
|
|
10085
|
+
//! locale : Filipino [fil]
|
|
10086
|
+
//! author : Dan Hagman : https://github.com/hagmandan
|
|
10087
|
+
//! author : Matthew Co : https://github.com/matthewdeeco
|
|
10088
|
+
|
|
9923
10089
|
|
|
9924
10090
|
hooks.defineLocale('fil', {
|
|
9925
10091
|
months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
|
|
@@ -9974,6 +10140,10 @@
|
|
|
9974
10140
|
});
|
|
9975
10141
|
|
|
9976
10142
|
//! moment.js locale configuration
|
|
10143
|
+
//! locale : Faroese [fo]
|
|
10144
|
+
//! author : Ragnar Johannesen : https://github.com/ragnar123
|
|
10145
|
+
//! author : Kristian Sakarisson : https://github.com/sakarisson
|
|
10146
|
+
|
|
9977
10147
|
|
|
9978
10148
|
hooks.defineLocale('fo', {
|
|
9979
10149
|
months: 'januar_februar_mars_apríl_mai_juni_juli_august_september_oktober_november_desember'.split(
|
|
@@ -10027,6 +10197,9 @@
|
|
|
10027
10197
|
});
|
|
10028
10198
|
|
|
10029
10199
|
//! moment.js locale configuration
|
|
10200
|
+
//! locale : French (Canada) [fr-ca]
|
|
10201
|
+
//! author : Jonathan Abourbih : https://github.com/jonbca
|
|
10202
|
+
|
|
10030
10203
|
|
|
10031
10204
|
hooks.defineLocale('fr-ca', {
|
|
10032
10205
|
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
|
|
@@ -10094,6 +10267,9 @@
|
|
|
10094
10267
|
});
|
|
10095
10268
|
|
|
10096
10269
|
//! moment.js locale configuration
|
|
10270
|
+
//! locale : French (Switzerland) [fr-ch]
|
|
10271
|
+
//! author : Gaspard Bucher : https://github.com/gaspard
|
|
10272
|
+
|
|
10097
10273
|
|
|
10098
10274
|
hooks.defineLocale('fr-ch', {
|
|
10099
10275
|
months: 'janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre'.split(
|
|
@@ -10165,14 +10341,17 @@
|
|
|
10165
10341
|
});
|
|
10166
10342
|
|
|
10167
10343
|
//! moment.js locale configuration
|
|
10344
|
+
//! locale : French [fr]
|
|
10345
|
+
//! author : John Fischer : https://github.com/jfroffice
|
|
10168
10346
|
|
|
10169
|
-
|
|
10347
|
+
|
|
10348
|
+
var monthsStrictRegex =
|
|
10170
10349
|
/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,
|
|
10171
|
-
monthsShortStrictRegex
|
|
10350
|
+
monthsShortStrictRegex =
|
|
10172
10351
|
/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,
|
|
10173
|
-
monthsRegex$
|
|
10352
|
+
monthsRegex$2 =
|
|
10174
10353
|
/(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,
|
|
10175
|
-
monthsParse$
|
|
10354
|
+
monthsParse$5 = [
|
|
10176
10355
|
/^janv/i,
|
|
10177
10356
|
/^févr/i,
|
|
10178
10357
|
/^mars/i,
|
|
@@ -10195,13 +10374,13 @@
|
|
|
10195
10374
|
'janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.'.split(
|
|
10196
10375
|
'_'
|
|
10197
10376
|
),
|
|
10198
|
-
monthsRegex: monthsRegex$
|
|
10199
|
-
monthsShortRegex: monthsRegex$
|
|
10200
|
-
monthsStrictRegex: monthsStrictRegex
|
|
10201
|
-
monthsShortStrictRegex: monthsShortStrictRegex
|
|
10202
|
-
monthsParse: monthsParse$
|
|
10203
|
-
longMonthsParse: monthsParse$
|
|
10204
|
-
shortMonthsParse: monthsParse$
|
|
10377
|
+
monthsRegex: monthsRegex$2,
|
|
10378
|
+
monthsShortRegex: monthsRegex$2,
|
|
10379
|
+
monthsStrictRegex: monthsStrictRegex,
|
|
10380
|
+
monthsShortStrictRegex: monthsShortStrictRegex,
|
|
10381
|
+
monthsParse: monthsParse$5,
|
|
10382
|
+
longMonthsParse: monthsParse$5,
|
|
10383
|
+
shortMonthsParse: monthsParse$5,
|
|
10205
10384
|
weekdays: 'dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi'.split('_'),
|
|
10206
10385
|
weekdaysShort: 'dim._lun._mar._mer._jeu._ven._sam.'.split('_'),
|
|
10207
10386
|
weekdaysMin: 'di_lu_ma_me_je_ve_sa'.split('_'),
|
|
@@ -10270,10 +10449,13 @@
|
|
|
10270
10449
|
});
|
|
10271
10450
|
|
|
10272
10451
|
//! moment.js locale configuration
|
|
10452
|
+
//! locale : Frisian [fy]
|
|
10453
|
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
|
10273
10454
|
|
|
10274
|
-
|
|
10455
|
+
|
|
10456
|
+
var monthsShortWithDots$2 =
|
|
10275
10457
|
'jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.'.split('_'),
|
|
10276
|
-
monthsShortWithoutDots =
|
|
10458
|
+
monthsShortWithoutDots$2 =
|
|
10277
10459
|
'jan_feb_mrt_apr_mai_jun_jul_aug_sep_okt_nov_des'.split('_');
|
|
10278
10460
|
|
|
10279
10461
|
hooks.defineLocale('fy', {
|
|
@@ -10282,11 +10464,11 @@
|
|
|
10282
10464
|
),
|
|
10283
10465
|
monthsShort: function (m, format) {
|
|
10284
10466
|
if (!m) {
|
|
10285
|
-
return monthsShortWithDots;
|
|
10467
|
+
return monthsShortWithDots$2;
|
|
10286
10468
|
} else if (/-MMM-/.test(format)) {
|
|
10287
|
-
return monthsShortWithoutDots[m.month()];
|
|
10469
|
+
return monthsShortWithoutDots$2[m.month()];
|
|
10288
10470
|
} else {
|
|
10289
|
-
return monthsShortWithDots[m.month()];
|
|
10471
|
+
return monthsShortWithDots$2[m.month()];
|
|
10290
10472
|
}
|
|
10291
10473
|
},
|
|
10292
10474
|
monthsParseExact: true,
|
|
@@ -10342,8 +10524,11 @@
|
|
|
10342
10524
|
});
|
|
10343
10525
|
|
|
10344
10526
|
//! moment.js locale configuration
|
|
10527
|
+
//! locale : Irish or Irish Gaelic [ga]
|
|
10528
|
+
//! author : André Silva : https://github.com/askpt
|
|
10345
10529
|
|
|
10346
|
-
|
|
10530
|
+
|
|
10531
|
+
var months$5 = [
|
|
10347
10532
|
'Eanáir',
|
|
10348
10533
|
'Feabhra',
|
|
10349
10534
|
'Márta',
|
|
@@ -10357,7 +10542,7 @@
|
|
|
10357
10542
|
'Samhain',
|
|
10358
10543
|
'Nollaig',
|
|
10359
10544
|
],
|
|
10360
|
-
monthsShort$
|
|
10545
|
+
monthsShort$2 = [
|
|
10361
10546
|
'Ean',
|
|
10362
10547
|
'Feabh',
|
|
10363
10548
|
'Márt',
|
|
@@ -10380,16 +10565,16 @@
|
|
|
10380
10565
|
'Dé hAoine',
|
|
10381
10566
|
'Dé Sathairn',
|
|
10382
10567
|
],
|
|
10383
|
-
weekdaysShort = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
|
|
10384
|
-
weekdaysMin = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
|
|
10568
|
+
weekdaysShort$1 = ['Domh', 'Luan', 'Máirt', 'Céad', 'Déar', 'Aoine', 'Sath'],
|
|
10569
|
+
weekdaysMin$1 = ['Do', 'Lu', 'Má', 'Cé', 'Dé', 'A', 'Sa'];
|
|
10385
10570
|
|
|
10386
10571
|
hooks.defineLocale('ga', {
|
|
10387
|
-
months: months$
|
|
10388
|
-
monthsShort: monthsShort$
|
|
10572
|
+
months: months$5,
|
|
10573
|
+
monthsShort: monthsShort$2,
|
|
10389
10574
|
monthsParseExact: true,
|
|
10390
10575
|
weekdays: weekdays$1,
|
|
10391
|
-
weekdaysShort: weekdaysShort,
|
|
10392
|
-
weekdaysMin: weekdaysMin,
|
|
10576
|
+
weekdaysShort: weekdaysShort$1,
|
|
10577
|
+
weekdaysMin: weekdaysMin$1,
|
|
10393
10578
|
longDateFormat: {
|
|
10394
10579
|
LT: 'HH:mm',
|
|
10395
10580
|
LTS: 'HH:mm:ss',
|
|
@@ -10434,8 +10619,11 @@
|
|
|
10434
10619
|
});
|
|
10435
10620
|
|
|
10436
10621
|
//! moment.js locale configuration
|
|
10622
|
+
//! locale : Scottish Gaelic [gd]
|
|
10623
|
+
//! author : Jon Ashdown : https://github.com/jonashdown
|
|
10437
10624
|
|
|
10438
|
-
|
|
10625
|
+
|
|
10626
|
+
var months$4 = [
|
|
10439
10627
|
'Am Faoilleach',
|
|
10440
10628
|
'An Gearran',
|
|
10441
10629
|
'Am Màrt',
|
|
@@ -10449,7 +10637,7 @@
|
|
|
10449
10637
|
'An t-Samhain',
|
|
10450
10638
|
'An Dùbhlachd',
|
|
10451
10639
|
],
|
|
10452
|
-
monthsShort$
|
|
10640
|
+
monthsShort$1 = [
|
|
10453
10641
|
'Faoi',
|
|
10454
10642
|
'Gear',
|
|
10455
10643
|
'Màrt',
|
|
@@ -10463,7 +10651,7 @@
|
|
|
10463
10651
|
'Samh',
|
|
10464
10652
|
'Dùbh',
|
|
10465
10653
|
],
|
|
10466
|
-
weekdays
|
|
10654
|
+
weekdays = [
|
|
10467
10655
|
'Didòmhnaich',
|
|
10468
10656
|
'Diluain',
|
|
10469
10657
|
'Dimàirt',
|
|
@@ -10472,16 +10660,16 @@
|
|
|
10472
10660
|
'Dihaoine',
|
|
10473
10661
|
'Disathairne',
|
|
10474
10662
|
],
|
|
10475
|
-
weekdaysShort
|
|
10476
|
-
weekdaysMin
|
|
10663
|
+
weekdaysShort = ['Did', 'Dil', 'Dim', 'Dic', 'Dia', 'Dih', 'Dis'],
|
|
10664
|
+
weekdaysMin = ['Dò', 'Lu', 'Mà', 'Ci', 'Ar', 'Ha', 'Sa'];
|
|
10477
10665
|
|
|
10478
10666
|
hooks.defineLocale('gd', {
|
|
10479
|
-
months: months$
|
|
10480
|
-
monthsShort: monthsShort$
|
|
10667
|
+
months: months$4,
|
|
10668
|
+
monthsShort: monthsShort$1,
|
|
10481
10669
|
monthsParseExact: true,
|
|
10482
|
-
weekdays: weekdays
|
|
10483
|
-
weekdaysShort: weekdaysShort
|
|
10484
|
-
weekdaysMin: weekdaysMin
|
|
10670
|
+
weekdays: weekdays,
|
|
10671
|
+
weekdaysShort: weekdaysShort,
|
|
10672
|
+
weekdaysMin: weekdaysMin,
|
|
10485
10673
|
longDateFormat: {
|
|
10486
10674
|
LT: 'HH:mm',
|
|
10487
10675
|
LTS: 'HH:mm:ss',
|
|
@@ -10526,6 +10714,9 @@
|
|
|
10526
10714
|
});
|
|
10527
10715
|
|
|
10528
10716
|
//! moment.js locale configuration
|
|
10717
|
+
//! locale : Galician [gl]
|
|
10718
|
+
//! author : Juan G. Hurtado : https://github.com/juanghurtado
|
|
10719
|
+
|
|
10529
10720
|
|
|
10530
10721
|
hooks.defineLocale('gl', {
|
|
10531
10722
|
months: 'xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro'.split(
|
|
@@ -10598,6 +10789,9 @@
|
|
|
10598
10789
|
});
|
|
10599
10790
|
|
|
10600
10791
|
//! moment.js locale configuration
|
|
10792
|
+
//! locale : Konkani Devanagari script [gom-deva]
|
|
10793
|
+
//! author : The Discoverer : https://github.com/WikiDiscoverer
|
|
10794
|
+
|
|
10601
10795
|
|
|
10602
10796
|
function processRelativeTime$5(number, withoutSuffix, key, isFuture) {
|
|
10603
10797
|
var format = {
|
|
@@ -10721,8 +10915,11 @@
|
|
|
10721
10915
|
});
|
|
10722
10916
|
|
|
10723
10917
|
//! moment.js locale configuration
|
|
10918
|
+
//! locale : Konkani Latin script [gom-latn]
|
|
10919
|
+
//! author : The Discoverer : https://github.com/WikiDiscoverer
|
|
10724
10920
|
|
|
10725
|
-
|
|
10921
|
+
|
|
10922
|
+
function processRelativeTime$4(number, withoutSuffix, key, isFuture) {
|
|
10726
10923
|
var format = {
|
|
10727
10924
|
s: ['thoddea sekondamni', 'thodde sekond'],
|
|
10728
10925
|
ss: [number + ' sekondamni', number + ' sekond'],
|
|
@@ -10778,18 +10975,18 @@
|
|
|
10778
10975
|
relativeTime: {
|
|
10779
10976
|
future: '%s',
|
|
10780
10977
|
past: '%s adim',
|
|
10781
|
-
s: processRelativeTime$
|
|
10782
|
-
ss: processRelativeTime$
|
|
10783
|
-
m: processRelativeTime$
|
|
10784
|
-
mm: processRelativeTime$
|
|
10785
|
-
h: processRelativeTime$
|
|
10786
|
-
hh: processRelativeTime$
|
|
10787
|
-
d: processRelativeTime$
|
|
10788
|
-
dd: processRelativeTime$
|
|
10789
|
-
M: processRelativeTime$
|
|
10790
|
-
MM: processRelativeTime$
|
|
10791
|
-
y: processRelativeTime$
|
|
10792
|
-
yy: processRelativeTime$
|
|
10978
|
+
s: processRelativeTime$4,
|
|
10979
|
+
ss: processRelativeTime$4,
|
|
10980
|
+
m: processRelativeTime$4,
|
|
10981
|
+
mm: processRelativeTime$4,
|
|
10982
|
+
h: processRelativeTime$4,
|
|
10983
|
+
hh: processRelativeTime$4,
|
|
10984
|
+
d: processRelativeTime$4,
|
|
10985
|
+
dd: processRelativeTime$4,
|
|
10986
|
+
M: processRelativeTime$4,
|
|
10987
|
+
MM: processRelativeTime$4,
|
|
10988
|
+
y: processRelativeTime$4,
|
|
10989
|
+
yy: processRelativeTime$4,
|
|
10793
10990
|
},
|
|
10794
10991
|
dayOfMonthOrdinalParse: /\d{1,2}(er)/,
|
|
10795
10992
|
ordinal: function (number, period) {
|
|
@@ -10842,8 +11039,11 @@
|
|
|
10842
11039
|
});
|
|
10843
11040
|
|
|
10844
11041
|
//! moment.js locale configuration
|
|
11042
|
+
//! locale : Gujarati [gu]
|
|
11043
|
+
//! author : Kaushik Thanki : https://github.com/Kaushik1987
|
|
10845
11044
|
|
|
10846
|
-
|
|
11045
|
+
|
|
11046
|
+
var symbolMap$9 = {
|
|
10847
11047
|
1: '૧',
|
|
10848
11048
|
2: '૨',
|
|
10849
11049
|
3: '૩',
|
|
@@ -10855,7 +11055,7 @@
|
|
|
10855
11055
|
9: '૯',
|
|
10856
11056
|
0: '૦',
|
|
10857
11057
|
},
|
|
10858
|
-
numberMap$
|
|
11058
|
+
numberMap$9 = {
|
|
10859
11059
|
'૧': '1',
|
|
10860
11060
|
'૨': '2',
|
|
10861
11061
|
'૩': '3',
|
|
@@ -10916,12 +11116,12 @@
|
|
|
10916
11116
|
},
|
|
10917
11117
|
preparse: function (string) {
|
|
10918
11118
|
return string.replace(/[૧૨૩૪૫૬૭૮૯૦]/g, function (match) {
|
|
10919
|
-
return numberMap$
|
|
11119
|
+
return numberMap$9[match];
|
|
10920
11120
|
});
|
|
10921
11121
|
},
|
|
10922
11122
|
postformat: function (string) {
|
|
10923
11123
|
return string.replace(/\d/g, function (match) {
|
|
10924
|
-
return symbolMap$
|
|
11124
|
+
return symbolMap$9[match];
|
|
10925
11125
|
});
|
|
10926
11126
|
},
|
|
10927
11127
|
// Gujarati notation for meridiems are quite fuzzy in practice. While there exists
|
|
@@ -10961,6 +11161,11 @@
|
|
|
10961
11161
|
});
|
|
10962
11162
|
|
|
10963
11163
|
//! moment.js locale configuration
|
|
11164
|
+
//! locale : Hebrew [he]
|
|
11165
|
+
//! author : Tomer Cohen : https://github.com/tomer
|
|
11166
|
+
//! author : Moshe Simantov : https://github.com/DevelopmentIL
|
|
11167
|
+
//! author : Tal Ater : https://github.com/TalAter
|
|
11168
|
+
|
|
10964
11169
|
|
|
10965
11170
|
hooks.defineLocale('he', {
|
|
10966
11171
|
months: 'ינואר_פברואר_מרץ_אפריל_מאי_יוני_יולי_אוגוסט_ספטמבר_אוקטובר_נובמבר_דצמבר'.split(
|
|
@@ -11050,8 +11255,11 @@
|
|
|
11050
11255
|
});
|
|
11051
11256
|
|
|
11052
11257
|
//! moment.js locale configuration
|
|
11258
|
+
//! locale : Hindi [hi]
|
|
11259
|
+
//! author : Mayank Singhal : https://github.com/mayanksinghal
|
|
11053
11260
|
|
|
11054
|
-
|
|
11261
|
+
|
|
11262
|
+
var symbolMap$8 = {
|
|
11055
11263
|
1: '१',
|
|
11056
11264
|
2: '२',
|
|
11057
11265
|
3: '३',
|
|
@@ -11075,7 +11283,7 @@
|
|
|
11075
11283
|
'९': '9',
|
|
11076
11284
|
'०': '0',
|
|
11077
11285
|
},
|
|
11078
|
-
monthsParse$
|
|
11286
|
+
monthsParse$4 = [
|
|
11079
11287
|
/^जन/i,
|
|
11080
11288
|
/^फ़र|फर/i,
|
|
11081
11289
|
/^मार्च/i,
|
|
@@ -11128,8 +11336,8 @@
|
|
|
11128
11336
|
LLLL: 'dddd, D MMMM YYYY, A h:mm बजे',
|
|
11129
11337
|
},
|
|
11130
11338
|
|
|
11131
|
-
monthsParse: monthsParse$
|
|
11132
|
-
longMonthsParse: monthsParse$
|
|
11339
|
+
monthsParse: monthsParse$4,
|
|
11340
|
+
longMonthsParse: monthsParse$4,
|
|
11133
11341
|
shortMonthsParse: shortMonthsParse,
|
|
11134
11342
|
|
|
11135
11343
|
monthsRegex:
|
|
@@ -11175,7 +11383,7 @@
|
|
|
11175
11383
|
},
|
|
11176
11384
|
postformat: function (string) {
|
|
11177
11385
|
return string.replace(/\d/g, function (match) {
|
|
11178
|
-
return symbolMap$
|
|
11386
|
+
return symbolMap$8[match];
|
|
11179
11387
|
});
|
|
11180
11388
|
},
|
|
11181
11389
|
// Hindi notation for meridiems are quite fuzzy in practice. While there exists
|
|
@@ -11215,8 +11423,11 @@
|
|
|
11215
11423
|
});
|
|
11216
11424
|
|
|
11217
11425
|
//! moment.js locale configuration
|
|
11426
|
+
//! locale : Croatian [hr]
|
|
11427
|
+
//! author : Bojan Marković : https://github.com/bmarkovic
|
|
11428
|
+
|
|
11218
11429
|
|
|
11219
|
-
function translate$
|
|
11430
|
+
function translate$7(number, withoutSuffix, key) {
|
|
11220
11431
|
var result = number + ' ';
|
|
11221
11432
|
switch (key) {
|
|
11222
11433
|
case 'ss':
|
|
@@ -11347,17 +11558,17 @@
|
|
|
11347
11558
|
future: 'za %s',
|
|
11348
11559
|
past: 'prije %s',
|
|
11349
11560
|
s: 'par sekundi',
|
|
11350
|
-
ss: translate$
|
|
11351
|
-
m: translate$
|
|
11352
|
-
mm: translate$
|
|
11353
|
-
h: translate$
|
|
11354
|
-
hh: translate$
|
|
11561
|
+
ss: translate$7,
|
|
11562
|
+
m: translate$7,
|
|
11563
|
+
mm: translate$7,
|
|
11564
|
+
h: translate$7,
|
|
11565
|
+
hh: translate$7,
|
|
11355
11566
|
d: 'dan',
|
|
11356
|
-
dd: translate$
|
|
11567
|
+
dd: translate$7,
|
|
11357
11568
|
M: 'mjesec',
|
|
11358
|
-
MM: translate$
|
|
11569
|
+
MM: translate$7,
|
|
11359
11570
|
y: 'godinu',
|
|
11360
|
-
yy: translate$
|
|
11571
|
+
yy: translate$7,
|
|
11361
11572
|
},
|
|
11362
11573
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
11363
11574
|
ordinal: '%d.',
|
|
@@ -11368,10 +11579,14 @@
|
|
|
11368
11579
|
});
|
|
11369
11580
|
|
|
11370
11581
|
//! moment.js locale configuration
|
|
11582
|
+
//! locale : Hungarian [hu]
|
|
11583
|
+
//! author : Adam Brunner : https://github.com/adambrunner
|
|
11584
|
+
//! author : Peter Viszt : https://github.com/passatgt
|
|
11585
|
+
|
|
11371
11586
|
|
|
11372
11587
|
var weekEndings =
|
|
11373
11588
|
'vasárnap hétfőn kedden szerdán csütörtökön pénteken szombaton'.split(' ');
|
|
11374
|
-
function translate$
|
|
11589
|
+
function translate$6(number, withoutSuffix, key, isFuture) {
|
|
11375
11590
|
var num = number;
|
|
11376
11591
|
switch (key) {
|
|
11377
11592
|
case 's':
|
|
@@ -11460,18 +11675,18 @@
|
|
|
11460
11675
|
relativeTime: {
|
|
11461
11676
|
future: '%s múlva',
|
|
11462
11677
|
past: '%s',
|
|
11463
|
-
s: translate$
|
|
11464
|
-
ss: translate$
|
|
11465
|
-
m: translate$
|
|
11466
|
-
mm: translate$
|
|
11467
|
-
h: translate$
|
|
11468
|
-
hh: translate$
|
|
11469
|
-
d: translate$
|
|
11470
|
-
dd: translate$
|
|
11471
|
-
M: translate$
|
|
11472
|
-
MM: translate$
|
|
11473
|
-
y: translate$
|
|
11474
|
-
yy: translate$
|
|
11678
|
+
s: translate$6,
|
|
11679
|
+
ss: translate$6,
|
|
11680
|
+
m: translate$6,
|
|
11681
|
+
mm: translate$6,
|
|
11682
|
+
h: translate$6,
|
|
11683
|
+
hh: translate$6,
|
|
11684
|
+
d: translate$6,
|
|
11685
|
+
dd: translate$6,
|
|
11686
|
+
M: translate$6,
|
|
11687
|
+
MM: translate$6,
|
|
11688
|
+
y: translate$6,
|
|
11689
|
+
yy: translate$6,
|
|
11475
11690
|
},
|
|
11476
11691
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
11477
11692
|
ordinal: '%d.',
|
|
@@ -11482,6 +11697,9 @@
|
|
|
11482
11697
|
});
|
|
11483
11698
|
|
|
11484
11699
|
//! moment.js locale configuration
|
|
11700
|
+
//! locale : Armenian [hy-am]
|
|
11701
|
+
//! author : Armendarabyan : https://github.com/armendarabyan
|
|
11702
|
+
|
|
11485
11703
|
|
|
11486
11704
|
hooks.defineLocale('hy-am', {
|
|
11487
11705
|
months: {
|
|
@@ -11573,6 +11791,10 @@
|
|
|
11573
11791
|
});
|
|
11574
11792
|
|
|
11575
11793
|
//! moment.js locale configuration
|
|
11794
|
+
//! locale : Indonesian [id]
|
|
11795
|
+
//! author : Mohammad Satrio Utomo : https://github.com/tyok
|
|
11796
|
+
//! reference: http://id.wikisource.org/wiki/Pedoman_Umum_Ejaan_Bahasa_Indonesia_yang_Disempurnakan
|
|
11797
|
+
|
|
11576
11798
|
|
|
11577
11799
|
hooks.defineLocale('id', {
|
|
11578
11800
|
months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_November_Desember'.split(
|
|
@@ -11645,8 +11867,11 @@
|
|
|
11645
11867
|
});
|
|
11646
11868
|
|
|
11647
11869
|
//! moment.js locale configuration
|
|
11870
|
+
//! locale : Icelandic [is]
|
|
11871
|
+
//! author : Hinrik Örn Sigurðsson : https://github.com/hinrik
|
|
11872
|
+
|
|
11648
11873
|
|
|
11649
|
-
function plural$
|
|
11874
|
+
function plural$4(n) {
|
|
11650
11875
|
if (n % 100 === 11) {
|
|
11651
11876
|
return true;
|
|
11652
11877
|
} else if (n % 10 === 1) {
|
|
@@ -11662,7 +11887,7 @@
|
|
|
11662
11887
|
? 'nokkrar sekúndur'
|
|
11663
11888
|
: 'nokkrum sekúndum';
|
|
11664
11889
|
case 'ss':
|
|
11665
|
-
if (plural$
|
|
11890
|
+
if (plural$4(number)) {
|
|
11666
11891
|
return (
|
|
11667
11892
|
result +
|
|
11668
11893
|
(withoutSuffix || isFuture ? 'sekúndur' : 'sekúndum')
|
|
@@ -11672,7 +11897,7 @@
|
|
|
11672
11897
|
case 'm':
|
|
11673
11898
|
return withoutSuffix ? 'mínúta' : 'mínútu';
|
|
11674
11899
|
case 'mm':
|
|
11675
|
-
if (plural$
|
|
11900
|
+
if (plural$4(number)) {
|
|
11676
11901
|
return (
|
|
11677
11902
|
result + (withoutSuffix || isFuture ? 'mínútur' : 'mínútum')
|
|
11678
11903
|
);
|
|
@@ -11681,7 +11906,7 @@
|
|
|
11681
11906
|
}
|
|
11682
11907
|
return result + 'mínútu';
|
|
11683
11908
|
case 'hh':
|
|
11684
|
-
if (plural$
|
|
11909
|
+
if (plural$4(number)) {
|
|
11685
11910
|
return (
|
|
11686
11911
|
result +
|
|
11687
11912
|
(withoutSuffix || isFuture
|
|
@@ -11696,7 +11921,7 @@
|
|
|
11696
11921
|
}
|
|
11697
11922
|
return isFuture ? 'dag' : 'degi';
|
|
11698
11923
|
case 'dd':
|
|
11699
|
-
if (plural$
|
|
11924
|
+
if (plural$4(number)) {
|
|
11700
11925
|
if (withoutSuffix) {
|
|
11701
11926
|
return result + 'dagar';
|
|
11702
11927
|
}
|
|
@@ -11711,7 +11936,7 @@
|
|
|
11711
11936
|
}
|
|
11712
11937
|
return isFuture ? 'mánuð' : 'mánuði';
|
|
11713
11938
|
case 'MM':
|
|
11714
|
-
if (plural$
|
|
11939
|
+
if (plural$4(number)) {
|
|
11715
11940
|
if (withoutSuffix) {
|
|
11716
11941
|
return result + 'mánuðir';
|
|
11717
11942
|
}
|
|
@@ -11723,7 +11948,7 @@
|
|
|
11723
11948
|
case 'y':
|
|
11724
11949
|
return withoutSuffix || isFuture ? 'ár' : 'ári';
|
|
11725
11950
|
case 'yy':
|
|
11726
|
-
if (plural$
|
|
11951
|
+
if (plural$4(number)) {
|
|
11727
11952
|
return result + (withoutSuffix || isFuture ? 'ár' : 'árum');
|
|
11728
11953
|
}
|
|
11729
11954
|
return result + (withoutSuffix || isFuture ? 'ár' : 'ári');
|
|
@@ -11782,6 +12007,9 @@
|
|
|
11782
12007
|
});
|
|
11783
12008
|
|
|
11784
12009
|
//! moment.js locale configuration
|
|
12010
|
+
//! locale : Italian (Switzerland) [it-ch]
|
|
12011
|
+
//! author : xfh : https://github.com/xfh
|
|
12012
|
+
|
|
11785
12013
|
|
|
11786
12014
|
hooks.defineLocale('it-ch', {
|
|
11787
12015
|
months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
|
|
@@ -11843,6 +12071,11 @@
|
|
|
11843
12071
|
});
|
|
11844
12072
|
|
|
11845
12073
|
//! moment.js locale configuration
|
|
12074
|
+
//! locale : Italian [it]
|
|
12075
|
+
//! author : Lorenzo : https://github.com/aliem
|
|
12076
|
+
//! author: Mattia Larentis: https://github.com/nostalgiaz
|
|
12077
|
+
//! author: Marco : https://github.com/Manfre98
|
|
12078
|
+
|
|
11846
12079
|
|
|
11847
12080
|
hooks.defineLocale('it', {
|
|
11848
12081
|
months: 'gennaio_febbraio_marzo_aprile_maggio_giugno_luglio_agosto_settembre_ottobre_novembre_dicembre'.split(
|
|
@@ -11944,6 +12177,9 @@
|
|
|
11944
12177
|
});
|
|
11945
12178
|
|
|
11946
12179
|
//! moment.js locale configuration
|
|
12180
|
+
//! locale : Japanese [ja]
|
|
12181
|
+
//! author : LI Long : https://github.com/baryon
|
|
12182
|
+
|
|
11947
12183
|
|
|
11948
12184
|
hooks.defineLocale('ja', {
|
|
11949
12185
|
eras: [
|
|
@@ -12089,6 +12325,10 @@
|
|
|
12089
12325
|
});
|
|
12090
12326
|
|
|
12091
12327
|
//! moment.js locale configuration
|
|
12328
|
+
//! locale : Javanese [jv]
|
|
12329
|
+
//! author : Rony Lantip : https://github.com/lantip
|
|
12330
|
+
//! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
|
|
12331
|
+
|
|
12092
12332
|
|
|
12093
12333
|
hooks.defineLocale('jv', {
|
|
12094
12334
|
months: 'Januari_Februari_Maret_April_Mei_Juni_Juli_Agustus_September_Oktober_Nopember_Desember'.split(
|
|
@@ -12161,6 +12401,9 @@
|
|
|
12161
12401
|
});
|
|
12162
12402
|
|
|
12163
12403
|
//! moment.js locale configuration
|
|
12404
|
+
//! locale : Georgian [ka]
|
|
12405
|
+
//! author : Irakli Janiashvili : https://github.com/IrakliJani
|
|
12406
|
+
|
|
12164
12407
|
|
|
12165
12408
|
hooks.defineLocale('ka', {
|
|
12166
12409
|
months: 'იანვარი_თებერვალი_მარტი_აპრილი_მაისი_ივნისი_ივლისი_აგვისტო_სექტემბერი_ოქტომბერი_ნოემბერი_დეკემბერი'.split(
|
|
@@ -12250,8 +12493,11 @@
|
|
|
12250
12493
|
});
|
|
12251
12494
|
|
|
12252
12495
|
//! moment.js locale configuration
|
|
12496
|
+
//! locale : Kazakh [kk]
|
|
12497
|
+
//! authors : Nurlan Rakhimzhanov : https://github.com/nurlan
|
|
12253
12498
|
|
|
12254
|
-
|
|
12499
|
+
|
|
12500
|
+
var suffixes$4 = {
|
|
12255
12501
|
0: '-ші',
|
|
12256
12502
|
1: '-ші',
|
|
12257
12503
|
2: '-ші',
|
|
@@ -12320,7 +12566,7 @@
|
|
|
12320
12566
|
ordinal: function (number) {
|
|
12321
12567
|
var a = number % 10,
|
|
12322
12568
|
b = number >= 100 ? 100 : null;
|
|
12323
|
-
return number + (suffixes$
|
|
12569
|
+
return number + (suffixes$4[number] || suffixes$4[a] || suffixes$4[b]);
|
|
12324
12570
|
},
|
|
12325
12571
|
week: {
|
|
12326
12572
|
dow: 1, // Monday is the first day of the week.
|
|
@@ -12329,8 +12575,11 @@
|
|
|
12329
12575
|
});
|
|
12330
12576
|
|
|
12331
12577
|
//! moment.js locale configuration
|
|
12578
|
+
//! locale : Cambodian [km]
|
|
12579
|
+
//! author : Kruy Vanna : https://github.com/kruyvanna
|
|
12332
12580
|
|
|
12333
|
-
|
|
12581
|
+
|
|
12582
|
+
var symbolMap$7 = {
|
|
12334
12583
|
1: '១',
|
|
12335
12584
|
2: '២',
|
|
12336
12585
|
3: '៣',
|
|
@@ -12342,7 +12591,7 @@
|
|
|
12342
12591
|
9: '៩',
|
|
12343
12592
|
0: '០',
|
|
12344
12593
|
},
|
|
12345
|
-
numberMap$
|
|
12594
|
+
numberMap$7 = {
|
|
12346
12595
|
'១': '1',
|
|
12347
12596
|
'២': '2',
|
|
12348
12597
|
'៣': '3',
|
|
@@ -12414,12 +12663,12 @@
|
|
|
12414
12663
|
ordinal: 'ទី%d',
|
|
12415
12664
|
preparse: function (string) {
|
|
12416
12665
|
return string.replace(/[១២៣៤៥៦៧៨៩០]/g, function (match) {
|
|
12417
|
-
return numberMap$
|
|
12666
|
+
return numberMap$7[match];
|
|
12418
12667
|
});
|
|
12419
12668
|
},
|
|
12420
12669
|
postformat: function (string) {
|
|
12421
12670
|
return string.replace(/\d/g, function (match) {
|
|
12422
|
-
return symbolMap$
|
|
12671
|
+
return symbolMap$7[match];
|
|
12423
12672
|
});
|
|
12424
12673
|
},
|
|
12425
12674
|
week: {
|
|
@@ -12429,8 +12678,11 @@
|
|
|
12429
12678
|
});
|
|
12430
12679
|
|
|
12431
12680
|
//! moment.js locale configuration
|
|
12681
|
+
//! locale : Kannada [kn]
|
|
12682
|
+
//! author : Rajeev Naik : https://github.com/rajeevnaikte
|
|
12432
12683
|
|
|
12433
|
-
|
|
12684
|
+
|
|
12685
|
+
var symbolMap$6 = {
|
|
12434
12686
|
1: '೧',
|
|
12435
12687
|
2: '೨',
|
|
12436
12688
|
3: '೩',
|
|
@@ -12442,7 +12694,7 @@
|
|
|
12442
12694
|
9: '೯',
|
|
12443
12695
|
0: '೦',
|
|
12444
12696
|
},
|
|
12445
|
-
numberMap$
|
|
12697
|
+
numberMap$6 = {
|
|
12446
12698
|
'೧': '1',
|
|
12447
12699
|
'೨': '2',
|
|
12448
12700
|
'೩': '3',
|
|
@@ -12503,12 +12755,12 @@
|
|
|
12503
12755
|
},
|
|
12504
12756
|
preparse: function (string) {
|
|
12505
12757
|
return string.replace(/[೧೨೩೪೫೬೭೮೯೦]/g, function (match) {
|
|
12506
|
-
return numberMap$
|
|
12758
|
+
return numberMap$6[match];
|
|
12507
12759
|
});
|
|
12508
12760
|
},
|
|
12509
12761
|
postformat: function (string) {
|
|
12510
12762
|
return string.replace(/\d/g, function (match) {
|
|
12511
|
-
return symbolMap$
|
|
12763
|
+
return symbolMap$6[match];
|
|
12512
12764
|
});
|
|
12513
12765
|
},
|
|
12514
12766
|
meridiemParse: /ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,
|
|
@@ -12550,6 +12802,10 @@
|
|
|
12550
12802
|
});
|
|
12551
12803
|
|
|
12552
12804
|
//! moment.js locale configuration
|
|
12805
|
+
//! locale : Korean [ko]
|
|
12806
|
+
//! author : Kyungwook, Park : https://github.com/kyungw00k
|
|
12807
|
+
//! author : Jeeeyul Lee <jeeeyul@gmail.com>
|
|
12808
|
+
|
|
12553
12809
|
|
|
12554
12810
|
hooks.defineLocale('ko', {
|
|
12555
12811
|
months: '1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월'.split('_'),
|
|
@@ -12621,8 +12877,11 @@
|
|
|
12621
12877
|
});
|
|
12622
12878
|
|
|
12623
12879
|
//! moment.js locale configuration
|
|
12880
|
+
//! locale : Northern Kurdish [ku-kmr]
|
|
12881
|
+
//! authors : Mazlum Özdogan : https://github.com/mergehez
|
|
12882
|
+
|
|
12624
12883
|
|
|
12625
|
-
function processRelativeTime$
|
|
12884
|
+
function processRelativeTime$3(num, withoutSuffix, key, isFuture) {
|
|
12626
12885
|
var format = {
|
|
12627
12886
|
s: ['çend sanîye', 'çend sanîyeyan'],
|
|
12628
12887
|
ss: [num + ' sanîye', num + ' sanîyeyan'],
|
|
@@ -12703,20 +12962,20 @@
|
|
|
12703
12962
|
relativeTime: {
|
|
12704
12963
|
future: 'di %s de',
|
|
12705
12964
|
past: 'berî %s',
|
|
12706
|
-
s: processRelativeTime$
|
|
12707
|
-
ss: processRelativeTime$
|
|
12708
|
-
m: processRelativeTime$
|
|
12709
|
-
mm: processRelativeTime$
|
|
12710
|
-
h: processRelativeTime$
|
|
12711
|
-
hh: processRelativeTime$
|
|
12712
|
-
d: processRelativeTime$
|
|
12713
|
-
dd: processRelativeTime$
|
|
12714
|
-
w: processRelativeTime$
|
|
12715
|
-
ww: processRelativeTime$
|
|
12716
|
-
M: processRelativeTime$
|
|
12717
|
-
MM: processRelativeTime$
|
|
12718
|
-
y: processRelativeTime$
|
|
12719
|
-
yy: processRelativeTime$
|
|
12965
|
+
s: processRelativeTime$3,
|
|
12966
|
+
ss: processRelativeTime$3,
|
|
12967
|
+
m: processRelativeTime$3,
|
|
12968
|
+
mm: processRelativeTime$3,
|
|
12969
|
+
h: processRelativeTime$3,
|
|
12970
|
+
hh: processRelativeTime$3,
|
|
12971
|
+
d: processRelativeTime$3,
|
|
12972
|
+
dd: processRelativeTime$3,
|
|
12973
|
+
w: processRelativeTime$3,
|
|
12974
|
+
ww: processRelativeTime$3,
|
|
12975
|
+
M: processRelativeTime$3,
|
|
12976
|
+
MM: processRelativeTime$3,
|
|
12977
|
+
y: processRelativeTime$3,
|
|
12978
|
+
yy: processRelativeTime$3,
|
|
12720
12979
|
},
|
|
12721
12980
|
dayOfMonthOrdinalParse: /\d{1,2}(?:yê|ê|\.)/,
|
|
12722
12981
|
ordinal: function (num, period) {
|
|
@@ -12732,8 +12991,11 @@
|
|
|
12732
12991
|
});
|
|
12733
12992
|
|
|
12734
12993
|
//! moment.js locale configuration
|
|
12994
|
+
//! locale : Kurdish [ku]
|
|
12995
|
+
//! author : Shahram Mebashar : https://github.com/ShahramMebashar
|
|
12735
12996
|
|
|
12736
|
-
|
|
12997
|
+
|
|
12998
|
+
var symbolMap$5 = {
|
|
12737
12999
|
1: '١',
|
|
12738
13000
|
2: '٢',
|
|
12739
13001
|
3: '٣',
|
|
@@ -12745,7 +13007,7 @@
|
|
|
12745
13007
|
9: '٩',
|
|
12746
13008
|
0: '٠',
|
|
12747
13009
|
},
|
|
12748
|
-
numberMap$
|
|
13010
|
+
numberMap$5 = {
|
|
12749
13011
|
'١': '1',
|
|
12750
13012
|
'٢': '2',
|
|
12751
13013
|
'٣': '3',
|
|
@@ -12757,7 +13019,7 @@
|
|
|
12757
13019
|
'٩': '9',
|
|
12758
13020
|
'٠': '0',
|
|
12759
13021
|
},
|
|
12760
|
-
months$
|
|
13022
|
+
months$3 = [
|
|
12761
13023
|
'کانونی دووەم',
|
|
12762
13024
|
'شوبات',
|
|
12763
13025
|
'ئازار',
|
|
@@ -12773,8 +13035,8 @@
|
|
|
12773
13035
|
];
|
|
12774
13036
|
|
|
12775
13037
|
hooks.defineLocale('ku', {
|
|
12776
|
-
months: months$
|
|
12777
|
-
monthsShort: months$
|
|
13038
|
+
months: months$3,
|
|
13039
|
+
monthsShort: months$3,
|
|
12778
13040
|
weekdays:
|
|
12779
13041
|
'یهكشهممه_دووشهممه_سێشهممه_چوارشهممه_پێنجشهممه_ههینی_شهممه'.split(
|
|
12780
13042
|
'_'
|
|
@@ -12829,14 +13091,14 @@
|
|
|
12829
13091
|
preparse: function (string) {
|
|
12830
13092
|
return string
|
|
12831
13093
|
.replace(/[١٢٣٤٥٦٧٨٩٠]/g, function (match) {
|
|
12832
|
-
return numberMap$
|
|
13094
|
+
return numberMap$5[match];
|
|
12833
13095
|
})
|
|
12834
13096
|
.replace(/،/g, ',');
|
|
12835
13097
|
},
|
|
12836
13098
|
postformat: function (string) {
|
|
12837
13099
|
return string
|
|
12838
13100
|
.replace(/\d/g, function (match) {
|
|
12839
|
-
return symbolMap$
|
|
13101
|
+
return symbolMap$5[match];
|
|
12840
13102
|
})
|
|
12841
13103
|
.replace(/,/g, '،');
|
|
12842
13104
|
},
|
|
@@ -12847,8 +13109,11 @@
|
|
|
12847
13109
|
});
|
|
12848
13110
|
|
|
12849
13111
|
//! moment.js locale configuration
|
|
13112
|
+
//! locale : Kyrgyz [ky]
|
|
13113
|
+
//! author : Chyngyz Arystan uulu : https://github.com/chyngyz
|
|
12850
13114
|
|
|
12851
|
-
|
|
13115
|
+
|
|
13116
|
+
var suffixes$3 = {
|
|
12852
13117
|
0: '-чү',
|
|
12853
13118
|
1: '-чи',
|
|
12854
13119
|
2: '-чи',
|
|
@@ -12919,7 +13184,7 @@
|
|
|
12919
13184
|
ordinal: function (number) {
|
|
12920
13185
|
var a = number % 10,
|
|
12921
13186
|
b = number >= 100 ? 100 : null;
|
|
12922
|
-
return number + (suffixes$
|
|
13187
|
+
return number + (suffixes$3[number] || suffixes$3[a] || suffixes$3[b]);
|
|
12923
13188
|
},
|
|
12924
13189
|
week: {
|
|
12925
13190
|
dow: 1, // Monday is the first day of the week.
|
|
@@ -12928,8 +13193,12 @@
|
|
|
12928
13193
|
});
|
|
12929
13194
|
|
|
12930
13195
|
//! moment.js locale configuration
|
|
13196
|
+
//! locale : Luxembourgish [lb]
|
|
13197
|
+
//! author : mweimerskirch : https://github.com/mweimerskirch
|
|
13198
|
+
//! author : David Raison : https://github.com/kwisatz
|
|
12931
13199
|
|
|
12932
|
-
|
|
13200
|
+
|
|
13201
|
+
function processRelativeTime$2(number, withoutSuffix, key, isFuture) {
|
|
12933
13202
|
var format = {
|
|
12934
13203
|
m: ['eng Minutt', 'enger Minutt'],
|
|
12935
13204
|
h: ['eng Stonn', 'enger Stonn'],
|
|
@@ -13041,15 +13310,15 @@
|
|
|
13041
13310
|
past: processPastTime,
|
|
13042
13311
|
s: 'e puer Sekonnen',
|
|
13043
13312
|
ss: '%d Sekonnen',
|
|
13044
|
-
m: processRelativeTime$
|
|
13313
|
+
m: processRelativeTime$2,
|
|
13045
13314
|
mm: '%d Minutten',
|
|
13046
|
-
h: processRelativeTime$
|
|
13315
|
+
h: processRelativeTime$2,
|
|
13047
13316
|
hh: '%d Stonnen',
|
|
13048
|
-
d: processRelativeTime$
|
|
13317
|
+
d: processRelativeTime$2,
|
|
13049
13318
|
dd: '%d Deeg',
|
|
13050
|
-
M: processRelativeTime$
|
|
13319
|
+
M: processRelativeTime$2,
|
|
13051
13320
|
MM: '%d Méint',
|
|
13052
|
-
y: processRelativeTime$
|
|
13321
|
+
y: processRelativeTime$2,
|
|
13053
13322
|
yy: '%d Joer',
|
|
13054
13323
|
},
|
|
13055
13324
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
@@ -13061,6 +13330,9 @@
|
|
|
13061
13330
|
});
|
|
13062
13331
|
|
|
13063
13332
|
//! moment.js locale configuration
|
|
13333
|
+
//! locale : Lao [lo]
|
|
13334
|
+
//! author : Ryan Hart : https://github.com/ryanhart2
|
|
13335
|
+
|
|
13064
13336
|
|
|
13065
13337
|
hooks.defineLocale('lo', {
|
|
13066
13338
|
months: 'ມັງກອນ_ກຸມພາ_ມີນາ_ເມສາ_ພຶດສະພາ_ມິຖຸນາ_ກໍລະກົດ_ສິງຫາ_ກັນຍາ_ຕຸລາ_ພະຈິກ_ທັນວາ'.split(
|
|
@@ -13124,8 +13396,11 @@
|
|
|
13124
13396
|
});
|
|
13125
13397
|
|
|
13126
13398
|
//! moment.js locale configuration
|
|
13399
|
+
//! locale : Lithuanian [lt]
|
|
13400
|
+
//! author : Mindaugas Mozūras : https://github.com/mmozuras
|
|
13127
13401
|
|
|
13128
|
-
|
|
13402
|
+
|
|
13403
|
+
var units$1 = {
|
|
13129
13404
|
ss: 'sekundė_sekundžių_sekundes',
|
|
13130
13405
|
m: 'minutė_minutės_minutę',
|
|
13131
13406
|
mm: 'minutės_minučių_minutes',
|
|
@@ -13156,9 +13431,9 @@
|
|
|
13156
13431
|
return number % 10 === 0 || (number > 10 && number < 20);
|
|
13157
13432
|
}
|
|
13158
13433
|
function forms(key) {
|
|
13159
|
-
return units[key].split('_');
|
|
13434
|
+
return units$1[key].split('_');
|
|
13160
13435
|
}
|
|
13161
|
-
function translate$
|
|
13436
|
+
function translate$4(number, withoutSuffix, key, isFuture) {
|
|
13162
13437
|
var result = number + ' ';
|
|
13163
13438
|
if (number === 1) {
|
|
13164
13439
|
return (
|
|
@@ -13223,17 +13498,17 @@
|
|
|
13223
13498
|
future: 'po %s',
|
|
13224
13499
|
past: 'prieš %s',
|
|
13225
13500
|
s: translateSeconds,
|
|
13226
|
-
ss: translate$
|
|
13501
|
+
ss: translate$4,
|
|
13227
13502
|
m: translateSingular,
|
|
13228
|
-
mm: translate$
|
|
13503
|
+
mm: translate$4,
|
|
13229
13504
|
h: translateSingular,
|
|
13230
|
-
hh: translate$
|
|
13505
|
+
hh: translate$4,
|
|
13231
13506
|
d: translateSingular,
|
|
13232
|
-
dd: translate$
|
|
13507
|
+
dd: translate$4,
|
|
13233
13508
|
M: translateSingular,
|
|
13234
|
-
MM: translate$
|
|
13509
|
+
MM: translate$4,
|
|
13235
13510
|
y: translateSingular,
|
|
13236
|
-
yy: translate$
|
|
13511
|
+
yy: translate$4,
|
|
13237
13512
|
},
|
|
13238
13513
|
dayOfMonthOrdinalParse: /\d{1,2}-oji/,
|
|
13239
13514
|
ordinal: function (number) {
|
|
@@ -13246,8 +13521,12 @@
|
|
|
13246
13521
|
});
|
|
13247
13522
|
|
|
13248
13523
|
//! moment.js locale configuration
|
|
13524
|
+
//! locale : Latvian [lv]
|
|
13525
|
+
//! author : Kristaps Karlsons : https://github.com/skakri
|
|
13526
|
+
//! author : Jānis Elmeris : https://github.com/JanisE
|
|
13249
13527
|
|
|
13250
|
-
|
|
13528
|
+
|
|
13529
|
+
var units = {
|
|
13251
13530
|
ss: 'sekundes_sekundēm_sekunde_sekundes'.split('_'),
|
|
13252
13531
|
m: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
|
|
13253
13532
|
mm: 'minūtes_minūtēm_minūte_minūtes'.split('_'),
|
|
@@ -13263,7 +13542,7 @@
|
|
|
13263
13542
|
/**
|
|
13264
13543
|
* @param withoutSuffix boolean true = a length of time; false = before/after a period of time.
|
|
13265
13544
|
*/
|
|
13266
|
-
function format
|
|
13545
|
+
function format(forms, number, withoutSuffix) {
|
|
13267
13546
|
if (withoutSuffix) {
|
|
13268
13547
|
// E.g. "21 minūte", "3 minūtes".
|
|
13269
13548
|
return number % 10 === 1 && number % 100 !== 11 ? forms[2] : forms[3];
|
|
@@ -13273,11 +13552,11 @@
|
|
|
13273
13552
|
return number % 10 === 1 && number % 100 !== 11 ? forms[0] : forms[1];
|
|
13274
13553
|
}
|
|
13275
13554
|
}
|
|
13276
|
-
function relativeTimeWithPlural$
|
|
13277
|
-
return number + ' ' + format
|
|
13555
|
+
function relativeTimeWithPlural$3(number, withoutSuffix, key) {
|
|
13556
|
+
return number + ' ' + format(units[key], number, withoutSuffix);
|
|
13278
13557
|
}
|
|
13279
13558
|
function relativeTimeWithSingular(number, withoutSuffix, key) {
|
|
13280
|
-
return format
|
|
13559
|
+
return format(units[key], number, withoutSuffix);
|
|
13281
13560
|
}
|
|
13282
13561
|
function relativeSeconds(number, withoutSuffix) {
|
|
13283
13562
|
return withoutSuffix ? 'dažas sekundes' : 'dažām sekundēm';
|
|
@@ -13315,17 +13594,17 @@
|
|
|
13315
13594
|
future: 'pēc %s',
|
|
13316
13595
|
past: 'pirms %s',
|
|
13317
13596
|
s: relativeSeconds,
|
|
13318
|
-
ss: relativeTimeWithPlural$
|
|
13597
|
+
ss: relativeTimeWithPlural$3,
|
|
13319
13598
|
m: relativeTimeWithSingular,
|
|
13320
|
-
mm: relativeTimeWithPlural$
|
|
13599
|
+
mm: relativeTimeWithPlural$3,
|
|
13321
13600
|
h: relativeTimeWithSingular,
|
|
13322
|
-
hh: relativeTimeWithPlural$
|
|
13601
|
+
hh: relativeTimeWithPlural$3,
|
|
13323
13602
|
d: relativeTimeWithSingular,
|
|
13324
|
-
dd: relativeTimeWithPlural$
|
|
13603
|
+
dd: relativeTimeWithPlural$3,
|
|
13325
13604
|
M: relativeTimeWithSingular,
|
|
13326
|
-
MM: relativeTimeWithPlural$
|
|
13605
|
+
MM: relativeTimeWithPlural$3,
|
|
13327
13606
|
y: relativeTimeWithSingular,
|
|
13328
|
-
yy: relativeTimeWithPlural$
|
|
13607
|
+
yy: relativeTimeWithPlural$3,
|
|
13329
13608
|
},
|
|
13330
13609
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
13331
13610
|
ordinal: '%d.',
|
|
@@ -13336,8 +13615,11 @@
|
|
|
13336
13615
|
});
|
|
13337
13616
|
|
|
13338
13617
|
//! moment.js locale configuration
|
|
13618
|
+
//! locale : Montenegrin [me]
|
|
13619
|
+
//! author : Miodrag Nikač <miodrag@restartit.me> : https://github.com/miodragnikac
|
|
13339
13620
|
|
|
13340
|
-
|
|
13621
|
+
|
|
13622
|
+
var translator$2 = {
|
|
13341
13623
|
words: {
|
|
13342
13624
|
//Different grammatical cases
|
|
13343
13625
|
ss: ['sekund', 'sekunda', 'sekundi'],
|
|
@@ -13357,14 +13639,14 @@
|
|
|
13357
13639
|
: wordKey[2];
|
|
13358
13640
|
},
|
|
13359
13641
|
translate: function (number, withoutSuffix, key) {
|
|
13360
|
-
var wordKey = translator.words[key];
|
|
13642
|
+
var wordKey = translator$2.words[key];
|
|
13361
13643
|
if (key.length === 1) {
|
|
13362
13644
|
return withoutSuffix ? wordKey[0] : wordKey[1];
|
|
13363
13645
|
} else {
|
|
13364
13646
|
return (
|
|
13365
13647
|
number +
|
|
13366
13648
|
' ' +
|
|
13367
|
-
translator.correctGrammaticalCase(number, wordKey)
|
|
13649
|
+
translator$2.correctGrammaticalCase(number, wordKey)
|
|
13368
13650
|
);
|
|
13369
13651
|
}
|
|
13370
13652
|
},
|
|
@@ -13429,17 +13711,17 @@
|
|
|
13429
13711
|
future: 'za %s',
|
|
13430
13712
|
past: 'prije %s',
|
|
13431
13713
|
s: 'nekoliko sekundi',
|
|
13432
|
-
ss: translator.translate,
|
|
13433
|
-
m: translator.translate,
|
|
13434
|
-
mm: translator.translate,
|
|
13435
|
-
h: translator.translate,
|
|
13436
|
-
hh: translator.translate,
|
|
13714
|
+
ss: translator$2.translate,
|
|
13715
|
+
m: translator$2.translate,
|
|
13716
|
+
mm: translator$2.translate,
|
|
13717
|
+
h: translator$2.translate,
|
|
13718
|
+
hh: translator$2.translate,
|
|
13437
13719
|
d: 'dan',
|
|
13438
|
-
dd: translator.translate,
|
|
13720
|
+
dd: translator$2.translate,
|
|
13439
13721
|
M: 'mjesec',
|
|
13440
|
-
MM: translator.translate,
|
|
13722
|
+
MM: translator$2.translate,
|
|
13441
13723
|
y: 'godinu',
|
|
13442
|
-
yy: translator.translate,
|
|
13724
|
+
yy: translator$2.translate,
|
|
13443
13725
|
},
|
|
13444
13726
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
13445
13727
|
ordinal: '%d.',
|
|
@@ -13450,6 +13732,9 @@
|
|
|
13450
13732
|
});
|
|
13451
13733
|
|
|
13452
13734
|
//! moment.js locale configuration
|
|
13735
|
+
//! locale : Maori [mi]
|
|
13736
|
+
//! author : John Corrigan <robbiecloset@gmail.com> : https://github.com/johnideal
|
|
13737
|
+
|
|
13453
13738
|
|
|
13454
13739
|
hooks.defineLocale('mi', {
|
|
13455
13740
|
months: 'Kohi-tāte_Hui-tanguru_Poutū-te-rangi_Paenga-whāwhā_Haratua_Pipiri_Hōngoingoi_Here-turi-kōkā_Mahuru_Whiringa-ā-nuku_Whiringa-ā-rangi_Hakihea'.split(
|
|
@@ -13507,6 +13792,9 @@
|
|
|
13507
13792
|
});
|
|
13508
13793
|
|
|
13509
13794
|
//! moment.js locale configuration
|
|
13795
|
+
//! locale : Macedonian [mk]
|
|
13796
|
+
//! author : Borislav Mickov : https://github.com/B0k0
|
|
13797
|
+
//! author : Sashko Todorov : https://github.com/bkyceh
|
|
13510
13798
|
|
|
13511
13799
|
hooks.defineLocale('mk', {
|
|
13512
13800
|
months: 'јануари_февруари_март_април_мај_јуни_јули_август_септември_октомври_ноември_декември'.split(
|
|
@@ -13589,6 +13877,9 @@
|
|
|
13589
13877
|
});
|
|
13590
13878
|
|
|
13591
13879
|
//! moment.js locale configuration
|
|
13880
|
+
//! locale : Malayalam [ml]
|
|
13881
|
+
//! author : Floyd Pink : https://github.com/floydpink
|
|
13882
|
+
|
|
13592
13883
|
|
|
13593
13884
|
hooks.defineLocale('ml', {
|
|
13594
13885
|
months: 'ജനുവരി_ഫെബ്രുവരി_മാർച്ച്_ഏപ്രിൽ_മേയ്_ജൂൺ_ജൂലൈ_ഓഗസ്റ്റ്_സെപ്റ്റംബർ_ഒക്ടോബർ_നവംബർ_ഡിസംബർ'.split(
|
|
@@ -13668,8 +13959,11 @@
|
|
|
13668
13959
|
});
|
|
13669
13960
|
|
|
13670
13961
|
//! moment.js locale configuration
|
|
13962
|
+
//! locale : Mongolian [mn]
|
|
13963
|
+
//! author : Javkhlantugs Nyamdorj : https://github.com/javkhaanj7
|
|
13964
|
+
|
|
13671
13965
|
|
|
13672
|
-
function translate$
|
|
13966
|
+
function translate$3(number, withoutSuffix, key, isFuture) {
|
|
13673
13967
|
switch (key) {
|
|
13674
13968
|
case 's':
|
|
13675
13969
|
return withoutSuffix ? 'хэдхэн секунд' : 'хэдхэн секундын';
|
|
@@ -13738,18 +14032,18 @@
|
|
|
13738
14032
|
relativeTime: {
|
|
13739
14033
|
future: '%s дараа',
|
|
13740
14034
|
past: '%s өмнө',
|
|
13741
|
-
s: translate$
|
|
13742
|
-
ss: translate$
|
|
13743
|
-
m: translate$
|
|
13744
|
-
mm: translate$
|
|
13745
|
-
h: translate$
|
|
13746
|
-
hh: translate$
|
|
13747
|
-
d: translate$
|
|
13748
|
-
dd: translate$
|
|
13749
|
-
M: translate$
|
|
13750
|
-
MM: translate$
|
|
13751
|
-
y: translate$
|
|
13752
|
-
yy: translate$
|
|
14035
|
+
s: translate$3,
|
|
14036
|
+
ss: translate$3,
|
|
14037
|
+
m: translate$3,
|
|
14038
|
+
mm: translate$3,
|
|
14039
|
+
h: translate$3,
|
|
14040
|
+
hh: translate$3,
|
|
14041
|
+
d: translate$3,
|
|
14042
|
+
dd: translate$3,
|
|
14043
|
+
M: translate$3,
|
|
14044
|
+
MM: translate$3,
|
|
14045
|
+
y: translate$3,
|
|
14046
|
+
yy: translate$3,
|
|
13753
14047
|
},
|
|
13754
14048
|
dayOfMonthOrdinalParse: /\d{1,2} өдөр/,
|
|
13755
14049
|
ordinal: function (number, period) {
|
|
@@ -13765,8 +14059,12 @@
|
|
|
13765
14059
|
});
|
|
13766
14060
|
|
|
13767
14061
|
//! moment.js locale configuration
|
|
14062
|
+
//! locale : Marathi [mr]
|
|
14063
|
+
//! author : Harshad Kale : https://github.com/kalehv
|
|
14064
|
+
//! author : Vivek Athalye : https://github.com/vnathalye
|
|
13768
14065
|
|
|
13769
|
-
|
|
14066
|
+
|
|
14067
|
+
var symbolMap$4 = {
|
|
13770
14068
|
1: '१',
|
|
13771
14069
|
2: '२',
|
|
13772
14070
|
3: '३',
|
|
@@ -13778,7 +14076,7 @@
|
|
|
13778
14076
|
9: '९',
|
|
13779
14077
|
0: '०',
|
|
13780
14078
|
},
|
|
13781
|
-
numberMap$
|
|
14079
|
+
numberMap$4 = {
|
|
13782
14080
|
'१': '1',
|
|
13783
14081
|
'२': '2',
|
|
13784
14082
|
'३': '3',
|
|
@@ -13921,12 +14219,12 @@
|
|
|
13921
14219
|
},
|
|
13922
14220
|
preparse: function (string) {
|
|
13923
14221
|
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
|
13924
|
-
return numberMap$
|
|
14222
|
+
return numberMap$4[match];
|
|
13925
14223
|
});
|
|
13926
14224
|
},
|
|
13927
14225
|
postformat: function (string) {
|
|
13928
14226
|
return string.replace(/\d/g, function (match) {
|
|
13929
|
-
return symbolMap$
|
|
14227
|
+
return symbolMap$4[match];
|
|
13930
14228
|
});
|
|
13931
14229
|
},
|
|
13932
14230
|
meridiemParse: /पहाटे|सकाळी|दुपारी|सायंकाळी|रात्री/,
|
|
@@ -13964,6 +14262,10 @@
|
|
|
13964
14262
|
});
|
|
13965
14263
|
|
|
13966
14264
|
//! moment.js locale configuration
|
|
14265
|
+
//! locale : Malay [ms-my]
|
|
14266
|
+
//! note : DEPRECATED, the correct one is [ms]
|
|
14267
|
+
//! author : Weldan Jamili : https://github.com/weldan
|
|
14268
|
+
|
|
13967
14269
|
|
|
13968
14270
|
hooks.defineLocale('ms-my', {
|
|
13969
14271
|
months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
|
|
@@ -14036,6 +14338,9 @@
|
|
|
14036
14338
|
});
|
|
14037
14339
|
|
|
14038
14340
|
//! moment.js locale configuration
|
|
14341
|
+
//! locale : Malay [ms]
|
|
14342
|
+
//! author : Weldan Jamili : https://github.com/weldan
|
|
14343
|
+
|
|
14039
14344
|
|
|
14040
14345
|
hooks.defineLocale('ms', {
|
|
14041
14346
|
months: 'Januari_Februari_Mac_April_Mei_Jun_Julai_Ogos_September_Oktober_November_Disember'.split(
|
|
@@ -14108,6 +14413,9 @@
|
|
|
14108
14413
|
});
|
|
14109
14414
|
|
|
14110
14415
|
//! moment.js locale configuration
|
|
14416
|
+
//! locale : Maltese (Malta) [mt]
|
|
14417
|
+
//! author : Alessandro Maruccia : https://github.com/alesma
|
|
14418
|
+
|
|
14111
14419
|
|
|
14112
14420
|
hooks.defineLocale('mt', {
|
|
14113
14421
|
months: 'Jannar_Frar_Marzu_April_Mejju_Ġunju_Lulju_Awwissu_Settembru_Ottubru_Novembru_Diċembru'.split(
|
|
@@ -14161,8 +14469,13 @@
|
|
|
14161
14469
|
});
|
|
14162
14470
|
|
|
14163
14471
|
//! moment.js locale configuration
|
|
14472
|
+
//! locale : Burmese [my]
|
|
14473
|
+
//! author : Squar team, mysquar.com
|
|
14474
|
+
//! author : David Rossellat : https://github.com/gholadr
|
|
14475
|
+
//! author : Tin Aung Lin : https://github.com/thanyawzinmin
|
|
14164
14476
|
|
|
14165
|
-
|
|
14477
|
+
|
|
14478
|
+
var symbolMap$3 = {
|
|
14166
14479
|
1: '၁',
|
|
14167
14480
|
2: '၂',
|
|
14168
14481
|
3: '၃',
|
|
@@ -14174,7 +14487,7 @@
|
|
|
14174
14487
|
9: '၉',
|
|
14175
14488
|
0: '၀',
|
|
14176
14489
|
},
|
|
14177
|
-
numberMap$
|
|
14490
|
+
numberMap$3 = {
|
|
14178
14491
|
'၁': '1',
|
|
14179
14492
|
'၂': '2',
|
|
14180
14493
|
'၃': '3',
|
|
@@ -14232,12 +14545,12 @@
|
|
|
14232
14545
|
},
|
|
14233
14546
|
preparse: function (string) {
|
|
14234
14547
|
return string.replace(/[၁၂၃၄၅၆၇၈၉၀]/g, function (match) {
|
|
14235
|
-
return numberMap$
|
|
14548
|
+
return numberMap$3[match];
|
|
14236
14549
|
});
|
|
14237
14550
|
},
|
|
14238
14551
|
postformat: function (string) {
|
|
14239
14552
|
return string.replace(/\d/g, function (match) {
|
|
14240
|
-
return symbolMap$
|
|
14553
|
+
return symbolMap$3[match];
|
|
14241
14554
|
});
|
|
14242
14555
|
},
|
|
14243
14556
|
week: {
|
|
@@ -14247,6 +14560,11 @@
|
|
|
14247
14560
|
});
|
|
14248
14561
|
|
|
14249
14562
|
//! moment.js locale configuration
|
|
14563
|
+
//! locale : Norwegian Bokmål [nb]
|
|
14564
|
+
//! authors : Espen Hovlandsdal : https://github.com/rexxars
|
|
14565
|
+
//! Sigurd Gartmann : https://github.com/sigurdga
|
|
14566
|
+
//! Stephen Ramthun : https://github.com/stephenramthun
|
|
14567
|
+
|
|
14250
14568
|
|
|
14251
14569
|
hooks.defineLocale('nb', {
|
|
14252
14570
|
months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
|
|
@@ -14302,8 +14620,11 @@
|
|
|
14302
14620
|
});
|
|
14303
14621
|
|
|
14304
14622
|
//! moment.js locale configuration
|
|
14623
|
+
//! locale : Nepalese [ne]
|
|
14624
|
+
//! author : suvash : https://github.com/suvash
|
|
14305
14625
|
|
|
14306
|
-
|
|
14626
|
+
|
|
14627
|
+
var symbolMap$2 = {
|
|
14307
14628
|
1: '१',
|
|
14308
14629
|
2: '२',
|
|
14309
14630
|
3: '३',
|
|
@@ -14315,7 +14636,7 @@
|
|
|
14315
14636
|
9: '९',
|
|
14316
14637
|
0: '०',
|
|
14317
14638
|
},
|
|
14318
|
-
numberMap$
|
|
14639
|
+
numberMap$2 = {
|
|
14319
14640
|
'१': '1',
|
|
14320
14641
|
'२': '2',
|
|
14321
14642
|
'३': '3',
|
|
@@ -14353,12 +14674,12 @@
|
|
|
14353
14674
|
},
|
|
14354
14675
|
preparse: function (string) {
|
|
14355
14676
|
return string.replace(/[१२३४५६७८९०]/g, function (match) {
|
|
14356
|
-
return numberMap$
|
|
14677
|
+
return numberMap$2[match];
|
|
14357
14678
|
});
|
|
14358
14679
|
},
|
|
14359
14680
|
postformat: function (string) {
|
|
14360
14681
|
return string.replace(/\d/g, function (match) {
|
|
14361
|
-
return symbolMap$
|
|
14682
|
+
return symbolMap$2[match];
|
|
14362
14683
|
});
|
|
14363
14684
|
},
|
|
14364
14685
|
meridiemParse: /राति|बिहान|दिउँसो|साँझ/,
|
|
@@ -14420,12 +14741,16 @@
|
|
|
14420
14741
|
});
|
|
14421
14742
|
|
|
14422
14743
|
//! moment.js locale configuration
|
|
14744
|
+
//! locale : Dutch (Belgium) [nl-be]
|
|
14745
|
+
//! author : Joris Röling : https://github.com/jorisroling
|
|
14746
|
+
//! author : Jacob Middag : https://github.com/middagj
|
|
14747
|
+
|
|
14423
14748
|
|
|
14424
14749
|
var monthsShortWithDots$1 =
|
|
14425
14750
|
'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
|
14426
14751
|
monthsShortWithoutDots$1 =
|
|
14427
14752
|
'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
|
14428
|
-
monthsParse$
|
|
14753
|
+
monthsParse$3 = [
|
|
14429
14754
|
/^jan/i,
|
|
14430
14755
|
/^feb/i,
|
|
14431
14756
|
/^(maart|mrt\.?)$/i,
|
|
@@ -14439,7 +14764,7 @@
|
|
|
14439
14764
|
/^nov/i,
|
|
14440
14765
|
/^dec/i,
|
|
14441
14766
|
],
|
|
14442
|
-
monthsRegex$
|
|
14767
|
+
monthsRegex$1 =
|
|
14443
14768
|
/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
|
|
14444
14769
|
|
|
14445
14770
|
hooks.defineLocale('nl-be', {
|
|
@@ -14456,16 +14781,16 @@
|
|
|
14456
14781
|
}
|
|
14457
14782
|
},
|
|
14458
14783
|
|
|
14459
|
-
monthsRegex: monthsRegex$
|
|
14460
|
-
monthsShortRegex: monthsRegex$
|
|
14784
|
+
monthsRegex: monthsRegex$1,
|
|
14785
|
+
monthsShortRegex: monthsRegex$1,
|
|
14461
14786
|
monthsStrictRegex:
|
|
14462
14787
|
/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
|
|
14463
14788
|
monthsShortStrictRegex:
|
|
14464
14789
|
/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
|
14465
14790
|
|
|
14466
|
-
monthsParse: monthsParse$
|
|
14467
|
-
longMonthsParse: monthsParse$
|
|
14468
|
-
shortMonthsParse: monthsParse$
|
|
14791
|
+
monthsParse: monthsParse$3,
|
|
14792
|
+
longMonthsParse: monthsParse$3,
|
|
14793
|
+
shortMonthsParse: monthsParse$3,
|
|
14469
14794
|
|
|
14470
14795
|
weekdays:
|
|
14471
14796
|
'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
|
|
@@ -14518,12 +14843,16 @@
|
|
|
14518
14843
|
});
|
|
14519
14844
|
|
|
14520
14845
|
//! moment.js locale configuration
|
|
14846
|
+
//! locale : Dutch [nl]
|
|
14847
|
+
//! author : Joris Röling : https://github.com/jorisroling
|
|
14848
|
+
//! author : Jacob Middag : https://github.com/middagj
|
|
14521
14849
|
|
|
14522
|
-
|
|
14850
|
+
|
|
14851
|
+
var monthsShortWithDots =
|
|
14523
14852
|
'jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.'.split('_'),
|
|
14524
|
-
monthsShortWithoutDots
|
|
14853
|
+
monthsShortWithoutDots =
|
|
14525
14854
|
'jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec'.split('_'),
|
|
14526
|
-
monthsParse$
|
|
14855
|
+
monthsParse$2 = [
|
|
14527
14856
|
/^jan/i,
|
|
14528
14857
|
/^feb/i,
|
|
14529
14858
|
/^(maart|mrt\.?)$/i,
|
|
@@ -14537,7 +14866,7 @@
|
|
|
14537
14866
|
/^nov/i,
|
|
14538
14867
|
/^dec/i,
|
|
14539
14868
|
],
|
|
14540
|
-
monthsRegex
|
|
14869
|
+
monthsRegex =
|
|
14541
14870
|
/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december|jan\.?|feb\.?|mrt\.?|apr\.?|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i;
|
|
14542
14871
|
|
|
14543
14872
|
hooks.defineLocale('nl', {
|
|
@@ -14546,24 +14875,24 @@
|
|
|
14546
14875
|
),
|
|
14547
14876
|
monthsShort: function (m, format) {
|
|
14548
14877
|
if (!m) {
|
|
14549
|
-
return monthsShortWithDots
|
|
14878
|
+
return monthsShortWithDots;
|
|
14550
14879
|
} else if (/-MMM-/.test(format)) {
|
|
14551
|
-
return monthsShortWithoutDots
|
|
14880
|
+
return monthsShortWithoutDots[m.month()];
|
|
14552
14881
|
} else {
|
|
14553
|
-
return monthsShortWithDots
|
|
14882
|
+
return monthsShortWithDots[m.month()];
|
|
14554
14883
|
}
|
|
14555
14884
|
},
|
|
14556
14885
|
|
|
14557
|
-
monthsRegex: monthsRegex
|
|
14558
|
-
monthsShortRegex: monthsRegex
|
|
14886
|
+
monthsRegex: monthsRegex,
|
|
14887
|
+
monthsShortRegex: monthsRegex,
|
|
14559
14888
|
monthsStrictRegex:
|
|
14560
14889
|
/^(januari|februari|maart|april|mei|ju[nl]i|augustus|september|oktober|november|december)/i,
|
|
14561
14890
|
monthsShortStrictRegex:
|
|
14562
14891
|
/^(jan\.?|feb\.?|mrt\.?|apr\.?|mei|ju[nl]\.?|aug\.?|sep\.?|okt\.?|nov\.?|dec\.?)/i,
|
|
14563
14892
|
|
|
14564
|
-
monthsParse: monthsParse$
|
|
14565
|
-
longMonthsParse: monthsParse$
|
|
14566
|
-
shortMonthsParse: monthsParse$
|
|
14893
|
+
monthsParse: monthsParse$2,
|
|
14894
|
+
longMonthsParse: monthsParse$2,
|
|
14895
|
+
shortMonthsParse: monthsParse$2,
|
|
14567
14896
|
|
|
14568
14897
|
weekdays:
|
|
14569
14898
|
'zondag_maandag_dinsdag_woensdag_donderdag_vrijdag_zaterdag'.split('_'),
|
|
@@ -14618,6 +14947,10 @@
|
|
|
14618
14947
|
});
|
|
14619
14948
|
|
|
14620
14949
|
//! moment.js locale configuration
|
|
14950
|
+
//! locale : Nynorsk [nn]
|
|
14951
|
+
//! authors : https://github.com/mechuwind
|
|
14952
|
+
//! Stephen Ramthun : https://github.com/stephenramthun
|
|
14953
|
+
|
|
14621
14954
|
|
|
14622
14955
|
hooks.defineLocale('nn', {
|
|
14623
14956
|
months: 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split(
|
|
@@ -14673,6 +15006,9 @@
|
|
|
14673
15006
|
});
|
|
14674
15007
|
|
|
14675
15008
|
//! moment.js locale configuration
|
|
15009
|
+
//! locale : Occitan, lengadocian dialecte [oc-lnc]
|
|
15010
|
+
//! author : Quentin PAGÈS : https://github.com/Quenty31
|
|
15011
|
+
|
|
14676
15012
|
|
|
14677
15013
|
hooks.defineLocale('oc-lnc', {
|
|
14678
15014
|
months: {
|
|
@@ -14755,8 +15091,11 @@
|
|
|
14755
15091
|
});
|
|
14756
15092
|
|
|
14757
15093
|
//! moment.js locale configuration
|
|
15094
|
+
//! locale : Punjabi (India) [pa-in]
|
|
15095
|
+
//! author : Harpreet Singh : https://github.com/harpreetkhalsagtbit
|
|
14758
15096
|
|
|
14759
|
-
|
|
15097
|
+
|
|
15098
|
+
var symbolMap$1 = {
|
|
14760
15099
|
1: '੧',
|
|
14761
15100
|
2: '੨',
|
|
14762
15101
|
3: '੩',
|
|
@@ -14768,7 +15107,7 @@
|
|
|
14768
15107
|
9: '੯',
|
|
14769
15108
|
0: '੦',
|
|
14770
15109
|
},
|
|
14771
|
-
numberMap$
|
|
15110
|
+
numberMap$1 = {
|
|
14772
15111
|
'੧': '1',
|
|
14773
15112
|
'੨': '2',
|
|
14774
15113
|
'੩': '3',
|
|
@@ -14829,12 +15168,12 @@
|
|
|
14829
15168
|
},
|
|
14830
15169
|
preparse: function (string) {
|
|
14831
15170
|
return string.replace(/[੧੨੩੪੫੬੭੮੯੦]/g, function (match) {
|
|
14832
|
-
return numberMap$
|
|
15171
|
+
return numberMap$1[match];
|
|
14833
15172
|
});
|
|
14834
15173
|
},
|
|
14835
15174
|
postformat: function (string) {
|
|
14836
15175
|
return string.replace(/\d/g, function (match) {
|
|
14837
|
-
return symbolMap$
|
|
15176
|
+
return symbolMap$1[match];
|
|
14838
15177
|
});
|
|
14839
15178
|
},
|
|
14840
15179
|
// Punjabi notation for meridiems are quite fuzzy in practice. While there exists
|
|
@@ -14874,6 +15213,9 @@
|
|
|
14874
15213
|
});
|
|
14875
15214
|
|
|
14876
15215
|
//! moment.js locale configuration
|
|
15216
|
+
//! locale : Polish [pl]
|
|
15217
|
+
//! author : Rafal Hirsz : https://github.com/evoL
|
|
15218
|
+
|
|
14877
15219
|
|
|
14878
15220
|
var monthsNominative =
|
|
14879
15221
|
'styczeń_luty_marzec_kwiecień_maj_czerwiec_lipiec_sierpień_wrzesień_październik_listopad_grudzień'.split(
|
|
@@ -14883,7 +15225,7 @@
|
|
|
14883
15225
|
'stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_września_października_listopada_grudnia'.split(
|
|
14884
15226
|
'_'
|
|
14885
15227
|
),
|
|
14886
|
-
monthsParse$
|
|
15228
|
+
monthsParse$1 = [
|
|
14887
15229
|
/^sty/i,
|
|
14888
15230
|
/^lut/i,
|
|
14889
15231
|
/^mar/i,
|
|
@@ -14900,7 +15242,7 @@
|
|
|
14900
15242
|
function plural$3(n) {
|
|
14901
15243
|
return n % 10 < 5 && n % 10 > 1 && ~~(n / 10) % 10 !== 1;
|
|
14902
15244
|
}
|
|
14903
|
-
function translate$
|
|
15245
|
+
function translate$2(number, withoutSuffix, key) {
|
|
14904
15246
|
var result = number + ' ';
|
|
14905
15247
|
switch (key) {
|
|
14906
15248
|
case 'ss':
|
|
@@ -14933,9 +15275,9 @@
|
|
|
14933
15275
|
}
|
|
14934
15276
|
},
|
|
14935
15277
|
monthsShort: 'sty_lut_mar_kwi_maj_cze_lip_sie_wrz_paź_lis_gru'.split('_'),
|
|
14936
|
-
monthsParse: monthsParse$
|
|
14937
|
-
longMonthsParse: monthsParse$
|
|
14938
|
-
shortMonthsParse: monthsParse$
|
|
15278
|
+
monthsParse: monthsParse$1,
|
|
15279
|
+
longMonthsParse: monthsParse$1,
|
|
15280
|
+
shortMonthsParse: monthsParse$1,
|
|
14939
15281
|
weekdays:
|
|
14940
15282
|
'niedziela_poniedziałek_wtorek_środa_czwartek_piątek_sobota'.split('_'),
|
|
14941
15283
|
weekdaysShort: 'ndz_pon_wt_śr_czw_pt_sob'.split('_'),
|
|
@@ -14988,19 +15330,19 @@
|
|
|
14988
15330
|
future: 'za %s',
|
|
14989
15331
|
past: '%s temu',
|
|
14990
15332
|
s: 'kilka sekund',
|
|
14991
|
-
ss: translate$
|
|
14992
|
-
m: translate$
|
|
14993
|
-
mm: translate$
|
|
14994
|
-
h: translate$
|
|
14995
|
-
hh: translate$
|
|
15333
|
+
ss: translate$2,
|
|
15334
|
+
m: translate$2,
|
|
15335
|
+
mm: translate$2,
|
|
15336
|
+
h: translate$2,
|
|
15337
|
+
hh: translate$2,
|
|
14996
15338
|
d: '1 dzień',
|
|
14997
15339
|
dd: '%d dni',
|
|
14998
15340
|
w: 'tydzień',
|
|
14999
|
-
ww: translate$
|
|
15341
|
+
ww: translate$2,
|
|
15000
15342
|
M: 'miesiąc',
|
|
15001
|
-
MM: translate$
|
|
15343
|
+
MM: translate$2,
|
|
15002
15344
|
y: 'rok',
|
|
15003
|
-
yy: translate$
|
|
15345
|
+
yy: translate$2,
|
|
15004
15346
|
},
|
|
15005
15347
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
15006
15348
|
ordinal: '%d.',
|
|
@@ -15011,6 +15353,9 @@
|
|
|
15011
15353
|
});
|
|
15012
15354
|
|
|
15013
15355
|
//! moment.js locale configuration
|
|
15356
|
+
//! locale : Portuguese (Brazil) [pt-br]
|
|
15357
|
+
//! author : Caio Ribeiro Pereira : https://github.com/caio-ribeiro-pereira
|
|
15358
|
+
|
|
15014
15359
|
|
|
15015
15360
|
hooks.defineLocale('pt-br', {
|
|
15016
15361
|
months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
|
|
@@ -15066,6 +15411,9 @@
|
|
|
15066
15411
|
});
|
|
15067
15412
|
|
|
15068
15413
|
//! moment.js locale configuration
|
|
15414
|
+
//! locale : Portuguese [pt]
|
|
15415
|
+
//! author : Jefferson : https://github.com/jalex79
|
|
15416
|
+
|
|
15069
15417
|
|
|
15070
15418
|
hooks.defineLocale('pt', {
|
|
15071
15419
|
months: 'janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro'.split(
|
|
@@ -15126,6 +15474,11 @@
|
|
|
15126
15474
|
});
|
|
15127
15475
|
|
|
15128
15476
|
//! moment.js locale configuration
|
|
15477
|
+
//! locale : Romanian [ro]
|
|
15478
|
+
//! author : Vlad Gurdiga : https://github.com/gurdiga
|
|
15479
|
+
//! author : Valentin Agachi : https://github.com/avaly
|
|
15480
|
+
//! author : Emanuel Cepoi : https://github.com/cepem
|
|
15481
|
+
|
|
15129
15482
|
|
|
15130
15483
|
function relativeTimeWithPlural$2(number, withoutSuffix, key) {
|
|
15131
15484
|
var format = {
|
|
@@ -15197,8 +15550,13 @@
|
|
|
15197
15550
|
});
|
|
15198
15551
|
|
|
15199
15552
|
//! moment.js locale configuration
|
|
15553
|
+
//! locale : Russian [ru]
|
|
15554
|
+
//! author : Viktorminator : https://github.com/Viktorminator
|
|
15555
|
+
//! author : Menelion Elensúle : https://github.com/Oire
|
|
15556
|
+
//! author : Коренберг Марк : https://github.com/socketpair
|
|
15200
15557
|
|
|
15201
|
-
|
|
15558
|
+
|
|
15559
|
+
function plural$2(word, num) {
|
|
15202
15560
|
var forms = word.split('_');
|
|
15203
15561
|
return num % 10 === 1 && num % 100 !== 11
|
|
15204
15562
|
? forms[0]
|
|
@@ -15206,7 +15564,7 @@
|
|
|
15206
15564
|
? forms[1]
|
|
15207
15565
|
: forms[2];
|
|
15208
15566
|
}
|
|
15209
|
-
function relativeTimeWithPlural$
|
|
15567
|
+
function relativeTimeWithPlural$1(number, withoutSuffix, key) {
|
|
15210
15568
|
var format = {
|
|
15211
15569
|
ss: withoutSuffix ? 'секунда_секунды_секунд' : 'секунду_секунды_секунд',
|
|
15212
15570
|
mm: withoutSuffix ? 'минута_минуты_минут' : 'минуту_минуты_минут',
|
|
@@ -15219,10 +15577,10 @@
|
|
|
15219
15577
|
if (key === 'm') {
|
|
15220
15578
|
return withoutSuffix ? 'минута' : 'минуту';
|
|
15221
15579
|
} else {
|
|
15222
|
-
return number + ' ' + plural$
|
|
15580
|
+
return number + ' ' + plural$2(format[key], +number);
|
|
15223
15581
|
}
|
|
15224
15582
|
}
|
|
15225
|
-
var monthsParse
|
|
15583
|
+
var monthsParse = [
|
|
15226
15584
|
/^янв/i,
|
|
15227
15585
|
/^фев/i,
|
|
15228
15586
|
/^мар/i,
|
|
@@ -15272,9 +15630,9 @@
|
|
|
15272
15630
|
},
|
|
15273
15631
|
weekdaysShort: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
|
|
15274
15632
|
weekdaysMin: 'вс_пн_вт_ср_чт_пт_сб'.split('_'),
|
|
15275
|
-
monthsParse: monthsParse
|
|
15276
|
-
longMonthsParse: monthsParse
|
|
15277
|
-
shortMonthsParse: monthsParse
|
|
15633
|
+
monthsParse: monthsParse,
|
|
15634
|
+
longMonthsParse: monthsParse,
|
|
15635
|
+
shortMonthsParse: monthsParse,
|
|
15278
15636
|
|
|
15279
15637
|
// полные названия с падежами, по три буквы, для некоторых, по 4 буквы, сокращения с точкой и без точки
|
|
15280
15638
|
monthsRegex:
|
|
@@ -15353,19 +15711,19 @@
|
|
|
15353
15711
|
future: 'через %s',
|
|
15354
15712
|
past: '%s назад',
|
|
15355
15713
|
s: 'несколько секунд',
|
|
15356
|
-
ss: relativeTimeWithPlural$
|
|
15357
|
-
m: relativeTimeWithPlural$
|
|
15358
|
-
mm: relativeTimeWithPlural$
|
|
15714
|
+
ss: relativeTimeWithPlural$1,
|
|
15715
|
+
m: relativeTimeWithPlural$1,
|
|
15716
|
+
mm: relativeTimeWithPlural$1,
|
|
15359
15717
|
h: 'час',
|
|
15360
|
-
hh: relativeTimeWithPlural$
|
|
15718
|
+
hh: relativeTimeWithPlural$1,
|
|
15361
15719
|
d: 'день',
|
|
15362
|
-
dd: relativeTimeWithPlural$
|
|
15720
|
+
dd: relativeTimeWithPlural$1,
|
|
15363
15721
|
w: 'неделя',
|
|
15364
|
-
ww: relativeTimeWithPlural$
|
|
15722
|
+
ww: relativeTimeWithPlural$1,
|
|
15365
15723
|
M: 'месяц',
|
|
15366
|
-
MM: relativeTimeWithPlural$
|
|
15724
|
+
MM: relativeTimeWithPlural$1,
|
|
15367
15725
|
y: 'год',
|
|
15368
|
-
yy: relativeTimeWithPlural$
|
|
15726
|
+
yy: relativeTimeWithPlural$1,
|
|
15369
15727
|
},
|
|
15370
15728
|
meridiemParse: /ночи|утра|дня|вечера/i,
|
|
15371
15729
|
isPM: function (input) {
|
|
@@ -15405,8 +15763,11 @@
|
|
|
15405
15763
|
});
|
|
15406
15764
|
|
|
15407
15765
|
//! moment.js locale configuration
|
|
15766
|
+
//! locale : Sindhi [sd]
|
|
15767
|
+
//! author : Narain Sagar : https://github.com/narainsagar
|
|
15768
|
+
|
|
15408
15769
|
|
|
15409
|
-
var months$
|
|
15770
|
+
var months$2 = [
|
|
15410
15771
|
'جنوري',
|
|
15411
15772
|
'فيبروري',
|
|
15412
15773
|
'مارچ',
|
|
@@ -15423,8 +15784,8 @@
|
|
|
15423
15784
|
days$1 = ['آچر', 'سومر', 'اڱارو', 'اربع', 'خميس', 'جمع', 'ڇنڇر'];
|
|
15424
15785
|
|
|
15425
15786
|
hooks.defineLocale('sd', {
|
|
15426
|
-
months: months$
|
|
15427
|
-
monthsShort: months$
|
|
15787
|
+
months: months$2,
|
|
15788
|
+
monthsShort: months$2,
|
|
15428
15789
|
weekdays: days$1,
|
|
15429
15790
|
weekdaysShort: days$1,
|
|
15430
15791
|
weekdaysMin: days$1,
|
|
@@ -15483,6 +15844,9 @@
|
|
|
15483
15844
|
});
|
|
15484
15845
|
|
|
15485
15846
|
//! moment.js locale configuration
|
|
15847
|
+
//! locale : Northern Sami [se]
|
|
15848
|
+
//! authors : Bård Rolstad Henriksen : https://github.com/karamell
|
|
15849
|
+
|
|
15486
15850
|
|
|
15487
15851
|
hooks.defineLocale('se', {
|
|
15488
15852
|
months: 'ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu'.split(
|
|
@@ -15537,6 +15901,9 @@
|
|
|
15537
15901
|
});
|
|
15538
15902
|
|
|
15539
15903
|
//! moment.js locale configuration
|
|
15904
|
+
//! locale : Sinhalese [si]
|
|
15905
|
+
//! author : Sampath Sitinamaluwa : https://github.com/sampathsris
|
|
15906
|
+
|
|
15540
15907
|
|
|
15541
15908
|
/*jshint -W100*/
|
|
15542
15909
|
hooks.defineLocale('si', {
|
|
@@ -15603,23 +15970,27 @@
|
|
|
15603
15970
|
});
|
|
15604
15971
|
|
|
15605
15972
|
//! moment.js locale configuration
|
|
15973
|
+
//! locale : Slovak [sk]
|
|
15974
|
+
//! author : Martin Minka : https://github.com/k2s
|
|
15975
|
+
//! based on work of petrbela : https://github.com/petrbela
|
|
15606
15976
|
|
|
15607
|
-
|
|
15977
|
+
|
|
15978
|
+
var months$1 =
|
|
15608
15979
|
'január_február_marec_apríl_máj_jún_júl_august_september_október_november_december'.split(
|
|
15609
15980
|
'_'
|
|
15610
15981
|
),
|
|
15611
|
-
monthsShort
|
|
15612
|
-
function plural$
|
|
15982
|
+
monthsShort = 'jan_feb_mar_apr_máj_jún_júl_aug_sep_okt_nov_dec'.split('_');
|
|
15983
|
+
function plural$1(n) {
|
|
15613
15984
|
return n > 1 && n < 5;
|
|
15614
15985
|
}
|
|
15615
|
-
function translate$
|
|
15986
|
+
function translate$1(number, withoutSuffix, key, isFuture) {
|
|
15616
15987
|
var result = number + ' ';
|
|
15617
15988
|
switch (key) {
|
|
15618
15989
|
case 's': // a few seconds / in a few seconds / a few seconds ago
|
|
15619
15990
|
return withoutSuffix || isFuture ? 'pár sekúnd' : 'pár sekundami';
|
|
15620
15991
|
case 'ss': // 9 seconds / in 9 seconds / 9 seconds ago
|
|
15621
15992
|
if (withoutSuffix || isFuture) {
|
|
15622
|
-
return result + (plural$
|
|
15993
|
+
return result + (plural$1(number) ? 'sekundy' : 'sekúnd');
|
|
15623
15994
|
} else {
|
|
15624
15995
|
return result + 'sekundami';
|
|
15625
15996
|
}
|
|
@@ -15627,7 +15998,7 @@
|
|
|
15627
15998
|
return withoutSuffix ? 'minúta' : isFuture ? 'minútu' : 'minútou';
|
|
15628
15999
|
case 'mm': // 9 minutes / in 9 minutes / 9 minutes ago
|
|
15629
16000
|
if (withoutSuffix || isFuture) {
|
|
15630
|
-
return result + (plural$
|
|
16001
|
+
return result + (plural$1(number) ? 'minúty' : 'minút');
|
|
15631
16002
|
} else {
|
|
15632
16003
|
return result + 'minútami';
|
|
15633
16004
|
}
|
|
@@ -15635,7 +16006,7 @@
|
|
|
15635
16006
|
return withoutSuffix ? 'hodina' : isFuture ? 'hodinu' : 'hodinou';
|
|
15636
16007
|
case 'hh': // 9 hours / in 9 hours / 9 hours ago
|
|
15637
16008
|
if (withoutSuffix || isFuture) {
|
|
15638
|
-
return result + (plural$
|
|
16009
|
+
return result + (plural$1(number) ? 'hodiny' : 'hodín');
|
|
15639
16010
|
} else {
|
|
15640
16011
|
return result + 'hodinami';
|
|
15641
16012
|
}
|
|
@@ -15643,7 +16014,7 @@
|
|
|
15643
16014
|
return withoutSuffix || isFuture ? 'deň' : 'dňom';
|
|
15644
16015
|
case 'dd': // 9 days / in 9 days / 9 days ago
|
|
15645
16016
|
if (withoutSuffix || isFuture) {
|
|
15646
|
-
return result + (plural$
|
|
16017
|
+
return result + (plural$1(number) ? 'dni' : 'dní');
|
|
15647
16018
|
} else {
|
|
15648
16019
|
return result + 'dňami';
|
|
15649
16020
|
}
|
|
@@ -15651,7 +16022,7 @@
|
|
|
15651
16022
|
return withoutSuffix || isFuture ? 'mesiac' : 'mesiacom';
|
|
15652
16023
|
case 'MM': // 9 months / in 9 months / 9 months ago
|
|
15653
16024
|
if (withoutSuffix || isFuture) {
|
|
15654
|
-
return result + (plural$
|
|
16025
|
+
return result + (plural$1(number) ? 'mesiace' : 'mesiacov');
|
|
15655
16026
|
} else {
|
|
15656
16027
|
return result + 'mesiacmi';
|
|
15657
16028
|
}
|
|
@@ -15659,7 +16030,7 @@
|
|
|
15659
16030
|
return withoutSuffix || isFuture ? 'rok' : 'rokom';
|
|
15660
16031
|
case 'yy': // 9 years / in 9 years / 9 years ago
|
|
15661
16032
|
if (withoutSuffix || isFuture) {
|
|
15662
|
-
return result + (plural$
|
|
16033
|
+
return result + (plural$1(number) ? 'roky' : 'rokov');
|
|
15663
16034
|
} else {
|
|
15664
16035
|
return result + 'rokmi';
|
|
15665
16036
|
}
|
|
@@ -15667,8 +16038,8 @@
|
|
|
15667
16038
|
}
|
|
15668
16039
|
|
|
15669
16040
|
hooks.defineLocale('sk', {
|
|
15670
|
-
months: months$
|
|
15671
|
-
monthsShort: monthsShort
|
|
16041
|
+
months: months$1,
|
|
16042
|
+
monthsShort: monthsShort,
|
|
15672
16043
|
weekdays: 'nedeľa_pondelok_utorok_streda_štvrtok_piatok_sobota'.split('_'),
|
|
15673
16044
|
weekdaysShort: 'ne_po_ut_st_št_pi_so'.split('_'),
|
|
15674
16045
|
weekdaysMin: 'ne_po_ut_st_št_pi_so'.split('_'),
|
|
@@ -15722,18 +16093,18 @@
|
|
|
15722
16093
|
relativeTime: {
|
|
15723
16094
|
future: 'za %s',
|
|
15724
16095
|
past: 'pred %s',
|
|
15725
|
-
s: translate$
|
|
15726
|
-
ss: translate$
|
|
15727
|
-
m: translate$
|
|
15728
|
-
mm: translate$
|
|
15729
|
-
h: translate$
|
|
15730
|
-
hh: translate$
|
|
15731
|
-
d: translate$
|
|
15732
|
-
dd: translate$
|
|
15733
|
-
M: translate$
|
|
15734
|
-
MM: translate$
|
|
15735
|
-
y: translate$
|
|
15736
|
-
yy: translate$
|
|
16096
|
+
s: translate$1,
|
|
16097
|
+
ss: translate$1,
|
|
16098
|
+
m: translate$1,
|
|
16099
|
+
mm: translate$1,
|
|
16100
|
+
h: translate$1,
|
|
16101
|
+
hh: translate$1,
|
|
16102
|
+
d: translate$1,
|
|
16103
|
+
dd: translate$1,
|
|
16104
|
+
M: translate$1,
|
|
16105
|
+
MM: translate$1,
|
|
16106
|
+
y: translate$1,
|
|
16107
|
+
yy: translate$1,
|
|
15737
16108
|
},
|
|
15738
16109
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
15739
16110
|
ordinal: '%d.',
|
|
@@ -15744,8 +16115,11 @@
|
|
|
15744
16115
|
});
|
|
15745
16116
|
|
|
15746
16117
|
//! moment.js locale configuration
|
|
16118
|
+
//! locale : Slovenian [sl]
|
|
16119
|
+
//! author : Robert Sedovšek : https://github.com/sedovsek
|
|
15747
16120
|
|
|
15748
|
-
|
|
16121
|
+
|
|
16122
|
+
function processRelativeTime$1(number, withoutSuffix, key, isFuture) {
|
|
15749
16123
|
var result = number + ' ';
|
|
15750
16124
|
switch (key) {
|
|
15751
16125
|
case 's':
|
|
@@ -15890,18 +16264,18 @@
|
|
|
15890
16264
|
relativeTime: {
|
|
15891
16265
|
future: 'čez %s',
|
|
15892
16266
|
past: 'pred %s',
|
|
15893
|
-
s: processRelativeTime$
|
|
15894
|
-
ss: processRelativeTime$
|
|
15895
|
-
m: processRelativeTime$
|
|
15896
|
-
mm: processRelativeTime$
|
|
15897
|
-
h: processRelativeTime$
|
|
15898
|
-
hh: processRelativeTime$
|
|
15899
|
-
d: processRelativeTime$
|
|
15900
|
-
dd: processRelativeTime$
|
|
15901
|
-
M: processRelativeTime$
|
|
15902
|
-
MM: processRelativeTime$
|
|
15903
|
-
y: processRelativeTime$
|
|
15904
|
-
yy: processRelativeTime$
|
|
16267
|
+
s: processRelativeTime$1,
|
|
16268
|
+
ss: processRelativeTime$1,
|
|
16269
|
+
m: processRelativeTime$1,
|
|
16270
|
+
mm: processRelativeTime$1,
|
|
16271
|
+
h: processRelativeTime$1,
|
|
16272
|
+
hh: processRelativeTime$1,
|
|
16273
|
+
d: processRelativeTime$1,
|
|
16274
|
+
dd: processRelativeTime$1,
|
|
16275
|
+
M: processRelativeTime$1,
|
|
16276
|
+
MM: processRelativeTime$1,
|
|
16277
|
+
y: processRelativeTime$1,
|
|
16278
|
+
yy: processRelativeTime$1,
|
|
15905
16279
|
},
|
|
15906
16280
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
15907
16281
|
ordinal: '%d.',
|
|
@@ -15912,6 +16286,11 @@
|
|
|
15912
16286
|
});
|
|
15913
16287
|
|
|
15914
16288
|
//! moment.js locale configuration
|
|
16289
|
+
//! locale : Albanian [sq]
|
|
16290
|
+
//! author : Flakërim Ismani : https://github.com/flakerimi
|
|
16291
|
+
//! author : Menelion Elensúle : https://github.com/Oire
|
|
16292
|
+
//! author : Oerd Cukalla : https://github.com/oerd
|
|
16293
|
+
|
|
15915
16294
|
|
|
15916
16295
|
hooks.defineLocale('sq', {
|
|
15917
16296
|
months: 'Janar_Shkurt_Mars_Prill_Maj_Qershor_Korrik_Gusht_Shtator_Tetor_Nëntor_Dhjetor'.split(
|
|
@@ -15972,6 +16351,10 @@
|
|
|
15972
16351
|
});
|
|
15973
16352
|
|
|
15974
16353
|
//! moment.js locale configuration
|
|
16354
|
+
//! locale : Serbian Cyrillic [sr-cyrl]
|
|
16355
|
+
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
|
16356
|
+
//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic
|
|
16357
|
+
|
|
15975
16358
|
|
|
15976
16359
|
var translator$1 = {
|
|
15977
16360
|
words: {
|
|
@@ -16095,8 +16478,12 @@
|
|
|
16095
16478
|
});
|
|
16096
16479
|
|
|
16097
16480
|
//! moment.js locale configuration
|
|
16481
|
+
//! locale : Serbian [sr]
|
|
16482
|
+
//! author : Milan Janačković<milanjanackovic@gmail.com> : https://github.com/milan-j
|
|
16483
|
+
//! author : Stefan Crnjaković <stefan@hotmail.rs> : https://github.com/crnjakovic
|
|
16098
16484
|
|
|
16099
|
-
|
|
16485
|
+
|
|
16486
|
+
var translator = {
|
|
16100
16487
|
words: {
|
|
16101
16488
|
//Different grammatical cases
|
|
16102
16489
|
ss: ['sekunda', 'sekunde', 'sekundi'],
|
|
@@ -16122,7 +16509,7 @@
|
|
|
16122
16509
|
return wordKey[2];
|
|
16123
16510
|
},
|
|
16124
16511
|
translate: function (number, withoutSuffix, key, isFuture) {
|
|
16125
|
-
var wordKey = translator
|
|
16512
|
+
var wordKey = translator.words[key],
|
|
16126
16513
|
word;
|
|
16127
16514
|
|
|
16128
16515
|
if (key.length === 1) {
|
|
@@ -16131,7 +16518,7 @@
|
|
|
16131
16518
|
return isFuture || withoutSuffix ? wordKey[0] : wordKey[1];
|
|
16132
16519
|
}
|
|
16133
16520
|
|
|
16134
|
-
word = translator
|
|
16521
|
+
word = translator.correctGrammaticalCase(number, wordKey);
|
|
16135
16522
|
// Nominativ
|
|
16136
16523
|
if (key === 'yy' && withoutSuffix && word === 'godinu') {
|
|
16137
16524
|
return number + ' godina';
|
|
@@ -16199,17 +16586,17 @@
|
|
|
16199
16586
|
future: 'za %s',
|
|
16200
16587
|
past: 'pre %s',
|
|
16201
16588
|
s: 'nekoliko sekundi',
|
|
16202
|
-
ss: translator
|
|
16203
|
-
m: translator
|
|
16204
|
-
mm: translator
|
|
16205
|
-
h: translator
|
|
16206
|
-
hh: translator
|
|
16207
|
-
d: translator
|
|
16208
|
-
dd: translator
|
|
16209
|
-
M: translator
|
|
16210
|
-
MM: translator
|
|
16211
|
-
y: translator
|
|
16212
|
-
yy: translator
|
|
16589
|
+
ss: translator.translate,
|
|
16590
|
+
m: translator.translate,
|
|
16591
|
+
mm: translator.translate,
|
|
16592
|
+
h: translator.translate,
|
|
16593
|
+
hh: translator.translate,
|
|
16594
|
+
d: translator.translate,
|
|
16595
|
+
dd: translator.translate,
|
|
16596
|
+
M: translator.translate,
|
|
16597
|
+
MM: translator.translate,
|
|
16598
|
+
y: translator.translate,
|
|
16599
|
+
yy: translator.translate,
|
|
16213
16600
|
},
|
|
16214
16601
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
16215
16602
|
ordinal: '%d.',
|
|
@@ -16220,6 +16607,9 @@
|
|
|
16220
16607
|
});
|
|
16221
16608
|
|
|
16222
16609
|
//! moment.js locale configuration
|
|
16610
|
+
//! locale : siSwati [ss]
|
|
16611
|
+
//! author : Nicolai Davies<mail@nicolai.io> : https://github.com/nicolaidavies
|
|
16612
|
+
|
|
16223
16613
|
|
|
16224
16614
|
hooks.defineLocale('ss', {
|
|
16225
16615
|
months: "Bhimbidvwane_Indlovana_Indlov'lenkhulu_Mabasa_Inkhwekhweti_Inhlaba_Kholwane_Ingci_Inyoni_Imphala_Lweti_Ingongoni".split(
|
|
@@ -16301,6 +16691,9 @@
|
|
|
16301
16691
|
});
|
|
16302
16692
|
|
|
16303
16693
|
//! moment.js locale configuration
|
|
16694
|
+
//! locale : Swedish [sv]
|
|
16695
|
+
//! author : Jens Alm : https://github.com/ulmus
|
|
16696
|
+
|
|
16304
16697
|
|
|
16305
16698
|
hooks.defineLocale('sv', {
|
|
16306
16699
|
months: 'januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december'.split(
|
|
@@ -16366,6 +16759,9 @@
|
|
|
16366
16759
|
});
|
|
16367
16760
|
|
|
16368
16761
|
//! moment.js locale configuration
|
|
16762
|
+
//! locale : Swahili [sw]
|
|
16763
|
+
//! author : Fahad Kassim : https://github.com/fadsel
|
|
16764
|
+
|
|
16369
16765
|
|
|
16370
16766
|
hooks.defineLocale('sw', {
|
|
16371
16767
|
months: 'Januari_Februari_Machi_Aprili_Mei_Juni_Julai_Agosti_Septemba_Oktoba_Novemba_Desemba'.split(
|
|
@@ -16418,8 +16814,11 @@
|
|
|
16418
16814
|
});
|
|
16419
16815
|
|
|
16420
16816
|
//! moment.js locale configuration
|
|
16817
|
+
//! locale : Tamil [ta]
|
|
16818
|
+
//! author : Arjunkumar Krishnamoorthy : https://github.com/tk120404
|
|
16421
16819
|
|
|
16422
|
-
|
|
16820
|
+
|
|
16821
|
+
var symbolMap = {
|
|
16423
16822
|
1: '௧',
|
|
16424
16823
|
2: '௨',
|
|
16425
16824
|
3: '௩',
|
|
@@ -16431,7 +16830,7 @@
|
|
|
16431
16830
|
9: '௯',
|
|
16432
16831
|
0: '௦',
|
|
16433
16832
|
},
|
|
16434
|
-
numberMap
|
|
16833
|
+
numberMap = {
|
|
16435
16834
|
'௧': '1',
|
|
16436
16835
|
'௨': '2',
|
|
16437
16836
|
'௩': '3',
|
|
@@ -16498,12 +16897,12 @@
|
|
|
16498
16897
|
},
|
|
16499
16898
|
preparse: function (string) {
|
|
16500
16899
|
return string.replace(/[௧௨௩௪௫௬௭௮௯௦]/g, function (match) {
|
|
16501
|
-
return numberMap
|
|
16900
|
+
return numberMap[match];
|
|
16502
16901
|
});
|
|
16503
16902
|
},
|
|
16504
16903
|
postformat: function (string) {
|
|
16505
16904
|
return string.replace(/\d/g, function (match) {
|
|
16506
|
-
return symbolMap
|
|
16905
|
+
return symbolMap[match];
|
|
16507
16906
|
});
|
|
16508
16907
|
},
|
|
16509
16908
|
// refer http://ta.wikipedia.org/s/1er1
|
|
@@ -16546,6 +16945,9 @@
|
|
|
16546
16945
|
});
|
|
16547
16946
|
|
|
16548
16947
|
//! moment.js locale configuration
|
|
16948
|
+
//! locale : Telugu [te]
|
|
16949
|
+
//! author : Krishna Chaitanya Thota : https://github.com/kcthota
|
|
16950
|
+
|
|
16549
16951
|
|
|
16550
16952
|
hooks.defineLocale('te', {
|
|
16551
16953
|
months: 'జనవరి_ఫిబ్రవరి_మార్చి_ఏప్రిల్_మే_జూన్_జులై_ఆగస్టు_సెప్టెంబర్_అక్టోబర్_నవంబర్_డిసెంబర్'.split(
|
|
@@ -16631,6 +17033,11 @@
|
|
|
16631
17033
|
});
|
|
16632
17034
|
|
|
16633
17035
|
//! moment.js locale configuration
|
|
17036
|
+
//! locale : Tetun Dili (East Timor) [tet]
|
|
17037
|
+
//! author : Joshua Brooks : https://github.com/joshbrooks
|
|
17038
|
+
//! author : Onorio De J. Afonso : https://github.com/marobo
|
|
17039
|
+
//! author : Sonia Simoes : https://github.com/soniasimoes
|
|
17040
|
+
|
|
16634
17041
|
|
|
16635
17042
|
hooks.defineLocale('tet', {
|
|
16636
17043
|
months: 'Janeiru_Fevereiru_Marsu_Abril_Maiu_Juñu_Jullu_Agustu_Setembru_Outubru_Novembru_Dezembru'.split(
|
|
@@ -16694,8 +17101,11 @@
|
|
|
16694
17101
|
});
|
|
16695
17102
|
|
|
16696
17103
|
//! moment.js locale configuration
|
|
17104
|
+
//! locale : Tajik [tg]
|
|
17105
|
+
//! author : Orif N. Jr. : https://github.com/orif-jr
|
|
16697
17106
|
|
|
16698
|
-
|
|
17107
|
+
|
|
17108
|
+
var suffixes$2 = {
|
|
16699
17109
|
0: '-ум',
|
|
16700
17110
|
1: '-ум',
|
|
16701
17111
|
2: '-юм',
|
|
@@ -16799,7 +17209,7 @@
|
|
|
16799
17209
|
ordinal: function (number) {
|
|
16800
17210
|
var a = number % 10,
|
|
16801
17211
|
b = number >= 100 ? 100 : null;
|
|
16802
|
-
return number + (suffixes$
|
|
17212
|
+
return number + (suffixes$2[number] || suffixes$2[a] || suffixes$2[b]);
|
|
16803
17213
|
},
|
|
16804
17214
|
week: {
|
|
16805
17215
|
dow: 1, // Monday is the first day of the week.
|
|
@@ -16808,6 +17218,9 @@
|
|
|
16808
17218
|
});
|
|
16809
17219
|
|
|
16810
17220
|
//! moment.js locale configuration
|
|
17221
|
+
//! locale : Thai [th]
|
|
17222
|
+
//! author : Kridsada Thanabulpong : https://github.com/sirn
|
|
17223
|
+
|
|
16811
17224
|
|
|
16812
17225
|
hooks.defineLocale('th', {
|
|
16813
17226
|
months: 'มกราคม_กุมภาพันธ์_มีนาคม_เมษายน_พฤษภาคม_มิถุนายน_กรกฎาคม_สิงหาคม_กันยายน_ตุลาคม_พฤศจิกายน_ธันวาคม'.split(
|
|
@@ -16870,8 +17283,11 @@
|
|
|
16870
17283
|
});
|
|
16871
17284
|
|
|
16872
17285
|
//! moment.js locale configuration
|
|
17286
|
+
//! locale : Turkmen [tk]
|
|
17287
|
+
//! author : Atamyrat Abdyrahmanov : https://github.com/atamyratabdy
|
|
16873
17288
|
|
|
16874
|
-
|
|
17289
|
+
|
|
17290
|
+
var suffixes$1 = {
|
|
16875
17291
|
1: "'inji",
|
|
16876
17292
|
5: "'inji",
|
|
16877
17293
|
8: "'inji",
|
|
@@ -16948,7 +17364,7 @@
|
|
|
16948
17364
|
var a = number % 10,
|
|
16949
17365
|
b = (number % 100) - a,
|
|
16950
17366
|
c = number >= 100 ? 100 : null;
|
|
16951
|
-
return number + (suffixes$
|
|
17367
|
+
return number + (suffixes$1[a] || suffixes$1[b] || suffixes$1[c]);
|
|
16952
17368
|
}
|
|
16953
17369
|
},
|
|
16954
17370
|
week: {
|
|
@@ -16958,6 +17374,9 @@
|
|
|
16958
17374
|
});
|
|
16959
17375
|
|
|
16960
17376
|
//! moment.js locale configuration
|
|
17377
|
+
//! locale : Tagalog (Philippines) [tl-ph]
|
|
17378
|
+
//! author : Dan Hagman : https://github.com/hagmandan
|
|
17379
|
+
|
|
16961
17380
|
|
|
16962
17381
|
hooks.defineLocale('tl-ph', {
|
|
16963
17382
|
months: 'Enero_Pebrero_Marso_Abril_Mayo_Hunyo_Hulyo_Agosto_Setyembre_Oktubre_Nobyembre_Disyembre'.split(
|
|
@@ -17012,6 +17431,9 @@
|
|
|
17012
17431
|
});
|
|
17013
17432
|
|
|
17014
17433
|
//! moment.js locale configuration
|
|
17434
|
+
//! locale : Klingon [tlh]
|
|
17435
|
+
//! author : Dominika Kruk : https://github.com/amaranthrose
|
|
17436
|
+
|
|
17015
17437
|
|
|
17016
17438
|
var numbersNouns = 'pagh_wa’_cha’_wej_loS_vagh_jav_Soch_chorgh_Hut'.split('_');
|
|
17017
17439
|
|
|
@@ -17041,7 +17463,7 @@
|
|
|
17041
17463
|
return time;
|
|
17042
17464
|
}
|
|
17043
17465
|
|
|
17044
|
-
function translate
|
|
17466
|
+
function translate(number, withoutSuffix, string, isFuture) {
|
|
17045
17467
|
var numberNoun = numberAsNoun(number);
|
|
17046
17468
|
switch (string) {
|
|
17047
17469
|
case 'ss':
|
|
@@ -17112,17 +17534,17 @@
|
|
|
17112
17534
|
future: translateFuture,
|
|
17113
17535
|
past: translatePast,
|
|
17114
17536
|
s: 'puS lup',
|
|
17115
|
-
ss: translate
|
|
17537
|
+
ss: translate,
|
|
17116
17538
|
m: 'wa’ tup',
|
|
17117
|
-
mm: translate
|
|
17539
|
+
mm: translate,
|
|
17118
17540
|
h: 'wa’ rep',
|
|
17119
|
-
hh: translate
|
|
17541
|
+
hh: translate,
|
|
17120
17542
|
d: 'wa’ jaj',
|
|
17121
|
-
dd: translate
|
|
17543
|
+
dd: translate,
|
|
17122
17544
|
M: 'wa’ jar',
|
|
17123
|
-
MM: translate
|
|
17545
|
+
MM: translate,
|
|
17124
17546
|
y: 'wa’ DIS',
|
|
17125
|
-
yy: translate
|
|
17547
|
+
yy: translate,
|
|
17126
17548
|
},
|
|
17127
17549
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
17128
17550
|
ordinal: '%d.',
|
|
@@ -17133,8 +17555,12 @@
|
|
|
17133
17555
|
});
|
|
17134
17556
|
|
|
17135
17557
|
//! moment.js locale configuration
|
|
17558
|
+
//! locale : Turkish [tr]
|
|
17559
|
+
//! authors : Erhan Gundogan : https://github.com/erhangundogan,
|
|
17560
|
+
//! Burak Yiğit Kaya: https://github.com/BYK
|
|
17136
17561
|
|
|
17137
|
-
|
|
17562
|
+
|
|
17563
|
+
var suffixes = {
|
|
17138
17564
|
1: "'inci",
|
|
17139
17565
|
5: "'inci",
|
|
17140
17566
|
8: "'inci",
|
|
@@ -17225,7 +17651,7 @@
|
|
|
17225
17651
|
var a = number % 10,
|
|
17226
17652
|
b = (number % 100) - a,
|
|
17227
17653
|
c = number >= 100 ? 100 : null;
|
|
17228
|
-
return number + (suffixes
|
|
17654
|
+
return number + (suffixes[a] || suffixes[b] || suffixes[c]);
|
|
17229
17655
|
}
|
|
17230
17656
|
},
|
|
17231
17657
|
week: {
|
|
@@ -17235,6 +17661,10 @@
|
|
|
17235
17661
|
});
|
|
17236
17662
|
|
|
17237
17663
|
//! moment.js locale configuration
|
|
17664
|
+
//! locale : Talossan [tzl]
|
|
17665
|
+
//! author : Robin van der Vliet : https://github.com/robin0van0der0v
|
|
17666
|
+
//! author : Iustì Canun
|
|
17667
|
+
|
|
17238
17668
|
|
|
17239
17669
|
// After the year there should be a slash and the amount of years since December 26, 1979 in Roman numerals.
|
|
17240
17670
|
// This is currently too difficult (maybe even impossible) to add.
|
|
@@ -17276,18 +17706,18 @@
|
|
|
17276
17706
|
relativeTime: {
|
|
17277
17707
|
future: 'osprei %s',
|
|
17278
17708
|
past: 'ja%s',
|
|
17279
|
-
s: processRelativeTime
|
|
17280
|
-
ss: processRelativeTime
|
|
17281
|
-
m: processRelativeTime
|
|
17282
|
-
mm: processRelativeTime
|
|
17283
|
-
h: processRelativeTime
|
|
17284
|
-
hh: processRelativeTime
|
|
17285
|
-
d: processRelativeTime
|
|
17286
|
-
dd: processRelativeTime
|
|
17287
|
-
M: processRelativeTime
|
|
17288
|
-
MM: processRelativeTime
|
|
17289
|
-
y: processRelativeTime
|
|
17290
|
-
yy: processRelativeTime
|
|
17709
|
+
s: processRelativeTime,
|
|
17710
|
+
ss: processRelativeTime,
|
|
17711
|
+
m: processRelativeTime,
|
|
17712
|
+
mm: processRelativeTime,
|
|
17713
|
+
h: processRelativeTime,
|
|
17714
|
+
hh: processRelativeTime,
|
|
17715
|
+
d: processRelativeTime,
|
|
17716
|
+
dd: processRelativeTime,
|
|
17717
|
+
M: processRelativeTime,
|
|
17718
|
+
MM: processRelativeTime,
|
|
17719
|
+
y: processRelativeTime,
|
|
17720
|
+
yy: processRelativeTime,
|
|
17291
17721
|
},
|
|
17292
17722
|
dayOfMonthOrdinalParse: /\d{1,2}\./,
|
|
17293
17723
|
ordinal: '%d.',
|
|
@@ -17297,7 +17727,7 @@
|
|
|
17297
17727
|
},
|
|
17298
17728
|
});
|
|
17299
17729
|
|
|
17300
|
-
function processRelativeTime
|
|
17730
|
+
function processRelativeTime(number, withoutSuffix, key, isFuture) {
|
|
17301
17731
|
var format = {
|
|
17302
17732
|
s: ['viensas secunds', "'iensas secunds"],
|
|
17303
17733
|
ss: [number + ' secunds', '' + number + ' secunds'],
|
|
@@ -17320,6 +17750,9 @@
|
|
|
17320
17750
|
}
|
|
17321
17751
|
|
|
17322
17752
|
//! moment.js locale configuration
|
|
17753
|
+
//! locale : Central Atlas Tamazight Latin [tzm-latn]
|
|
17754
|
+
//! author : Abdel Said : https://github.com/abdelsaid
|
|
17755
|
+
|
|
17323
17756
|
|
|
17324
17757
|
hooks.defineLocale('tzm-latn', {
|
|
17325
17758
|
months: 'innayr_brˤayrˤ_marˤsˤ_ibrir_mayyw_ywnyw_ywlywz_ɣwšt_šwtanbir_ktˤwbrˤ_nwwanbir_dwjnbir'.split(
|
|
@@ -17371,6 +17804,9 @@
|
|
|
17371
17804
|
});
|
|
17372
17805
|
|
|
17373
17806
|
//! moment.js locale configuration
|
|
17807
|
+
//! locale : Central Atlas Tamazight [tzm]
|
|
17808
|
+
//! author : Abdel Said : https://github.com/abdelsaid
|
|
17809
|
+
|
|
17374
17810
|
|
|
17375
17811
|
hooks.defineLocale('tzm', {
|
|
17376
17812
|
months: 'ⵉⵏⵏⴰⵢⵔ_ⴱⵕⴰⵢⵕ_ⵎⴰⵕⵚ_ⵉⴱⵔⵉⵔ_ⵎⴰⵢⵢⵓ_ⵢⵓⵏⵢⵓ_ⵢⵓⵍⵢⵓⵣ_ⵖⵓⵛⵜ_ⵛⵓⵜⴰⵏⴱⵉⵔ_ⴽⵟⵓⴱⵕ_ⵏⵓⵡⴰⵏⴱⵉⵔ_ⴷⵓⵊⵏⴱⵉⵔ'.split(
|
|
@@ -17422,6 +17858,9 @@
|
|
|
17422
17858
|
});
|
|
17423
17859
|
|
|
17424
17860
|
//! moment.js locale configuration
|
|
17861
|
+
//! locale : Uyghur (China) [ug-cn]
|
|
17862
|
+
//! author: boyaq : https://github.com/boyaq
|
|
17863
|
+
|
|
17425
17864
|
|
|
17426
17865
|
hooks.defineLocale('ug-cn', {
|
|
17427
17866
|
months: 'يانۋار_فېۋرال_مارت_ئاپرېل_ماي_ئىيۇن_ئىيۇل_ئاۋغۇست_سېنتەبىر_ئۆكتەبىر_نويابىر_دېكابىر'.split(
|
|
@@ -17530,8 +17969,12 @@
|
|
|
17530
17969
|
});
|
|
17531
17970
|
|
|
17532
17971
|
//! moment.js locale configuration
|
|
17972
|
+
//! locale : Ukrainian [uk]
|
|
17973
|
+
//! author : zemlanin : https://github.com/zemlanin
|
|
17974
|
+
//! Author : Menelion Elensúle : https://github.com/Oire
|
|
17533
17975
|
|
|
17534
|
-
|
|
17976
|
+
|
|
17977
|
+
function plural(word, num) {
|
|
17535
17978
|
var forms = word.split('_');
|
|
17536
17979
|
return num % 10 === 1 && num % 100 !== 11
|
|
17537
17980
|
? forms[0]
|
|
@@ -17539,7 +17982,7 @@
|
|
|
17539
17982
|
? forms[1]
|
|
17540
17983
|
: forms[2];
|
|
17541
17984
|
}
|
|
17542
|
-
function relativeTimeWithPlural
|
|
17985
|
+
function relativeTimeWithPlural(number, withoutSuffix, key) {
|
|
17543
17986
|
var format = {
|
|
17544
17987
|
ss: withoutSuffix ? 'секунда_секунди_секунд' : 'секунду_секунди_секунд',
|
|
17545
17988
|
mm: withoutSuffix ? 'хвилина_хвилини_хвилин' : 'хвилину_хвилини_хвилин',
|
|
@@ -17553,7 +17996,7 @@
|
|
|
17553
17996
|
} else if (key === 'h') {
|
|
17554
17997
|
return withoutSuffix ? 'година' : 'годину';
|
|
17555
17998
|
} else {
|
|
17556
|
-
return number + ' ' + plural
|
|
17999
|
+
return number + ' ' + plural(format[key], +number);
|
|
17557
18000
|
}
|
|
17558
18001
|
}
|
|
17559
18002
|
function weekdaysCaseReplace(m, format) {
|
|
@@ -17643,17 +18086,17 @@
|
|
|
17643
18086
|
future: 'за %s',
|
|
17644
18087
|
past: '%s тому',
|
|
17645
18088
|
s: 'декілька секунд',
|
|
17646
|
-
ss: relativeTimeWithPlural
|
|
17647
|
-
m: relativeTimeWithPlural
|
|
17648
|
-
mm: relativeTimeWithPlural
|
|
18089
|
+
ss: relativeTimeWithPlural,
|
|
18090
|
+
m: relativeTimeWithPlural,
|
|
18091
|
+
mm: relativeTimeWithPlural,
|
|
17649
18092
|
h: 'годину',
|
|
17650
|
-
hh: relativeTimeWithPlural
|
|
18093
|
+
hh: relativeTimeWithPlural,
|
|
17651
18094
|
d: 'день',
|
|
17652
|
-
dd: relativeTimeWithPlural
|
|
18095
|
+
dd: relativeTimeWithPlural,
|
|
17653
18096
|
M: 'місяць',
|
|
17654
|
-
MM: relativeTimeWithPlural
|
|
18097
|
+
MM: relativeTimeWithPlural,
|
|
17655
18098
|
y: 'рік',
|
|
17656
|
-
yy: relativeTimeWithPlural
|
|
18099
|
+
yy: relativeTimeWithPlural,
|
|
17657
18100
|
},
|
|
17658
18101
|
// M. E.: those two are virtually unused but a user might want to implement them for his/her website for some reason
|
|
17659
18102
|
meridiemParse: /ночі|ранку|дня|вечора/,
|
|
@@ -17693,8 +18136,12 @@
|
|
|
17693
18136
|
});
|
|
17694
18137
|
|
|
17695
18138
|
//! moment.js locale configuration
|
|
18139
|
+
//! locale : Urdu [ur]
|
|
18140
|
+
//! author : Sawood Alam : https://github.com/ibnesayeed
|
|
18141
|
+
//! author : Zack : https://github.com/ZackVision
|
|
17696
18142
|
|
|
17697
|
-
|
|
18143
|
+
|
|
18144
|
+
var months = [
|
|
17698
18145
|
'جنوری',
|
|
17699
18146
|
'فروری',
|
|
17700
18147
|
'مارچ',
|
|
@@ -17708,14 +18155,14 @@
|
|
|
17708
18155
|
'نومبر',
|
|
17709
18156
|
'دسمبر',
|
|
17710
18157
|
],
|
|
17711
|
-
days
|
|
18158
|
+
days = ['اتوار', 'پیر', 'منگل', 'بدھ', 'جمعرات', 'جمعہ', 'ہفتہ'];
|
|
17712
18159
|
|
|
17713
18160
|
hooks.defineLocale('ur', {
|
|
17714
|
-
months: months
|
|
17715
|
-
monthsShort: months
|
|
17716
|
-
weekdays: days
|
|
17717
|
-
weekdaysShort: days
|
|
17718
|
-
weekdaysMin: days
|
|
18161
|
+
months: months,
|
|
18162
|
+
monthsShort: months,
|
|
18163
|
+
weekdays: days,
|
|
18164
|
+
weekdaysShort: days,
|
|
18165
|
+
weekdaysMin: days,
|
|
17719
18166
|
longDateFormat: {
|
|
17720
18167
|
LT: 'HH:mm',
|
|
17721
18168
|
LTS: 'HH:mm:ss',
|
|
@@ -17771,6 +18218,9 @@
|
|
|
17771
18218
|
});
|
|
17772
18219
|
|
|
17773
18220
|
//! moment.js locale configuration
|
|
18221
|
+
//! locale : Uzbek Latin [uz-latn]
|
|
18222
|
+
//! author : Rasulbek Mirzayev : github.com/Rasulbeeek
|
|
18223
|
+
|
|
17774
18224
|
|
|
17775
18225
|
hooks.defineLocale('uz-latn', {
|
|
17776
18226
|
months: 'Yanvar_Fevral_Mart_Aprel_May_Iyun_Iyul_Avgust_Sentabr_Oktabr_Noyabr_Dekabr'.split(
|
|
@@ -17822,6 +18272,9 @@
|
|
|
17822
18272
|
});
|
|
17823
18273
|
|
|
17824
18274
|
//! moment.js locale configuration
|
|
18275
|
+
//! locale : Uzbek [uz]
|
|
18276
|
+
//! author : Sardor Muminov : https://github.com/muminoff
|
|
18277
|
+
|
|
17825
18278
|
|
|
17826
18279
|
hooks.defineLocale('uz', {
|
|
17827
18280
|
months: 'январ_феврал_март_апрел_май_июн_июл_август_сентябр_октябр_ноябр_декабр'.split(
|
|
@@ -17870,6 +18323,10 @@
|
|
|
17870
18323
|
});
|
|
17871
18324
|
|
|
17872
18325
|
//! moment.js locale configuration
|
|
18326
|
+
//! locale : Vietnamese [vi]
|
|
18327
|
+
//! author : Bang Nguyen : https://github.com/bangnk
|
|
18328
|
+
//! author : Chien Kira : https://github.com/chienkira
|
|
18329
|
+
|
|
17873
18330
|
|
|
17874
18331
|
hooks.defineLocale('vi', {
|
|
17875
18332
|
months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split(
|
|
@@ -17946,6 +18403,9 @@
|
|
|
17946
18403
|
});
|
|
17947
18404
|
|
|
17948
18405
|
//! moment.js locale configuration
|
|
18406
|
+
//! locale : Pseudo [x-pseudo]
|
|
18407
|
+
//! author : Andrew Hood : https://github.com/andrewhood125
|
|
18408
|
+
|
|
17949
18409
|
|
|
17950
18410
|
hooks.defineLocale('x-pseudo', {
|
|
17951
18411
|
months: 'J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér'.split(
|
|
@@ -18016,6 +18476,9 @@
|
|
|
18016
18476
|
});
|
|
18017
18477
|
|
|
18018
18478
|
//! moment.js locale configuration
|
|
18479
|
+
//! locale : Yoruba Nigeria [yo]
|
|
18480
|
+
//! author : Atolagbe Abisoye : https://github.com/andela-batolagbe
|
|
18481
|
+
|
|
18019
18482
|
|
|
18020
18483
|
hooks.defineLocale('yo', {
|
|
18021
18484
|
months: 'Sẹ́rẹ́_Èrèlè_Ẹrẹ̀nà_Ìgbé_Èbibi_Òkùdu_Agẹmo_Ògún_Owewe_Ọ̀wàrà_Bélú_Ọ̀pẹ̀̀'.split(
|
|
@@ -18066,6 +18529,11 @@
|
|
|
18066
18529
|
});
|
|
18067
18530
|
|
|
18068
18531
|
//! moment.js locale configuration
|
|
18532
|
+
//! locale : Chinese (China) [zh-cn]
|
|
18533
|
+
//! author : suupic : https://github.com/suupic
|
|
18534
|
+
//! author : Zeno Zeng : https://github.com/zenozeng
|
|
18535
|
+
//! author : uu109 : https://github.com/uu109
|
|
18536
|
+
|
|
18069
18537
|
|
|
18070
18538
|
hooks.defineLocale('zh-cn', {
|
|
18071
18539
|
months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
|
|
@@ -18181,6 +18649,12 @@
|
|
|
18181
18649
|
});
|
|
18182
18650
|
|
|
18183
18651
|
//! moment.js locale configuration
|
|
18652
|
+
//! locale : Chinese (Hong Kong) [zh-hk]
|
|
18653
|
+
//! author : Ben : https://github.com/ben-lin
|
|
18654
|
+
//! author : Chris Lam : https://github.com/hehachris
|
|
18655
|
+
//! author : Konstantin : https://github.com/skfd
|
|
18656
|
+
//! author : Anthony : https://github.com/anthonylau
|
|
18657
|
+
|
|
18184
18658
|
|
|
18185
18659
|
hooks.defineLocale('zh-hk', {
|
|
18186
18660
|
months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
|
|
@@ -18276,6 +18750,11 @@
|
|
|
18276
18750
|
});
|
|
18277
18751
|
|
|
18278
18752
|
//! moment.js locale configuration
|
|
18753
|
+
//! locale : Chinese (Macau) [zh-mo]
|
|
18754
|
+
//! author : Ben : https://github.com/ben-lin
|
|
18755
|
+
//! author : Chris Lam : https://github.com/hehachris
|
|
18756
|
+
//! author : Tan Yuanhong : https://github.com/le0tan
|
|
18757
|
+
|
|
18279
18758
|
|
|
18280
18759
|
hooks.defineLocale('zh-mo', {
|
|
18281
18760
|
months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
|
|
@@ -18371,6 +18850,10 @@
|
|
|
18371
18850
|
});
|
|
18372
18851
|
|
|
18373
18852
|
//! moment.js locale configuration
|
|
18853
|
+
//! locale : Chinese (Taiwan) [zh-tw]
|
|
18854
|
+
//! author : Ben : https://github.com/ben-lin
|
|
18855
|
+
//! author : Chris Lam : https://github.com/hehachris
|
|
18856
|
+
|
|
18374
18857
|
|
|
18375
18858
|
hooks.defineLocale('zh-tw', {
|
|
18376
18859
|
months: '一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月'.split(
|