Edit File by line
/home/barbar84/www/wp-inclu.../js/dist/vendor
File: moment.js
.humanize(!withoutSuffix);
[4000] Fix | Delete
} else {
[4001] Fix | Delete
return this.localeData().invalidDate();
[4002] Fix | Delete
}
[4003] Fix | Delete
}
[4004] Fix | Delete
[4005] Fix | Delete
function toNow(withoutSuffix) {
[4006] Fix | Delete
return this.to(createLocal(), withoutSuffix);
[4007] Fix | Delete
}
[4008] Fix | Delete
[4009] Fix | Delete
// If passed a locale key, it will set the locale for this
[4010] Fix | Delete
// instance. Otherwise, it will return the locale configuration
[4011] Fix | Delete
// variables for this instance.
[4012] Fix | Delete
function locale(key) {
[4013] Fix | Delete
var newLocaleData;
[4014] Fix | Delete
[4015] Fix | Delete
if (key === undefined) {
[4016] Fix | Delete
return this._locale._abbr;
[4017] Fix | Delete
} else {
[4018] Fix | Delete
newLocaleData = getLocale(key);
[4019] Fix | Delete
if (newLocaleData != null) {
[4020] Fix | Delete
this._locale = newLocaleData;
[4021] Fix | Delete
}
[4022] Fix | Delete
return this;
[4023] Fix | Delete
}
[4024] Fix | Delete
}
[4025] Fix | Delete
[4026] Fix | Delete
var lang = deprecate(
[4027] Fix | Delete
'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',
[4028] Fix | Delete
function (key) {
[4029] Fix | Delete
if (key === undefined) {
[4030] Fix | Delete
return this.localeData();
[4031] Fix | Delete
} else {
[4032] Fix | Delete
return this.locale(key);
[4033] Fix | Delete
}
[4034] Fix | Delete
}
[4035] Fix | Delete
);
[4036] Fix | Delete
[4037] Fix | Delete
function localeData() {
[4038] Fix | Delete
return this._locale;
[4039] Fix | Delete
}
[4040] Fix | Delete
[4041] Fix | Delete
var MS_PER_SECOND = 1000,
[4042] Fix | Delete
MS_PER_MINUTE = 60 * MS_PER_SECOND,
[4043] Fix | Delete
MS_PER_HOUR = 60 * MS_PER_MINUTE,
[4044] Fix | Delete
MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;
[4045] Fix | Delete
[4046] Fix | Delete
// actual modulo - handles negative numbers (for dates before 1970):
[4047] Fix | Delete
function mod$1(dividend, divisor) {
[4048] Fix | Delete
return ((dividend % divisor) + divisor) % divisor;
[4049] Fix | Delete
}
[4050] Fix | Delete
[4051] Fix | Delete
function localStartOfDate(y, m, d) {
[4052] Fix | Delete
// the date constructor remaps years 0-99 to 1900-1999
[4053] Fix | Delete
if (y < 100 && y >= 0) {
[4054] Fix | Delete
// preserve leap years using a full 400 year cycle, then reset
[4055] Fix | Delete
return new Date(y + 400, m, d) - MS_PER_400_YEARS;
[4056] Fix | Delete
} else {
[4057] Fix | Delete
return new Date(y, m, d).valueOf();
[4058] Fix | Delete
}
[4059] Fix | Delete
}
[4060] Fix | Delete
[4061] Fix | Delete
function utcStartOfDate(y, m, d) {
[4062] Fix | Delete
// Date.UTC remaps years 0-99 to 1900-1999
[4063] Fix | Delete
if (y < 100 && y >= 0) {
[4064] Fix | Delete
// preserve leap years using a full 400 year cycle, then reset
[4065] Fix | Delete
return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;
[4066] Fix | Delete
} else {
[4067] Fix | Delete
return Date.UTC(y, m, d);
[4068] Fix | Delete
}
[4069] Fix | Delete
}
[4070] Fix | Delete
[4071] Fix | Delete
function startOf(units) {
[4072] Fix | Delete
var time, startOfDate;
[4073] Fix | Delete
units = normalizeUnits(units);
[4074] Fix | Delete
if (units === undefined || units === 'millisecond' || !this.isValid()) {
[4075] Fix | Delete
return this;
[4076] Fix | Delete
}
[4077] Fix | Delete
[4078] Fix | Delete
startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
[4079] Fix | Delete
[4080] Fix | Delete
switch (units) {
[4081] Fix | Delete
case 'year':
[4082] Fix | Delete
time = startOfDate(this.year(), 0, 1);
[4083] Fix | Delete
break;
[4084] Fix | Delete
case 'quarter':
[4085] Fix | Delete
time = startOfDate(
[4086] Fix | Delete
this.year(),
[4087] Fix | Delete
this.month() - (this.month() % 3),
[4088] Fix | Delete
1
[4089] Fix | Delete
);
[4090] Fix | Delete
break;
[4091] Fix | Delete
case 'month':
[4092] Fix | Delete
time = startOfDate(this.year(), this.month(), 1);
[4093] Fix | Delete
break;
[4094] Fix | Delete
case 'week':
[4095] Fix | Delete
time = startOfDate(
[4096] Fix | Delete
this.year(),
[4097] Fix | Delete
this.month(),
[4098] Fix | Delete
this.date() - this.weekday()
[4099] Fix | Delete
);
[4100] Fix | Delete
break;
[4101] Fix | Delete
case 'isoWeek':
[4102] Fix | Delete
time = startOfDate(
[4103] Fix | Delete
this.year(),
[4104] Fix | Delete
this.month(),
[4105] Fix | Delete
this.date() - (this.isoWeekday() - 1)
[4106] Fix | Delete
);
[4107] Fix | Delete
break;
[4108] Fix | Delete
case 'day':
[4109] Fix | Delete
case 'date':
[4110] Fix | Delete
time = startOfDate(this.year(), this.month(), this.date());
[4111] Fix | Delete
break;
[4112] Fix | Delete
case 'hour':
[4113] Fix | Delete
time = this._d.valueOf();
[4114] Fix | Delete
time -= mod$1(
[4115] Fix | Delete
time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
[4116] Fix | Delete
MS_PER_HOUR
[4117] Fix | Delete
);
[4118] Fix | Delete
break;
[4119] Fix | Delete
case 'minute':
[4120] Fix | Delete
time = this._d.valueOf();
[4121] Fix | Delete
time -= mod$1(time, MS_PER_MINUTE);
[4122] Fix | Delete
break;
[4123] Fix | Delete
case 'second':
[4124] Fix | Delete
time = this._d.valueOf();
[4125] Fix | Delete
time -= mod$1(time, MS_PER_SECOND);
[4126] Fix | Delete
break;
[4127] Fix | Delete
}
[4128] Fix | Delete
[4129] Fix | Delete
this._d.setTime(time);
[4130] Fix | Delete
hooks.updateOffset(this, true);
[4131] Fix | Delete
return this;
[4132] Fix | Delete
}
[4133] Fix | Delete
[4134] Fix | Delete
function endOf(units) {
[4135] Fix | Delete
var time, startOfDate;
[4136] Fix | Delete
units = normalizeUnits(units);
[4137] Fix | Delete
if (units === undefined || units === 'millisecond' || !this.isValid()) {
[4138] Fix | Delete
return this;
[4139] Fix | Delete
}
[4140] Fix | Delete
[4141] Fix | Delete
startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;
[4142] Fix | Delete
[4143] Fix | Delete
switch (units) {
[4144] Fix | Delete
case 'year':
[4145] Fix | Delete
time = startOfDate(this.year() + 1, 0, 1) - 1;
[4146] Fix | Delete
break;
[4147] Fix | Delete
case 'quarter':
[4148] Fix | Delete
time =
[4149] Fix | Delete
startOfDate(
[4150] Fix | Delete
this.year(),
[4151] Fix | Delete
this.month() - (this.month() % 3) + 3,
[4152] Fix | Delete
1
[4153] Fix | Delete
) - 1;
[4154] Fix | Delete
break;
[4155] Fix | Delete
case 'month':
[4156] Fix | Delete
time = startOfDate(this.year(), this.month() + 1, 1) - 1;
[4157] Fix | Delete
break;
[4158] Fix | Delete
case 'week':
[4159] Fix | Delete
time =
[4160] Fix | Delete
startOfDate(
[4161] Fix | Delete
this.year(),
[4162] Fix | Delete
this.month(),
[4163] Fix | Delete
this.date() - this.weekday() + 7
[4164] Fix | Delete
) - 1;
[4165] Fix | Delete
break;
[4166] Fix | Delete
case 'isoWeek':
[4167] Fix | Delete
time =
[4168] Fix | Delete
startOfDate(
[4169] Fix | Delete
this.year(),
[4170] Fix | Delete
this.month(),
[4171] Fix | Delete
this.date() - (this.isoWeekday() - 1) + 7
[4172] Fix | Delete
) - 1;
[4173] Fix | Delete
break;
[4174] Fix | Delete
case 'day':
[4175] Fix | Delete
case 'date':
[4176] Fix | Delete
time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;
[4177] Fix | Delete
break;
[4178] Fix | Delete
case 'hour':
[4179] Fix | Delete
time = this._d.valueOf();
[4180] Fix | Delete
time +=
[4181] Fix | Delete
MS_PER_HOUR -
[4182] Fix | Delete
mod$1(
[4183] Fix | Delete
time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),
[4184] Fix | Delete
MS_PER_HOUR
[4185] Fix | Delete
) -
[4186] Fix | Delete
1;
[4187] Fix | Delete
break;
[4188] Fix | Delete
case 'minute':
[4189] Fix | Delete
time = this._d.valueOf();
[4190] Fix | Delete
time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;
[4191] Fix | Delete
break;
[4192] Fix | Delete
case 'second':
[4193] Fix | Delete
time = this._d.valueOf();
[4194] Fix | Delete
time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;
[4195] Fix | Delete
break;
[4196] Fix | Delete
}
[4197] Fix | Delete
[4198] Fix | Delete
this._d.setTime(time);
[4199] Fix | Delete
hooks.updateOffset(this, true);
[4200] Fix | Delete
return this;
[4201] Fix | Delete
}
[4202] Fix | Delete
[4203] Fix | Delete
function valueOf() {
[4204] Fix | Delete
return this._d.valueOf() - (this._offset || 0) * 60000;
[4205] Fix | Delete
}
[4206] Fix | Delete
[4207] Fix | Delete
function unix() {
[4208] Fix | Delete
return Math.floor(this.valueOf() / 1000);
[4209] Fix | Delete
}
[4210] Fix | Delete
[4211] Fix | Delete
function toDate() {
[4212] Fix | Delete
return new Date(this.valueOf());
[4213] Fix | Delete
}
[4214] Fix | Delete
[4215] Fix | Delete
function toArray() {
[4216] Fix | Delete
var m = this;
[4217] Fix | Delete
return [
[4218] Fix | Delete
m.year(),
[4219] Fix | Delete
m.month(),
[4220] Fix | Delete
m.date(),
[4221] Fix | Delete
m.hour(),
[4222] Fix | Delete
m.minute(),
[4223] Fix | Delete
m.second(),
[4224] Fix | Delete
m.millisecond(),
[4225] Fix | Delete
];
[4226] Fix | Delete
}
[4227] Fix | Delete
[4228] Fix | Delete
function toObject() {
[4229] Fix | Delete
var m = this;
[4230] Fix | Delete
return {
[4231] Fix | Delete
years: m.year(),
[4232] Fix | Delete
months: m.month(),
[4233] Fix | Delete
date: m.date(),
[4234] Fix | Delete
hours: m.hours(),
[4235] Fix | Delete
minutes: m.minutes(),
[4236] Fix | Delete
seconds: m.seconds(),
[4237] Fix | Delete
milliseconds: m.milliseconds(),
[4238] Fix | Delete
};
[4239] Fix | Delete
}
[4240] Fix | Delete
[4241] Fix | Delete
function toJSON() {
[4242] Fix | Delete
// new Date(NaN).toJSON() === null
[4243] Fix | Delete
return this.isValid() ? this.toISOString() : null;
[4244] Fix | Delete
}
[4245] Fix | Delete
[4246] Fix | Delete
function isValid$2() {
[4247] Fix | Delete
return isValid(this);
[4248] Fix | Delete
}
[4249] Fix | Delete
[4250] Fix | Delete
function parsingFlags() {
[4251] Fix | Delete
return extend({}, getParsingFlags(this));
[4252] Fix | Delete
}
[4253] Fix | Delete
[4254] Fix | Delete
function invalidAt() {
[4255] Fix | Delete
return getParsingFlags(this).overflow;
[4256] Fix | Delete
}
[4257] Fix | Delete
[4258] Fix | Delete
function creationData() {
[4259] Fix | Delete
return {
[4260] Fix | Delete
input: this._i,
[4261] Fix | Delete
format: this._f,
[4262] Fix | Delete
locale: this._locale,
[4263] Fix | Delete
isUTC: this._isUTC,
[4264] Fix | Delete
strict: this._strict,
[4265] Fix | Delete
};
[4266] Fix | Delete
}
[4267] Fix | Delete
[4268] Fix | Delete
addFormatToken('N', 0, 0, 'eraAbbr');
[4269] Fix | Delete
addFormatToken('NN', 0, 0, 'eraAbbr');
[4270] Fix | Delete
addFormatToken('NNN', 0, 0, 'eraAbbr');
[4271] Fix | Delete
addFormatToken('NNNN', 0, 0, 'eraName');
[4272] Fix | Delete
addFormatToken('NNNNN', 0, 0, 'eraNarrow');
[4273] Fix | Delete
[4274] Fix | Delete
addFormatToken('y', ['y', 1], 'yo', 'eraYear');
[4275] Fix | Delete
addFormatToken('y', ['yy', 2], 0, 'eraYear');
[4276] Fix | Delete
addFormatToken('y', ['yyy', 3], 0, 'eraYear');
[4277] Fix | Delete
addFormatToken('y', ['yyyy', 4], 0, 'eraYear');
[4278] Fix | Delete
[4279] Fix | Delete
addRegexToken('N', matchEraAbbr);
[4280] Fix | Delete
addRegexToken('NN', matchEraAbbr);
[4281] Fix | Delete
addRegexToken('NNN', matchEraAbbr);
[4282] Fix | Delete
addRegexToken('NNNN', matchEraName);
[4283] Fix | Delete
addRegexToken('NNNNN', matchEraNarrow);
[4284] Fix | Delete
[4285] Fix | Delete
addParseToken(['N', 'NN', 'NNN', 'NNNN', 'NNNNN'], function (
[4286] Fix | Delete
input,
[4287] Fix | Delete
array,
[4288] Fix | Delete
config,
[4289] Fix | Delete
token
[4290] Fix | Delete
) {
[4291] Fix | Delete
var era = config._locale.erasParse(input, token, config._strict);
[4292] Fix | Delete
if (era) {
[4293] Fix | Delete
getParsingFlags(config).era = era;
[4294] Fix | Delete
} else {
[4295] Fix | Delete
getParsingFlags(config).invalidEra = input;
[4296] Fix | Delete
}
[4297] Fix | Delete
});
[4298] Fix | Delete
[4299] Fix | Delete
addRegexToken('y', matchUnsigned);
[4300] Fix | Delete
addRegexToken('yy', matchUnsigned);
[4301] Fix | Delete
addRegexToken('yyy', matchUnsigned);
[4302] Fix | Delete
addRegexToken('yyyy', matchUnsigned);
[4303] Fix | Delete
addRegexToken('yo', matchEraYearOrdinal);
[4304] Fix | Delete
[4305] Fix | Delete
addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);
[4306] Fix | Delete
addParseToken(['yo'], function (input, array, config, token) {
[4307] Fix | Delete
var match;
[4308] Fix | Delete
if (config._locale._eraYearOrdinalRegex) {
[4309] Fix | Delete
match = input.match(config._locale._eraYearOrdinalRegex);
[4310] Fix | Delete
}
[4311] Fix | Delete
[4312] Fix | Delete
if (config._locale.eraYearOrdinalParse) {
[4313] Fix | Delete
array[YEAR] = config._locale.eraYearOrdinalParse(input, match);
[4314] Fix | Delete
} else {
[4315] Fix | Delete
array[YEAR] = parseInt(input, 10);
[4316] Fix | Delete
}
[4317] Fix | Delete
});
[4318] Fix | Delete
[4319] Fix | Delete
function localeEras(m, format) {
[4320] Fix | Delete
var i,
[4321] Fix | Delete
l,
[4322] Fix | Delete
date,
[4323] Fix | Delete
eras = this._eras || getLocale('en')._eras;
[4324] Fix | Delete
for (i = 0, l = eras.length; i < l; ++i) {
[4325] Fix | Delete
switch (typeof eras[i].since) {
[4326] Fix | Delete
case 'string':
[4327] Fix | Delete
// truncate time
[4328] Fix | Delete
date = hooks(eras[i].since).startOf('day');
[4329] Fix | Delete
eras[i].since = date.valueOf();
[4330] Fix | Delete
break;
[4331] Fix | Delete
}
[4332] Fix | Delete
[4333] Fix | Delete
switch (typeof eras[i].until) {
[4334] Fix | Delete
case 'undefined':
[4335] Fix | Delete
eras[i].until = +Infinity;
[4336] Fix | Delete
break;
[4337] Fix | Delete
case 'string':
[4338] Fix | Delete
// truncate time
[4339] Fix | Delete
date = hooks(eras[i].until).startOf('day').valueOf();
[4340] Fix | Delete
eras[i].until = date.valueOf();
[4341] Fix | Delete
break;
[4342] Fix | Delete
}
[4343] Fix | Delete
}
[4344] Fix | Delete
return eras;
[4345] Fix | Delete
}
[4346] Fix | Delete
[4347] Fix | Delete
function localeErasParse(eraName, format, strict) {
[4348] Fix | Delete
var i,
[4349] Fix | Delete
l,
[4350] Fix | Delete
eras = this.eras(),
[4351] Fix | Delete
name,
[4352] Fix | Delete
abbr,
[4353] Fix | Delete
narrow;
[4354] Fix | Delete
eraName = eraName.toUpperCase();
[4355] Fix | Delete
[4356] Fix | Delete
for (i = 0, l = eras.length; i < l; ++i) {
[4357] Fix | Delete
name = eras[i].name.toUpperCase();
[4358] Fix | Delete
abbr = eras[i].abbr.toUpperCase();
[4359] Fix | Delete
narrow = eras[i].narrow.toUpperCase();
[4360] Fix | Delete
[4361] Fix | Delete
if (strict) {
[4362] Fix | Delete
switch (format) {
[4363] Fix | Delete
case 'N':
[4364] Fix | Delete
case 'NN':
[4365] Fix | Delete
case 'NNN':
[4366] Fix | Delete
if (abbr === eraName) {
[4367] Fix | Delete
return eras[i];
[4368] Fix | Delete
}
[4369] Fix | Delete
break;
[4370] Fix | Delete
[4371] Fix | Delete
case 'NNNN':
[4372] Fix | Delete
if (name === eraName) {
[4373] Fix | Delete
return eras[i];
[4374] Fix | Delete
}
[4375] Fix | Delete
break;
[4376] Fix | Delete
[4377] Fix | Delete
case 'NNNNN':
[4378] Fix | Delete
if (narrow === eraName) {
[4379] Fix | Delete
return eras[i];
[4380] Fix | Delete
}
[4381] Fix | Delete
break;
[4382] Fix | Delete
}
[4383] Fix | Delete
} else if ([name, abbr, narrow].indexOf(eraName) >= 0) {
[4384] Fix | Delete
return eras[i];
[4385] Fix | Delete
}
[4386] Fix | Delete
}
[4387] Fix | Delete
}
[4388] Fix | Delete
[4389] Fix | Delete
function localeErasConvertYear(era, year) {
[4390] Fix | Delete
var dir = era.since <= era.until ? +1 : -1;
[4391] Fix | Delete
if (year === undefined) {
[4392] Fix | Delete
return hooks(era.since).year();
[4393] Fix | Delete
} else {
[4394] Fix | Delete
return hooks(era.since).year() + (year - era.offset) * dir;
[4395] Fix | Delete
}
[4396] Fix | Delete
}
[4397] Fix | Delete
[4398] Fix | Delete
function getEraName() {
[4399] Fix | Delete
var i,
[4400] Fix | Delete
l,
[4401] Fix | Delete
val,
[4402] Fix | Delete
eras = this.localeData().eras();
[4403] Fix | Delete
for (i = 0, l = eras.length; i < l; ++i) {
[4404] Fix | Delete
// truncate time
[4405] Fix | Delete
val = this.startOf('day').valueOf();
[4406] Fix | Delete
[4407] Fix | Delete
if (eras[i].since <= val && val <= eras[i].until) {
[4408] Fix | Delete
return eras[i].name;
[4409] Fix | Delete
}
[4410] Fix | Delete
if (eras[i].until <= val && val <= eras[i].since) {
[4411] Fix | Delete
return eras[i].name;
[4412] Fix | Delete
}
[4413] Fix | Delete
}
[4414] Fix | Delete
[4415] Fix | Delete
return '';
[4416] Fix | Delete
}
[4417] Fix | Delete
[4418] Fix | Delete
function getEraNarrow() {
[4419] Fix | Delete
var i,
[4420] Fix | Delete
l,
[4421] Fix | Delete
val,
[4422] Fix | Delete
eras = this.localeData().eras();
[4423] Fix | Delete
for (i = 0, l = eras.length; i < l; ++i) {
[4424] Fix | Delete
// truncate time
[4425] Fix | Delete
val = this.startOf('day').valueOf();
[4426] Fix | Delete
[4427] Fix | Delete
if (eras[i].since <= val && val <= eras[i].until) {
[4428] Fix | Delete
return eras[i].narrow;
[4429] Fix | Delete
}
[4430] Fix | Delete
if (eras[i].until <= val && val <= eras[i].since) {
[4431] Fix | Delete
return eras[i].narrow;
[4432] Fix | Delete
}
[4433] Fix | Delete
}
[4434] Fix | Delete
[4435] Fix | Delete
return '';
[4436] Fix | Delete
}
[4437] Fix | Delete
[4438] Fix | Delete
function getEraAbbr() {
[4439] Fix | Delete
var i,
[4440] Fix | Delete
l,
[4441] Fix | Delete
val,
[4442] Fix | Delete
eras = this.localeData().eras();
[4443] Fix | Delete
for (i = 0, l = eras.length; i < l; ++i) {
[4444] Fix | Delete
// truncate time
[4445] Fix | Delete
val = this.startOf('day').valueOf();
[4446] Fix | Delete
[4447] Fix | Delete
if (eras[i].since <= val && val <= eras[i].until) {
[4448] Fix | Delete
return eras[i].abbr;
[4449] Fix | Delete
}
[4450] Fix | Delete
if (eras[i].until <= val && val <= eras[i].since) {
[4451] Fix | Delete
return eras[i].abbr;
[4452] Fix | Delete
}
[4453] Fix | Delete
}
[4454] Fix | Delete
[4455] Fix | Delete
return '';
[4456] Fix | Delete
}
[4457] Fix | Delete
[4458] Fix | Delete
function getEraYear() {
[4459] Fix | Delete
var i,
[4460] Fix | Delete
l,
[4461] Fix | Delete
dir,
[4462] Fix | Delete
val,
[4463] Fix | Delete
eras = this.localeData().eras();
[4464] Fix | Delete
for (i = 0, l = eras.length; i < l; ++i) {
[4465] Fix | Delete
dir = eras[i].since <= eras[i].until ? +1 : -1;
[4466] Fix | Delete
[4467] Fix | Delete
// truncate time
[4468] Fix | Delete
val = this.startOf('day').valueOf();
[4469] Fix | Delete
[4470] Fix | Delete
if (
[4471] Fix | Delete
(eras[i].since <= val && val <= eras[i].until) ||
[4472] Fix | Delete
(eras[i].until <= val && val <= eras[i].since)
[4473] Fix | Delete
) {
[4474] Fix | Delete
return (
[4475] Fix | Delete
(this.year() - hooks(eras[i].since).year()) * dir +
[4476] Fix | Delete
eras[i].offset
[4477] Fix | Delete
);
[4478] Fix | Delete
}
[4479] Fix | Delete
}
[4480] Fix | Delete
[4481] Fix | Delete
return this.year();
[4482] Fix | Delete
}
[4483] Fix | Delete
[4484] Fix | Delete
function erasNameRegex(isStrict) {
[4485] Fix | Delete
if (!hasOwnProp(this, '_erasNameRegex')) {
[4486] Fix | Delete
computeErasParse.call(this);
[4487] Fix | Delete
}
[4488] Fix | Delete
return isStrict ? this._erasNameRegex : this._erasRegex;
[4489] Fix | Delete
}
[4490] Fix | Delete
[4491] Fix | Delete
function erasAbbrRegex(isStrict) {
[4492] Fix | Delete
if (!hasOwnProp(this, '_erasAbbrRegex')) {
[4493] Fix | Delete
computeErasParse.call(this);
[4494] Fix | Delete
}
[4495] Fix | Delete
return isStrict ? this._erasAbbrRegex : this._erasRegex;
[4496] Fix | Delete
}
[4497] Fix | Delete
[4498] Fix | Delete
function erasNarrowRegex(isStrict) {
[4499] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function