cronstrue 3.37.0 → 3.39.0
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/dist/cronstrue-i18n.js +56 -34
- package/dist/cronstrue-i18n.min.js +1 -1
- package/dist/cronstrue.js +41 -19
- package/dist/cronstrue.min.js +1 -1
- package/dist/expressionDescriptor.d.ts +1 -1
- package/locales/fa.js +3 -3
- package/locales/fa.min.js +1 -1
- package/locales/he.js +1 -1
- package/locales/he.min.js +1 -1
- package/locales/it.js +1 -1
- package/locales/it.min.js +1 -1
- package/locales/my.js +1 -1
- package/locales/my.min.js +1 -1
- package/locales/sw.js +2 -2
- package/locales/sw.min.js +1 -1
- package/locales/tr.js +1 -1
- package/locales/tr.min.js +1 -1
- package/locales/vi.js +4 -4
- package/locales/vi.min.js +1 -1
- package/locales/zh_CN.js +1 -1
- package/locales/zh_CN.min.js +1 -1
- package/locales/zh_TW.js +1 -1
- package/locales/zh_TW.min.js +1 -1
- package/package.json +1 -1
package/dist/cronstrue.js
CHANGED
|
@@ -127,7 +127,7 @@ var CronParser = (function () {
|
|
|
127
127
|
if (expressionParts[6].indexOf("1/") == 0) {
|
|
128
128
|
expressionParts[6] = expressionParts[6].replace("1/", "*/");
|
|
129
129
|
}
|
|
130
|
-
expressionParts[5] = expressionParts[5].replace(/(^\d)|([^#/\s\d]\d)/g, function (t) {
|
|
130
|
+
expressionParts[5] = expressionParts[5].replace(/(^\d+)|([^#/\s\d]\d+)/g, function (t) {
|
|
131
131
|
var dowDigits = t.replace(/\D/, "");
|
|
132
132
|
var dowDigitsAdjusted = dowDigits;
|
|
133
133
|
if (_this.dayOfWeekStartIndexZero) {
|
|
@@ -472,15 +472,26 @@ var ExpressionDescriptor = (function () {
|
|
|
472
472
|
}, { min: 0, max: 23 });
|
|
473
473
|
return description;
|
|
474
474
|
};
|
|
475
|
-
ExpressionDescriptor.prototype.getDayOfWeekDescription = function () {
|
|
475
|
+
ExpressionDescriptor.prototype.getDayOfWeekDescription = function (dayOfWeekExpression) {
|
|
476
476
|
var _this = this;
|
|
477
|
+
var _a, _b;
|
|
478
|
+
if (dayOfWeekExpression === void 0) { dayOfWeekExpression = this.expressionParts[5]; }
|
|
477
479
|
var daysOfWeekNames = this.i18n.daysOfTheWeek();
|
|
478
480
|
var description = null;
|
|
479
|
-
if (
|
|
481
|
+
if (dayOfWeekExpression == "*") {
|
|
480
482
|
description = "";
|
|
481
483
|
}
|
|
482
484
|
else {
|
|
483
|
-
|
|
485
|
+
var dayOfWeekItems = dayOfWeekExpression.split(",");
|
|
486
|
+
var lastItems = dayOfWeekItems.filter(function (s) { return s.indexOf("L") > -1; });
|
|
487
|
+
var otherItems = dayOfWeekItems.filter(function (s) { return s.indexOf("L") === -1; });
|
|
488
|
+
if (lastItems.length > 0 && otherItems.length > 0) {
|
|
489
|
+
var lastDescription = (_a = this.getDayOfWeekDescription(lastItems.join(","))) !== null && _a !== void 0 ? _a : "";
|
|
490
|
+
return (((_b = this.getDayOfWeekDescription(otherItems.join(","))) !== null && _b !== void 0 ? _b : "") +
|
|
491
|
+
"".concat(this.i18n.spaceAnd(), " ") +
|
|
492
|
+
(lastDescription.startsWith(", ") ? lastDescription.substring(2) : lastDescription));
|
|
493
|
+
}
|
|
494
|
+
description = this.getSegmentDescription(dayOfWeekExpression, this.i18n.commaEveryDay(), function (s, form) {
|
|
484
495
|
var exp = s;
|
|
485
496
|
if (s.indexOf("#") > -1) {
|
|
486
497
|
exp = s.substring(0, s.indexOf("#"));
|
|
@@ -805,9 +816,9 @@ var ExpressionDescriptor = (function () {
|
|
|
805
816
|
};
|
|
806
817
|
ExpressionDescriptor.prototype.transformVerbosity = function (description, useVerboseFormat) {
|
|
807
818
|
if (!useVerboseFormat) {
|
|
808
|
-
description = description.replace(new RegExp(", ".concat(this.i18n.everyMinute()), "
|
|
809
|
-
description = description.replace(new RegExp(", ".concat(this.i18n.everyHour()), "
|
|
810
|
-
description = description.replace(new RegExp(this.i18n.commaEveryDay(), "
|
|
819
|
+
description = description.replace(new RegExp(", ".concat(this.i18n.everyMinute(), "(?!\\s*[\\p{L}\\p{N}])"), "gu"), "");
|
|
820
|
+
description = description.replace(new RegExp(", ".concat(this.i18n.everyHour(), "(?!\\s*[\\p{L}\\p{N}])"), "gu"), "");
|
|
821
|
+
description = description.replace(new RegExp("".concat(this.i18n.commaEveryDay(), "(?!\\s*[\\p{L}\\p{N}])"), "gu"), "");
|
|
811
822
|
description = description.replace(/\, ?$/, "");
|
|
812
823
|
if (this.i18n.conciseVerbosityReplacements) {
|
|
813
824
|
for (var _i = 0, _a = Object.entries(this.i18n.conciseVerbosityReplacements()); _i < _a.length; _i++) {
|
|
@@ -1060,6 +1071,17 @@ function assert(value, message) {
|
|
|
1060
1071
|
throw new Error(message);
|
|
1061
1072
|
}
|
|
1062
1073
|
}
|
|
1074
|
+
function rangeValues(part) {
|
|
1075
|
+
var values = [];
|
|
1076
|
+
if (!isNaN(parseInt(part, 10))) {
|
|
1077
|
+
values.push(parseInt(part, 10));
|
|
1078
|
+
var range = part.match(/^\d+-(-?\d+)/);
|
|
1079
|
+
if (range) {
|
|
1080
|
+
values.push(parseInt(range[1], 10));
|
|
1081
|
+
}
|
|
1082
|
+
}
|
|
1083
|
+
return values;
|
|
1084
|
+
}
|
|
1063
1085
|
var RangeValidator = (function () {
|
|
1064
1086
|
function RangeValidator() {
|
|
1065
1087
|
}
|
|
@@ -1073,8 +1095,8 @@ var RangeValidator = (function () {
|
|
|
1073
1095
|
RangeValidator.secondRange = function (parse) {
|
|
1074
1096
|
var parsed = parse.split(',');
|
|
1075
1097
|
for (var i = 0; i < parsed.length; i++) {
|
|
1076
|
-
|
|
1077
|
-
var second =
|
|
1098
|
+
for (var _i = 0, _a = rangeValues(parsed[i]); _i < _a.length; _i++) {
|
|
1099
|
+
var second = _a[_i];
|
|
1078
1100
|
assert(second >= 0 && second <= 59, 'seconds part must be >= 0 and <= 59');
|
|
1079
1101
|
}
|
|
1080
1102
|
}
|
|
@@ -1082,8 +1104,8 @@ var RangeValidator = (function () {
|
|
|
1082
1104
|
RangeValidator.minuteRange = function (parse) {
|
|
1083
1105
|
var parsed = parse.split(',');
|
|
1084
1106
|
for (var i = 0; i < parsed.length; i++) {
|
|
1085
|
-
|
|
1086
|
-
var minute =
|
|
1107
|
+
for (var _i = 0, _a = rangeValues(parsed[i]); _i < _a.length; _i++) {
|
|
1108
|
+
var minute = _a[_i];
|
|
1087
1109
|
assert(minute >= 0 && minute <= 59, 'minutes part must be >= 0 and <= 59');
|
|
1088
1110
|
}
|
|
1089
1111
|
}
|
|
@@ -1091,8 +1113,8 @@ var RangeValidator = (function () {
|
|
|
1091
1113
|
RangeValidator.hourRange = function (parse) {
|
|
1092
1114
|
var parsed = parse.split(',');
|
|
1093
1115
|
for (var i = 0; i < parsed.length; i++) {
|
|
1094
|
-
|
|
1095
|
-
var hour =
|
|
1116
|
+
for (var _i = 0, _a = rangeValues(parsed[i]); _i < _a.length; _i++) {
|
|
1117
|
+
var hour = _a[_i];
|
|
1096
1118
|
assert(hour >= 0 && hour <= 23, 'hours part must be >= 0 and <= 23');
|
|
1097
1119
|
}
|
|
1098
1120
|
}
|
|
@@ -1100,8 +1122,8 @@ var RangeValidator = (function () {
|
|
|
1100
1122
|
RangeValidator.dayOfMonthRange = function (parse) {
|
|
1101
1123
|
var parsed = parse.split(',');
|
|
1102
1124
|
for (var i = 0; i < parsed.length; i++) {
|
|
1103
|
-
|
|
1104
|
-
var dayOfMonth =
|
|
1125
|
+
for (var _i = 0, _a = rangeValues(parsed[i]); _i < _a.length; _i++) {
|
|
1126
|
+
var dayOfMonth = _a[_i];
|
|
1105
1127
|
assert(dayOfMonth >= 1 && dayOfMonth <= 31, 'DOM part must be >= 1 and <= 31');
|
|
1106
1128
|
}
|
|
1107
1129
|
}
|
|
@@ -1109,8 +1131,8 @@ var RangeValidator = (function () {
|
|
|
1109
1131
|
RangeValidator.monthRange = function (parse, monthStartIndexZero) {
|
|
1110
1132
|
var parsed = parse.split(',');
|
|
1111
1133
|
for (var i = 0; i < parsed.length; i++) {
|
|
1112
|
-
|
|
1113
|
-
var month =
|
|
1134
|
+
for (var _i = 0, _a = rangeValues(parsed[i]); _i < _a.length; _i++) {
|
|
1135
|
+
var month = _a[_i];
|
|
1114
1136
|
assert(month >= 1 && month <= 12, monthStartIndexZero ? 'month part must be >= 0 and <= 11' : 'month part must be >= 1 and <= 12');
|
|
1115
1137
|
}
|
|
1116
1138
|
}
|
|
@@ -1122,8 +1144,8 @@ var RangeValidator = (function () {
|
|
|
1122
1144
|
var nthString = parsed[i].substring(parsed[i].indexOf('#') + 1);
|
|
1123
1145
|
assert(/^[1-5]$/.test(nthString), 'DOW nth weekday must be >= 1 and <= 5');
|
|
1124
1146
|
}
|
|
1125
|
-
|
|
1126
|
-
var dayOfWeek =
|
|
1147
|
+
for (var _i = 0, _a = rangeValues(parsed[i]); _i < _a.length; _i++) {
|
|
1148
|
+
var dayOfWeek = _a[_i];
|
|
1127
1149
|
assert(dayOfWeek >= 0 && dayOfWeek <= 6, dayOfWeekStartIndexZero ? 'DOW part must be >= 0 and <= 6' : 'DOW part must be >= 1 and <= 7');
|
|
1128
1150
|
}
|
|
1129
1151
|
}
|
package/dist/cronstrue.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("cronstrue",[],e):"object"==typeof exports?exports.cronstrue=e():t.cronstrue=e()}(globalThis,(()=>(()=>{"use strict";var t={6949(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.CronParser=void 0;var r=n(9515),o=function(){function t(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1),this.expression=t,this.dayOfWeekStartIndexZero=e,this.monthStartIndexZero=n}return t.prototype.parse=function(){var t,e,n=null!==(t=this.expression)&&void 0!==t?t:"";if("@reboot"===n)return e=["@reboot","","","","","",""];if(n.startsWith("@")){var r=this.parseSpecial(this.expression);e=this.extractParts(r)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},t.prototype.parseSpecial=function(t){var e={"@yearly":"0 0 1 JAN *","@annually":"0 0 1 JAN *","@monthly":"0 0 1 * *","@weekly":"0 0 * * SUN","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *","@reboot":"@reboot"}[t];if(!e)throw new Error("Unknown special expression.");return e},t.prototype.extractParts=function(t){if(!this.expression)throw new Error("cron expression is empty");for(var e=t.trim().split(/[ ]+/),n=0;n<e.length;n++)if(e[n].includes(",")){var r=e[n].split(",").map((function(t){return t.trim()})).filter((function(t){return""!==t})).map((function(t){return isNaN(Number(t))?t:Number(t)})).filter((function(t){return null!==t&&""!==t}));0===r.length&&r.push("*"),r.sort((function(t,e){return null!==t&&null!==e?t-e:0})),e[n]=r.map((function(t){return null!==t?t.toString():""})).join(",")}if(e.length<5)throw new Error("Expression has only ".concat(e.length," part").concat(1==e.length?"":"s",". At least 5 parts are required."));if(5==e.length)e.unshift(""),e.push("");else if(6==e.length){/\d{4}$/.test(e[5])||"?"==e[4]||"?"==e[2]?e.unshift(""):e.push("")}else if(e.length>7)throw new Error("Expression has ".concat(e.length," parts; too many!"));return e},t.prototype.normalize=function(t){var e=this;t[3]=t[3].replace("?","*"),t[5]=t[5].replace("?","*"),t[2]=t[2].replace("?","*"),0==t[0].indexOf("0/")&&(t[0]=t[0].replace("0/","*/")),0==t[1].indexOf("0/")&&(t[1]=t[1].replace("0/","*/")),0==t[2].indexOf("0/")&&(t[2]=t[2].replace("0/","*/")),0==t[3].indexOf("1/")&&(t[3]=t[3].replace("1/","*/")),this.monthStartIndexZero||0!=t[4].indexOf("1/")||(t[4]=t[4].replace("1/","*/")),0==t[6].indexOf("1/")&&(t[6]=t[6].replace("1/","*/")),t[5]=t[5].replace(/(^\d)|([^#/\s\d]\d)/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.dayOfWeekStartIndexZero?"7"==n&&(r="0"):r=(parseInt(n)-1).toString(),t.replace(n,r)})),"L"==t[5]&&(t[5]="6"),"?"==t[3]&&(t[3]="*");if(t[3].indexOf("W")>-1&&(t[3].indexOf(",")>-1||/[-+]/.test(t[3]))&&!/^\d{1,2}W[+-]\d{1,2}$/.test(t[3]))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)t[5]=t[5].replace(new RegExp(r,"gi"),n[r].toString());t[4]=t[4].replace(/(^\d{1,2})|([^#/\s\d]\d{1,2})/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),t.replace(n,r)}));var o={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var i in o)t[4]=t[4].replace(new RegExp(i,"gi"),o[i].toString());"0"==t[0]&&(t[0]=""),/\*|\-|\,|\//.test(t[2])||!/\*|\//.test(t[1])&&!/\*|\//.test(t[0])||(t[2]+="-".concat(t[2]));for(var a=0;a<t.length;a++)if(-1!=t[a].indexOf(",")&&(t[a]=t[a].split(",").filter((function(t){return""!==t})).join(",")||"*"),"*/1"==t[a]&&(t[a]="*"),t[a].indexOf("/")>-1&&!/^\*|\-|\,/.test(t[a])){var s=null;switch(a){case 4:s="12";break;case 5:s="6";break;case 6:s="9999";break;default:s=null}if(null!==s){var u=t[a].split("/");t[a]="".concat(u[0],"-").concat(s,"/").concat(u[1])}}},t.prototype.validate=function(t){var e="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(t[0],e),this.validateOnlyExpectedCharactersFound(t[1],e),this.validateOnlyExpectedCharactersFound(t[2],e),this.validateOnlyExpectedCharactersFound(t[3].replace(/^(\d{1,2}W)[+-]\d{1,2}$/,"$1"),"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(t[4],e),this.validateOnlyExpectedCharactersFound(t[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(t[6],e),this.validateAnyRanges(t)},t.prototype.validateAnyRanges=function(t){t.forEach((function(t){return r.default.stepRange(t)})),r.default.secondRange(t[0]),r.default.minuteRange(t[1]),r.default.hourRange(t[2]),r.default.dayOfMonthRange(t[3]),r.default.monthRange(t[4],this.monthStartIndexZero),r.default.dayOfWeekRange(t[5],this.dayOfWeekStartIndexZero)},t.prototype.validateOnlyExpectedCharactersFound=function(t,e){var n=t.match(new RegExp("[^".concat(e,"]+"),"gi"));if(n&&n.length)throw new Error("Expression contains invalid values: '".concat(n.toString(),"'"))},t}();e.CronParser=o},8333(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ExpressionDescriptor=void 0;var r=n(1823),o=n(6949),i=function(){function t(e,n){if(this.expression=e,this.options=n,this.expressionParts=new Array(5),!this.options.locale&&t.defaultLocale&&(this.options.locale=t.defaultLocale),!t.locales[this.options.locale]){var r=Object.keys(t.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(r,"'.")),this.options.locale=r}this.i18n=t.locales[this.options.locale],void 0===n.use24HourTimeFormat&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return t.toString=function(e,n){var r=void 0===n?{}:n,o=r.throwExceptionOnParseError,i=void 0===o||o,a=r.verbose,s=void 0!==a&&a,u=r.dayOfWeekStartIndexZero,c=void 0===u||u,h=r.monthStartIndexZero,p=void 0!==h&&h,f=r.use24HourTimeFormat,l=r.trimHoursLeadingZero,d=void 0!==l&&l,m=r.locale,y=void 0===m?null:m,g=r.logicalAndDayFields,v={throwExceptionOnParseError:i,verbose:s,dayOfWeekStartIndexZero:c,monthStartIndexZero:p,use24HourTimeFormat:f,trimHoursLeadingZero:d,locale:y,logicalAndDayFields:void 0!==g&&g};return v.tzOffset&&console.warn("'tzOffset' option has been deprecated and is no longer supported."),new t(e,v).getFullDescription()},t.initialize=function(e,n){void 0===n&&(n="en"),t.specialCharacters=["/","-",",","*"],t.defaultLocale=n,e.load(t.locales)},t.prototype.getFullDescription=function(){var t,e,n="";try{var r=new o.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=r.parse(),"@reboot"===this.expressionParts[0])return(null===(e=(t=this.i18n).atReboot)||void 0===e?void 0:e.call(t))||"Run once, at startup";var i=this.getTimeOfDayDescription(),a=this.getDayOfMonthDescription(),s=this.getMonthDescription();n+=i+a+this.getDayOfWeekDescription()+s+this.getYearDescription(),n=(n=this.transformVerbosity(n,!!this.options.verbose)).charAt(0).toLocaleUpperCase()+n.substr(1)}catch(t){if(this.options.throwExceptionOnParseError)throw"".concat(t);n=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return n},t.prototype.getTimeOfDayDescription=function(){var e=this.expressionParts[0],n=this.expressionParts[1],o=this.expressionParts[2],i="";if(r.StringUtilities.containsAny(n,t.specialCharacters)||r.StringUtilities.containsAny(o,t.specialCharacters)||r.StringUtilities.containsAny(e,t.specialCharacters))if(e||!(n.indexOf("-")>-1)||n.indexOf(",")>-1||n.indexOf("/")>-1||r.StringUtilities.containsAny(o,t.specialCharacters))if(!e&&o.indexOf(",")>-1&&-1==o.indexOf("-")&&-1==o.indexOf("/")&&!r.StringUtilities.containsAny(n,t.specialCharacters)){var a=o.split(",");i+=this.i18n.at();for(var s=0;s<a.length;s++)i&&(i+=" "),i+=this.formatTime(a[s],n,""),s<a.length-2&&(i+=","),s==a.length-2&&(i+=this.i18n.spaceAnd())}else{var u=this.getSecondsDescription(),c=this.getMinutesDescription(),h=this.getHoursDescription();if((i+=u)&&c&&(i+=", "),i+=c,c===h)return i;i&&h&&(i+=", "),i+=h}else{var p=n.split("-");i+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(o,p[0],""),this.formatTime(o,p[1],""))}else i+=this.i18n.atSpace()+this.formatTime(o,n,e);return i},t.prototype.getSecondsDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Seconds(e),e)}),(function(e){return t.i18n.secondsX0ThroughX1PastTheMinute()}),(function(e){return"0"==e?"":parseInt(e)<20?t.i18n.atX0SecondsPastTheMinute(e):t.i18n.atX0SecondsPastTheMinuteGt20()||t.i18n.atX0SecondsPastTheMinute(e)}),{min:0,max:59})},t.prototype.getMinutesDescription=function(){var t=this,e=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Minutes(e),e)}),(function(e){return t.i18n.minutesX0ThroughX1PastTheHour()}),(function(r){var o,i;try{return"0"==r&&-1==n.indexOf("/")&&""==e?t.i18n.everyHour():"0"==r?(null===(i=(o=t.i18n).onTheHour)||void 0===i?void 0:i.call(o))||t.i18n.atX0MinutesPastTheHour(r):parseInt(r)<20?t.i18n.atX0MinutesPastTheHour(r):t.i18n.atX0MinutesPastTheHourGt20()||t.i18n.atX0MinutesPastTheHour(r)}catch(e){return t.i18n.atX0MinutesPastTheHour(r)}}),{min:0,max:59})},t.prototype.getHoursDescription=function(){var t=this,e=this.expressionParts[2],n=0,o=[];e.split("/")[0].split(",").forEach((function(t){var e=t.split("-");2===e.length&&o.push({value:e[1],index:n+1}),n+=e.length}));var i=0;return this.getSegmentDescription(e,this.i18n.everyHour(),(function(e){var n=o.find((function(t){return t.value===e&&t.index===i}))&&"0"!==t.expressionParts[1];return i++,n?t.formatTime(e,"59",""):t.formatTime(e,"0","")}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Hours(e),e)}),(function(e){return t.i18n.betweenX0AndX1()}),(function(e){return t.i18n.atX0()}),{min:0,max:23})},t.prototype.getDayOfWeekDescription=function(){var t=this,e=this.i18n.daysOfTheWeek();return"*"==this.expressionParts[5]?"":this.getSegmentDescription(this.expressionParts[5],this.i18n.commaEveryDay(),(function(n,r){var o=n;n.indexOf("#")>-1?o=n.substring(0,n.indexOf("#")):n.indexOf("L")>-1&&(o=o.replace("L",""));var i=parseInt(o),a=t.i18n.daysOfTheWeekInCase?t.i18n.daysOfTheWeekInCase(r)[i]:e[i];if(n.indexOf("#")>-1){var s=null,u=n.substring(n.indexOf("#")+1),c=n.substring(0,n.indexOf("#"));switch(u){case"1":s=t.i18n.first(c);break;case"2":s=t.i18n.second(c);break;case"3":s=t.i18n.third(c);break;case"4":s=t.i18n.fourth(c);break;case"5":s=t.i18n.fifth(c)}a=s+" "+a}return a}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0DaysOfTheWeek(e),e)}),(function(e){var n=e.substring(0,e.indexOf("-"));return"*"!=t.expressionParts[3]?t.i18n.commaAndX0ThroughX1(n):t.i18n.commaX0ThroughX1(n)}),(function(e){var n=null;if(e.indexOf("#")>-1){var r=e.substring(e.indexOf("#")+1),o=e.substring(0,e.indexOf("#"));n=t.i18n.commaOnThe(r,o).trim()+t.i18n.spaceX0OfTheMonth()}else if(e.indexOf("L")>-1)n=t.i18n.commaOnTheLastX0OfTheMonth(e.replace("L",""));else{n="*"!=t.expressionParts[3]?t.options.logicalAndDayFields?t.i18n.commaOnlyOnX0(e):t.i18n.commaAndOnX0():t.i18n.commaOnlyOnX0(e)}return n}))},t.prototype.getMonthDescription=function(){var t=this,e=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",(function(n,r){return r&&t.i18n.monthsOfTheYearInCase?t.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:e[parseInt(n)-1]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0Months(e),e)}),(function(e){return t.i18n.commaMonthX0ThroughMonthX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInMonthX0?t.i18n.commaOnlyInMonthX0():t.i18n.commaOnlyInX0()}))},t.prototype.getDayOfMonthDescription=function(){var t,e,n,o,i=this,a=null,s=this.expressionParts[3];switch(s){case"L":a=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":a=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var u=s.match(/^(?:(\d{1,2})W|W(\d{1,2}))(?:([+-])(\d{1,2}))?$/);if(u){var c=parseInt(u[1]||u[2]),h=1==c?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),c.toString()),p=u[4];a=p?"-"==u[3]?r.StringUtilities.format((null===(e=(t=this.i18n).commaDaysBeforeTheX0OfTheMonth)||void 0===e?void 0:e.call(t,p))||", %s days before the %s of the month",p,h):r.StringUtilities.format((null===(o=(n=this.i18n).commaDaysAfterTheX0OfTheMonth)||void 0===o?void 0:o.call(n,p))||", %s days after the %s of the month",p,h):r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),h);break}var f=s.match(/L-(\d{1,2})/);if(f){var l=f[1];a=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(l),l);break}if("*"==s&&"*"!=this.expressionParts[5])return"";a=this.getSegmentDescription(s,this.i18n.commaEveryDay(),(function(t){return"L"==t?i.i18n.lastDay():i.i18n.dayX0?r.StringUtilities.format(i.i18n.dayX0(),t):t}),(function(t){return"1"==t?i.i18n.commaEveryDay():i.i18n.commaEveryX0Days(t)}),(function(t){return i.i18n.commaBetweenDayX0AndX1OfTheMonth(t)}),(function(t){return i.i18n.commaOnDayX0OfTheMonth(t)}))}return a},t.prototype.getYearDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[6],"",(function(t){return/^\d+$/.test(t)?new Date(parseInt(t),1).getFullYear().toString():t}),(function(e){return r.StringUtilities.format(t.i18n.commaEveryX0Years(e),e)}),(function(e){return t.i18n.commaYearX0ThroughYearX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInYearX0?t.i18n.commaOnlyInYearX0():t.i18n.commaOnlyInX0()}))},t.prototype.getSegmentDescription=function(t,e,n,o,i,a,s){var u=null,c=t.indexOf("/")>-1,h=t.indexOf("-")>-1,p=t.indexOf(",")>-1;if(t)if("*"===t)u=e;else if(c||h||p)if(p){for(var f=t.split(","),l="",d=this.i18n.spaceAnd(),m=0;m<f.length;m++)if(m>0&&f.length>2&&(l+=",",m<f.length-1&&(l+=" ")),m>0&&f.length>1&&(m==f.length-1||2==f.length)&&(l+=","==d&&f.length>2?" ":"".concat(d," ")),f[m].indexOf("/")>-1||f[m].indexOf("-")>-1){var y=f[m].indexOf("-")>-1&&-1==f[m].indexOf("/"),g=this.getSegmentDescription(f[m],e,n,o,y?this.i18n.commaX0ThroughX1:i,a);y?g=g.replace(", ",""):m>0&&g.startsWith(", ")&&(g=g.substring(2)),l+=g}else if(c){var v=this.getSegmentDescription(f[m],e,n,o,i,a);m>0&&v&&v.startsWith(", ")&&(v=v.substring(2)),l+=v}else l+=n(f[m]);u=c?l:r.StringUtilities.format(a(t),l)}else if(c){f=t.split("/");if(u=r.StringUtilities.format(o(f[1]),f[1]),f[0].indexOf("-")>-1){var O=this.generateRangeSegmentDescription(f[0],i,n);0!=O.indexOf(", ")&&(u+=", "),u+=O}else if(-1==f[0].indexOf("*")){var x=r.StringUtilities.format(a(f[0]),n(f[0]));x=x.replace(", ",""),u+=r.StringUtilities.format(this.i18n.commaStartingX0(),x)}u+=this.getWrappingIncrementDescription(t,s,e,n,o,i,a)}else h&&(u=this.generateRangeSegmentDescription(t,i,n));else u=r.StringUtilities.format(a(t),n(t));else u="";return u},t.prototype.getWrappingIncrementDescription=function(t,e,n,r,o,i,a){if(!this.options.verbose||!e)return"";var s=t.split("/"),u=s[0],c=s[1],h=parseInt(c),p=e.max-e.min+1,f="*"===u,l=Number.isInteger(h)&&h>1;if(!f||!l||l&&p%h==0)return"";for(var d=[],m=e.min;m<=e.max;m+=h)d.push(m);if(d.length<2)return"";var y=this.getSegmentDescription(d.join(","),n,r,o,i,a);return y?", ".concat(y):""},t.prototype.generateRangeSegmentDescription=function(t,e,n){var o="",i=t.split("-"),a=n(i[0],1),s=n(i[1],2),u=e(t);return o+=r.StringUtilities.format(u,a,s)},t.prototype.formatTime=function(t,e,n){var r=parseInt(t)+0,o=parseInt(e)+0;o>=60?(o-=60,r+=1):o<0&&(o+=60,r-=1),r>=24?r-=24:r<0&&(r=24+r);var i="",a=!1;this.options.use24HourTimeFormat||(i=(a=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()))?"".concat(this.getPeriod(r)," "):" ".concat(this.getPeriod(r)),r>12&&(r-=12),0===r&&(r=12));var s="";n&&(s=":".concat(("00"+n).substring(n.length)));var u=r.toString(),c=("00"+u).substring(u.length),h=o.toString(),p=("00"+h).substring(h.length),f=this.options.trimHoursLeadingZero?u:c;return"".concat(a?i:"").concat(f,":").concat(p).concat(s).concat(a?"":i)},t.prototype.transformVerbosity=function(t,e){if(!e&&(t=(t=(t=(t=t.replace(new RegExp(", ".concat(this.i18n.everyMinute()),"g"),"")).replace(new RegExp(", ".concat(this.i18n.everyHour()),"g"),"")).replace(new RegExp(this.i18n.commaEveryDay(),"g"),"")).replace(/\, ?$/,""),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var o=r[n],i=o[0],a=o[1];t=t.replace(new RegExp(i,"g"),a)}return t},t.prototype.getPeriod=function(t){return t>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},t.locales={},t}();e.ExpressionDescriptor=i},3747(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.enLocaleLoader=void 0;var r=n(9486),o=function(){function t(){}return t.prototype.load=function(t){t.en=new r.en},t}();e.enLocaleLoader=o},9486(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.en=void 0;var n=function(t){return 1===Number(t)},r=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!1},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occurred when generating the expression description. Check the cron expression syntax."},t.prototype.everyMinute=function(){return"every minute"},t.prototype.everyHour=function(){return"every hour"},t.prototype.atSpace=function(){return"At "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},t.prototype.at=function(){return"At"},t.prototype.spaceAnd=function(){return" and"},t.prototype.everySecond=function(){return"every second"},t.prototype.everyX0Seconds=function(t){return n(t)?"every %s second":"every %s seconds"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},t.prototype.atX0SecondsPastTheMinute=function(t){return n(t)?"at %s second past the minute":"at %s seconds past the minute"},t.prototype.everyX0Minutes=function(t){return n(t)?"every %s minute":"every %s minutes"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},t.prototype.atX0MinutesPastTheHour=function(t){return n(t)?"at %s minute past the hour":"at %s minutes past the hour"},t.prototype.everyX0Hours=function(t){return n(t)?"every %s hour":"every %s hours"},t.prototype.betweenX0AndX1=function(){return"between %s and %s"},t.prototype.atX0=function(){return"at %s"},t.prototype.commaEveryDay=function(){return", every day"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},t.prototype.commaX0ThroughX1=function(){return", %s through %s"},t.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},t.prototype.first=function(){return"first"},t.prototype.second=function(){return"second"},t.prototype.third=function(){return"third"},t.prototype.fourth=function(){return"fourth"},t.prototype.fifth=function(){return"fifth"},t.prototype.commaOnThe=function(){return", on the "},t.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},t.prototype.lastDay=function(){return"the last day"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},t.prototype.commaOnlyOnX0=function(){return", only on %s"},t.prototype.commaAndOnX0=function(){return", and on %s"},t.prototype.commaEveryX0Months=function(){return", every %s months"},t.prototype.commaOnlyInX0=function(){return", only in %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(t){return n(t)?", %s day before the last day of the month":", %s days before the last day of the month"},t.prototype.firstWeekday=function(){return"first weekday"},t.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},t.prototype.commaDaysBeforeTheX0OfTheMonth=function(t){return n(t)?", %s day before the %s of the month":", %s days before the %s of the month"},t.prototype.commaDaysAfterTheX0OfTheMonth=function(t){return n(t)?", %s day after the %s of the month":", %s days after the %s of the month"},t.prototype.commaEveryX0Days=function(){return", every %s days in a month"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},t.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},t.prototype.commaEveryHour=function(){return", every hour"},t.prototype.commaEveryX0Years=function(t){return n(t)?", every %s year":", every %s years"},t.prototype.commaStartingX0=function(){return", starting %s"},t.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},t.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},t.prototype.atReboot=function(){return"Run once, at startup"},t.prototype.onTheHour=function(){return"on the hour"},t}();e.en=r},9515(t,e){function n(t,e){if(!t)throw new Error(e)}Object.defineProperty(e,"__esModule",{value:!0});var r=function(){function t(){}return t.stepRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++){var o=e[r].split("/")[1];n(void 0===o||!/^0+$/.test(o),"step value must be greater than 0")}},t.secondRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=0&&o<=59,"seconds part must be >= 0 and <= 59")}},t.minuteRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=0&&o<=59,"minutes part must be >= 0 and <= 59")}},t.hourRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=0&&o<=23,"hours part must be >= 0 and <= 23")}},t.dayOfMonthRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++)if(!isNaN(parseInt(e[r],10))){var o=parseInt(e[r],10);n(o>=1&&o<=31,"DOM part must be >= 1 and <= 31")}},t.monthRange=function(t,e){for(var r=t.split(","),o=0;o<r.length;o++)if(!isNaN(parseInt(r[o],10))){var i=parseInt(r[o],10);n(i>=1&&i<=12,e?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},t.dayOfWeekRange=function(t,e){for(var r=t.split(","),o=0;o<r.length;o++){if(r[o].indexOf("#")>-1){var i=r[o].substring(r[o].indexOf("#")+1);n(/^[1-5]$/.test(i),"DOW nth weekday must be >= 1 and <= 5")}if(!isNaN(parseInt(r[o],10))){var a=parseInt(r[o],10);n(a>=0&&a<=6,e?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}}},t}();e.default=r},1823(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtilities=void 0;var n=function(){function t(){}return t.format=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return t.replace(/%s/g,(function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return e.shift()}))},t.containsAny=function(t,e){return e.some((function(e){return t.indexOf(e)>-1}))},t}();e.StringUtilities=n}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}var r={};return(()=>{var t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.toString=void 0;var e=n(8333),o=n(3747);e.ExpressionDescriptor.initialize(new o.enLocaleLoader),t.default=e.ExpressionDescriptor;var i=e.ExpressionDescriptor.toString;t.toString=i})(),r})()));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define("cronstrue",[],e):"object"==typeof exports?exports.cronstrue=e():t.cronstrue=e()}(globalThis,(()=>(()=>{"use strict";var t={6949(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.CronParser=void 0;var r=n(9515),o=function(){function t(t,e,n){void 0===e&&(e=!0),void 0===n&&(n=!1),this.expression=t,this.dayOfWeekStartIndexZero=e,this.monthStartIndexZero=n}return t.prototype.parse=function(){var t,e,n=null!==(t=this.expression)&&void 0!==t?t:"";if("@reboot"===n)return e=["@reboot","","","","","",""];if(n.startsWith("@")){var r=this.parseSpecial(this.expression);e=this.extractParts(r)}else e=this.extractParts(this.expression);return this.normalize(e),this.validate(e),e},t.prototype.parseSpecial=function(t){var e={"@yearly":"0 0 1 JAN *","@annually":"0 0 1 JAN *","@monthly":"0 0 1 * *","@weekly":"0 0 * * SUN","@daily":"0 0 * * *","@midnight":"0 0 * * *","@hourly":"0 * * * *","@reboot":"@reboot"}[t];if(!e)throw new Error("Unknown special expression.");return e},t.prototype.extractParts=function(t){if(!this.expression)throw new Error("cron expression is empty");for(var e=t.trim().split(/[ ]+/),n=0;n<e.length;n++)if(e[n].includes(",")){var r=e[n].split(",").map((function(t){return t.trim()})).filter((function(t){return""!==t})).map((function(t){return isNaN(Number(t))?t:Number(t)})).filter((function(t){return null!==t&&""!==t}));0===r.length&&r.push("*"),r.sort((function(t,e){return null!==t&&null!==e?t-e:0})),e[n]=r.map((function(t){return null!==t?t.toString():""})).join(",")}if(e.length<5)throw new Error("Expression has only ".concat(e.length," part").concat(1==e.length?"":"s",". At least 5 parts are required."));if(5==e.length)e.unshift(""),e.push("");else if(6==e.length){/\d{4}$/.test(e[5])||"?"==e[4]||"?"==e[2]?e.unshift(""):e.push("")}else if(e.length>7)throw new Error("Expression has ".concat(e.length," parts; too many!"));return e},t.prototype.normalize=function(t){var e=this;t[3]=t[3].replace("?","*"),t[5]=t[5].replace("?","*"),t[2]=t[2].replace("?","*"),0==t[0].indexOf("0/")&&(t[0]=t[0].replace("0/","*/")),0==t[1].indexOf("0/")&&(t[1]=t[1].replace("0/","*/")),0==t[2].indexOf("0/")&&(t[2]=t[2].replace("0/","*/")),0==t[3].indexOf("1/")&&(t[3]=t[3].replace("1/","*/")),this.monthStartIndexZero||0!=t[4].indexOf("1/")||(t[4]=t[4].replace("1/","*/")),0==t[6].indexOf("1/")&&(t[6]=t[6].replace("1/","*/")),t[5]=t[5].replace(/(^\d+)|([^#/\s\d]\d+)/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.dayOfWeekStartIndexZero?"7"==n&&(r="0"):r=(parseInt(n)-1).toString(),t.replace(n,r)})),"L"==t[5]&&(t[5]="6"),"?"==t[3]&&(t[3]="*");if(t[3].indexOf("W")>-1&&(t[3].indexOf(",")>-1||/[-+]/.test(t[3]))&&!/^\d{1,2}W[+-]\d{1,2}$/.test(t[3]))throw new Error("The 'W' character can be specified only when the day-of-month is a single day, not a range or list of days.");var n={SUN:0,MON:1,TUE:2,WED:3,THU:4,FRI:5,SAT:6};for(var r in n)t[5]=t[5].replace(new RegExp(r,"gi"),n[r].toString());t[4]=t[4].replace(/(^\d{1,2})|([^#/\s\d]\d{1,2})/g,(function(t){var n=t.replace(/\D/,""),r=n;return e.monthStartIndexZero&&(r=(parseInt(n)+1).toString()),t.replace(n,r)}));var o={JAN:1,FEB:2,MAR:3,APR:4,MAY:5,JUN:6,JUL:7,AUG:8,SEP:9,OCT:10,NOV:11,DEC:12};for(var i in o)t[4]=t[4].replace(new RegExp(i,"gi"),o[i].toString());"0"==t[0]&&(t[0]=""),/\*|\-|\,|\//.test(t[2])||!/\*|\//.test(t[1])&&!/\*|\//.test(t[0])||(t[2]+="-".concat(t[2]));for(var a=0;a<t.length;a++)if(-1!=t[a].indexOf(",")&&(t[a]=t[a].split(",").filter((function(t){return""!==t})).join(",")||"*"),"*/1"==t[a]&&(t[a]="*"),t[a].indexOf("/")>-1&&!/^\*|\-|\,/.test(t[a])){var s=null;switch(a){case 4:s="12";break;case 5:s="6";break;case 6:s="9999";break;default:s=null}if(null!==s){var u=t[a].split("/");t[a]="".concat(u[0],"-").concat(s,"/").concat(u[1])}}},t.prototype.validate=function(t){var e="0-9,\\-*/";this.validateOnlyExpectedCharactersFound(t[0],e),this.validateOnlyExpectedCharactersFound(t[1],e),this.validateOnlyExpectedCharactersFound(t[2],e),this.validateOnlyExpectedCharactersFound(t[3].replace(/^(\d{1,2}W)[+-]\d{1,2}$/,"$1"),"0-9,\\-*/LW"),this.validateOnlyExpectedCharactersFound(t[4],e),this.validateOnlyExpectedCharactersFound(t[5],"0-9,\\-*/L#"),this.validateOnlyExpectedCharactersFound(t[6],e),this.validateAnyRanges(t)},t.prototype.validateAnyRanges=function(t){t.forEach((function(t){return r.default.stepRange(t)})),r.default.secondRange(t[0]),r.default.minuteRange(t[1]),r.default.hourRange(t[2]),r.default.dayOfMonthRange(t[3]),r.default.monthRange(t[4],this.monthStartIndexZero),r.default.dayOfWeekRange(t[5],this.dayOfWeekStartIndexZero)},t.prototype.validateOnlyExpectedCharactersFound=function(t,e){var n=t.match(new RegExp("[^".concat(e,"]+"),"gi"));if(n&&n.length)throw new Error("Expression contains invalid values: '".concat(n.toString(),"'"))},t}();e.CronParser=o},8333(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.ExpressionDescriptor=void 0;var r=n(1823),o=n(6949),i=function(){function t(e,n){if(this.expression=e,this.options=n,this.expressionParts=new Array(5),!this.options.locale&&t.defaultLocale&&(this.options.locale=t.defaultLocale),!t.locales[this.options.locale]){var r=Object.keys(t.locales)[0];console.warn("Locale '".concat(this.options.locale,"' could not be found; falling back to '").concat(r,"'.")),this.options.locale=r}this.i18n=t.locales[this.options.locale],void 0===n.use24HourTimeFormat&&(n.use24HourTimeFormat=this.i18n.use24HourTimeFormatByDefault())}return t.toString=function(e,n){var r=void 0===n?{}:n,o=r.throwExceptionOnParseError,i=void 0===o||o,a=r.verbose,s=void 0!==a&&a,u=r.dayOfWeekStartIndexZero,c=void 0===u||u,h=r.monthStartIndexZero,f=void 0!==h&&h,p=r.use24HourTimeFormat,l=r.trimHoursLeadingZero,d=void 0!==l&&l,m=r.locale,y=void 0===m?null:m,g=r.logicalAndDayFields,v={throwExceptionOnParseError:i,verbose:s,dayOfWeekStartIndexZero:c,monthStartIndexZero:f,use24HourTimeFormat:p,trimHoursLeadingZero:d,locale:y,logicalAndDayFields:void 0!==g&&g};return v.tzOffset&&console.warn("'tzOffset' option has been deprecated and is no longer supported."),new t(e,v).getFullDescription()},t.initialize=function(e,n){void 0===n&&(n="en"),t.specialCharacters=["/","-",",","*"],t.defaultLocale=n,e.load(t.locales)},t.prototype.getFullDescription=function(){var t,e,n="";try{var r=new o.CronParser(this.expression,this.options.dayOfWeekStartIndexZero,this.options.monthStartIndexZero);if(this.expressionParts=r.parse(),"@reboot"===this.expressionParts[0])return(null===(e=(t=this.i18n).atReboot)||void 0===e?void 0:e.call(t))||"Run once, at startup";var i=this.getTimeOfDayDescription(),a=this.getDayOfMonthDescription(),s=this.getMonthDescription();n+=i+a+this.getDayOfWeekDescription()+s+this.getYearDescription(),n=(n=this.transformVerbosity(n,!!this.options.verbose)).charAt(0).toLocaleUpperCase()+n.substr(1)}catch(t){if(this.options.throwExceptionOnParseError)throw"".concat(t);n=this.i18n.anErrorOccuredWhenGeneratingTheExpressionD()}return n},t.prototype.getTimeOfDayDescription=function(){var e=this.expressionParts[0],n=this.expressionParts[1],o=this.expressionParts[2],i="";if(r.StringUtilities.containsAny(n,t.specialCharacters)||r.StringUtilities.containsAny(o,t.specialCharacters)||r.StringUtilities.containsAny(e,t.specialCharacters))if(e||!(n.indexOf("-")>-1)||n.indexOf(",")>-1||n.indexOf("/")>-1||r.StringUtilities.containsAny(o,t.specialCharacters))if(!e&&o.indexOf(",")>-1&&-1==o.indexOf("-")&&-1==o.indexOf("/")&&!r.StringUtilities.containsAny(n,t.specialCharacters)){var a=o.split(",");i+=this.i18n.at();for(var s=0;s<a.length;s++)i&&(i+=" "),i+=this.formatTime(a[s],n,""),s<a.length-2&&(i+=","),s==a.length-2&&(i+=this.i18n.spaceAnd())}else{var u=this.getSecondsDescription(),c=this.getMinutesDescription(),h=this.getHoursDescription();if((i+=u)&&c&&(i+=", "),i+=c,c===h)return i;i&&h&&(i+=", "),i+=h}else{var f=n.split("-");i+=r.StringUtilities.format(this.i18n.everyMinuteBetweenX0AndX1(),this.formatTime(o,f[0],""),this.formatTime(o,f[1],""))}else i+=this.i18n.atSpace()+this.formatTime(o,n,e);return i},t.prototype.getSecondsDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[0],this.i18n.everySecond(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Seconds(e),e)}),(function(e){return t.i18n.secondsX0ThroughX1PastTheMinute()}),(function(e){return"0"==e?"":parseInt(e)<20?t.i18n.atX0SecondsPastTheMinute(e):t.i18n.atX0SecondsPastTheMinuteGt20()||t.i18n.atX0SecondsPastTheMinute(e)}),{min:0,max:59})},t.prototype.getMinutesDescription=function(){var t=this,e=this.expressionParts[0],n=this.expressionParts[2];return this.getSegmentDescription(this.expressionParts[1],this.i18n.everyMinute(),(function(t){return t}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Minutes(e),e)}),(function(e){return t.i18n.minutesX0ThroughX1PastTheHour()}),(function(r){var o,i;try{return"0"==r&&-1==n.indexOf("/")&&""==e?t.i18n.everyHour():"0"==r?(null===(i=(o=t.i18n).onTheHour)||void 0===i?void 0:i.call(o))||t.i18n.atX0MinutesPastTheHour(r):parseInt(r)<20?t.i18n.atX0MinutesPastTheHour(r):t.i18n.atX0MinutesPastTheHourGt20()||t.i18n.atX0MinutesPastTheHour(r)}catch(e){return t.i18n.atX0MinutesPastTheHour(r)}}),{min:0,max:59})},t.prototype.getHoursDescription=function(){var t=this,e=this.expressionParts[2],n=0,o=[];e.split("/")[0].split(",").forEach((function(t){var e=t.split("-");2===e.length&&o.push({value:e[1],index:n+1}),n+=e.length}));var i=0;return this.getSegmentDescription(e,this.i18n.everyHour(),(function(e){var n=o.find((function(t){return t.value===e&&t.index===i}))&&"0"!==t.expressionParts[1];return i++,n?t.formatTime(e,"59",""):t.formatTime(e,"0","")}),(function(e){return r.StringUtilities.format(t.i18n.everyX0Hours(e),e)}),(function(e){return t.i18n.betweenX0AndX1()}),(function(e){return t.i18n.atX0()}),{min:0,max:23})},t.prototype.getDayOfWeekDescription=function(t){var e,n,o=this;void 0===t&&(t=this.expressionParts[5]);var i=this.i18n.daysOfTheWeek(),a=null;if("*"==t)a="";else{var s=t.split(","),u=s.filter((function(t){return t.indexOf("L")>-1})),c=s.filter((function(t){return-1===t.indexOf("L")}));if(u.length>0&&c.length>0){var h=null!==(e=this.getDayOfWeekDescription(u.join(",")))&&void 0!==e?e:"";return(null!==(n=this.getDayOfWeekDescription(c.join(",")))&&void 0!==n?n:"")+"".concat(this.i18n.spaceAnd()," ")+(h.startsWith(", ")?h.substring(2):h)}a=this.getSegmentDescription(t,this.i18n.commaEveryDay(),(function(t,e){var n=t;t.indexOf("#")>-1?n=t.substring(0,t.indexOf("#")):t.indexOf("L")>-1&&(n=n.replace("L",""));var r=parseInt(n),a=o.i18n.daysOfTheWeekInCase?o.i18n.daysOfTheWeekInCase(e)[r]:i[r];if(t.indexOf("#")>-1){var s=null,u=t.substring(t.indexOf("#")+1),c=t.substring(0,t.indexOf("#"));switch(u){case"1":s=o.i18n.first(c);break;case"2":s=o.i18n.second(c);break;case"3":s=o.i18n.third(c);break;case"4":s=o.i18n.fourth(c);break;case"5":s=o.i18n.fifth(c)}a=s+" "+a}return a}),(function(t){return 1==parseInt(t)?"":r.StringUtilities.format(o.i18n.commaEveryX0DaysOfTheWeek(t),t)}),(function(t){var e=t.substring(0,t.indexOf("-"));return"*"!=o.expressionParts[3]?o.i18n.commaAndX0ThroughX1(e):o.i18n.commaX0ThroughX1(e)}),(function(t){var e=null;if(t.indexOf("#")>-1){var n=t.substring(t.indexOf("#")+1),r=t.substring(0,t.indexOf("#"));e=o.i18n.commaOnThe(n,r).trim()+o.i18n.spaceX0OfTheMonth()}else if(t.indexOf("L")>-1)e=o.i18n.commaOnTheLastX0OfTheMonth(t.replace("L",""));else{e="*"!=o.expressionParts[3]?o.options.logicalAndDayFields?o.i18n.commaOnlyOnX0(t):o.i18n.commaAndOnX0():o.i18n.commaOnlyOnX0(t)}return e}))}return a},t.prototype.getMonthDescription=function(){var t=this,e=this.i18n.monthsOfTheYear();return this.getSegmentDescription(this.expressionParts[4],"",(function(n,r){return r&&t.i18n.monthsOfTheYearInCase?t.i18n.monthsOfTheYearInCase(r)[parseInt(n)-1]:e[parseInt(n)-1]}),(function(e){return 1==parseInt(e)?"":r.StringUtilities.format(t.i18n.commaEveryX0Months(e),e)}),(function(e){return t.i18n.commaMonthX0ThroughMonthX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInMonthX0?t.i18n.commaOnlyInMonthX0():t.i18n.commaOnlyInX0()}))},t.prototype.getDayOfMonthDescription=function(){var t,e,n,o,i=this,a=null,s=this.expressionParts[3];switch(s){case"L":a=this.i18n.commaOnTheLastDayOfTheMonth();break;case"WL":case"LW":a=this.i18n.commaOnTheLastWeekdayOfTheMonth();break;default:var u=s.match(/^(?:(\d{1,2})W|W(\d{1,2}))(?:([+-])(\d{1,2}))?$/);if(u){var c=parseInt(u[1]||u[2]),h=1==c?this.i18n.firstWeekday():r.StringUtilities.format(this.i18n.weekdayNearestDayX0(),c.toString()),f=u[4];a=f?"-"==u[3]?r.StringUtilities.format((null===(e=(t=this.i18n).commaDaysBeforeTheX0OfTheMonth)||void 0===e?void 0:e.call(t,f))||", %s days before the %s of the month",f,h):r.StringUtilities.format((null===(o=(n=this.i18n).commaDaysAfterTheX0OfTheMonth)||void 0===o?void 0:o.call(n,f))||", %s days after the %s of the month",f,h):r.StringUtilities.format(this.i18n.commaOnTheX0OfTheMonth(),h);break}var p=s.match(/L-(\d{1,2})/);if(p){var l=p[1];a=r.StringUtilities.format(this.i18n.commaDaysBeforeTheLastDayOfTheMonth(l),l);break}if("*"==s&&"*"!=this.expressionParts[5])return"";a=this.getSegmentDescription(s,this.i18n.commaEveryDay(),(function(t){return"L"==t?i.i18n.lastDay():i.i18n.dayX0?r.StringUtilities.format(i.i18n.dayX0(),t):t}),(function(t){return"1"==t?i.i18n.commaEveryDay():i.i18n.commaEveryX0Days(t)}),(function(t){return i.i18n.commaBetweenDayX0AndX1OfTheMonth(t)}),(function(t){return i.i18n.commaOnDayX0OfTheMonth(t)}))}return a},t.prototype.getYearDescription=function(){var t=this;return this.getSegmentDescription(this.expressionParts[6],"",(function(t){return/^\d+$/.test(t)?new Date(parseInt(t),1).getFullYear().toString():t}),(function(e){return r.StringUtilities.format(t.i18n.commaEveryX0Years(e),e)}),(function(e){return t.i18n.commaYearX0ThroughYearX1()||t.i18n.commaX0ThroughX1()}),(function(e){return t.i18n.commaOnlyInYearX0?t.i18n.commaOnlyInYearX0():t.i18n.commaOnlyInX0()}))},t.prototype.getSegmentDescription=function(t,e,n,o,i,a,s){var u=null,c=t.indexOf("/")>-1,h=t.indexOf("-")>-1,f=t.indexOf(",")>-1;if(t)if("*"===t)u=e;else if(c||h||f)if(f){for(var p=t.split(","),l="",d=this.i18n.spaceAnd(),m=0;m<p.length;m++)if(m>0&&p.length>2&&(l+=",",m<p.length-1&&(l+=" ")),m>0&&p.length>1&&(m==p.length-1||2==p.length)&&(l+=","==d&&p.length>2?" ":"".concat(d," ")),p[m].indexOf("/")>-1||p[m].indexOf("-")>-1){var y=p[m].indexOf("-")>-1&&-1==p[m].indexOf("/"),g=this.getSegmentDescription(p[m],e,n,o,y?this.i18n.commaX0ThroughX1:i,a);y?g=g.replace(", ",""):m>0&&g.startsWith(", ")&&(g=g.substring(2)),l+=g}else if(c){var v=this.getSegmentDescription(p[m],e,n,o,i,a);m>0&&v&&v.startsWith(", ")&&(v=v.substring(2)),l+=v}else l+=n(p[m]);u=c?l:r.StringUtilities.format(a(t),l)}else if(c){p=t.split("/");if(u=r.StringUtilities.format(o(p[1]),p[1]),p[0].indexOf("-")>-1){var O=this.generateRangeSegmentDescription(p[0],i,n);0!=O.indexOf(", ")&&(u+=", "),u+=O}else if(-1==p[0].indexOf("*")){var x=r.StringUtilities.format(a(p[0]),n(p[0]));x=x.replace(", ",""),u+=r.StringUtilities.format(this.i18n.commaStartingX0(),x)}u+=this.getWrappingIncrementDescription(t,s,e,n,o,i,a)}else h&&(u=this.generateRangeSegmentDescription(t,i,n));else u=r.StringUtilities.format(a(t),n(t));else u="";return u},t.prototype.getWrappingIncrementDescription=function(t,e,n,r,o,i,a){if(!this.options.verbose||!e)return"";var s=t.split("/"),u=s[0],c=s[1],h=parseInt(c),f=e.max-e.min+1,p="*"===u,l=Number.isInteger(h)&&h>1;if(!p||!l||l&&f%h==0)return"";for(var d=[],m=e.min;m<=e.max;m+=h)d.push(m);if(d.length<2)return"";var y=this.getSegmentDescription(d.join(","),n,r,o,i,a);return y?", ".concat(y):""},t.prototype.generateRangeSegmentDescription=function(t,e,n){var o="",i=t.split("-"),a=n(i[0],1),s=n(i[1],2),u=e(t);return o+=r.StringUtilities.format(u,a,s)},t.prototype.formatTime=function(t,e,n){var r=parseInt(t)+0,o=parseInt(e)+0;o>=60?(o-=60,r+=1):o<0&&(o+=60,r-=1),r>=24?r-=24:r<0&&(r=24+r);var i="",a=!1;this.options.use24HourTimeFormat||(i=(a=!(!this.i18n.setPeriodBeforeTime||!this.i18n.setPeriodBeforeTime()))?"".concat(this.getPeriod(r)," "):" ".concat(this.getPeriod(r)),r>12&&(r-=12),0===r&&(r=12));var s="";n&&(s=":".concat(("00"+n).substring(n.length)));var u=r.toString(),c=("00"+u).substring(u.length),h=o.toString(),f=("00"+h).substring(h.length),p=this.options.trimHoursLeadingZero?u:c;return"".concat(a?i:"").concat(p,":").concat(f).concat(s).concat(a?"":i)},t.prototype.transformVerbosity=function(t,e){if(!e&&(t=(t=(t=(t=t.replace(new RegExp(", ".concat(this.i18n.everyMinute(),"(?!\\s*[\\p{L}\\p{N}])"),"gu"),"")).replace(new RegExp(", ".concat(this.i18n.everyHour(),"(?!\\s*[\\p{L}\\p{N}])"),"gu"),"")).replace(new RegExp("".concat(this.i18n.commaEveryDay(),"(?!\\s*[\\p{L}\\p{N}])"),"gu"),"")).replace(/\, ?$/,""),this.i18n.conciseVerbosityReplacements))for(var n=0,r=Object.entries(this.i18n.conciseVerbosityReplacements());n<r.length;n++){var o=r[n],i=o[0],a=o[1];t=t.replace(new RegExp(i,"g"),a)}return t},t.prototype.getPeriod=function(t){return t>=12?this.i18n.pm&&this.i18n.pm()||"PM":this.i18n.am&&this.i18n.am()||"AM"},t.locales={},t}();e.ExpressionDescriptor=i},3747(t,e,n){Object.defineProperty(e,"__esModule",{value:!0}),e.enLocaleLoader=void 0;var r=n(9486),o=function(){function t(){}return t.prototype.load=function(t){t.en=new r.en},t}();e.enLocaleLoader=o},9486(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.en=void 0;var n=function(t){return 1===Number(t)},r=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!1},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"An error occurred when generating the expression description. Check the cron expression syntax."},t.prototype.everyMinute=function(){return"every minute"},t.prototype.everyHour=function(){return"every hour"},t.prototype.atSpace=function(){return"At "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Every minute between %s and %s"},t.prototype.at=function(){return"At"},t.prototype.spaceAnd=function(){return" and"},t.prototype.everySecond=function(){return"every second"},t.prototype.everyX0Seconds=function(t){return n(t)?"every %s second":"every %s seconds"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"seconds %s through %s past the minute"},t.prototype.atX0SecondsPastTheMinute=function(t){return n(t)?"at %s second past the minute":"at %s seconds past the minute"},t.prototype.everyX0Minutes=function(t){return n(t)?"every %s minute":"every %s minutes"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},t.prototype.atX0MinutesPastTheHour=function(t){return n(t)?"at %s minute past the hour":"at %s minutes past the hour"},t.prototype.everyX0Hours=function(t){return n(t)?"every %s hour":"every %s hours"},t.prototype.betweenX0AndX1=function(){return"between %s and %s"},t.prototype.atX0=function(){return"at %s"},t.prototype.commaEveryDay=function(){return", every day"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", every %s days of the week"},t.prototype.commaX0ThroughX1=function(){return", %s through %s"},t.prototype.commaAndX0ThroughX1=function(){return", %s through %s"},t.prototype.first=function(){return"first"},t.prototype.second=function(){return"second"},t.prototype.third=function(){return"third"},t.prototype.fourth=function(){return"fourth"},t.prototype.fifth=function(){return"fifth"},t.prototype.commaOnThe=function(){return", on the "},t.prototype.spaceX0OfTheMonth=function(){return" %s of the month"},t.prototype.lastDay=function(){return"the last day"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", on the last %s of the month"},t.prototype.commaOnlyOnX0=function(){return", only on %s"},t.prototype.commaAndOnX0=function(){return", and on %s"},t.prototype.commaEveryX0Months=function(){return", every %s months"},t.prototype.commaOnlyInX0=function(){return", only in %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", on the last day of the month"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", on the last weekday of the month"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(t){return n(t)?", %s day before the last day of the month":", %s days before the last day of the month"},t.prototype.firstWeekday=function(){return"first weekday"},t.prototype.weekdayNearestDayX0=function(){return"weekday nearest day %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", on the %s of the month"},t.prototype.commaDaysBeforeTheX0OfTheMonth=function(t){return n(t)?", %s day before the %s of the month":", %s days before the %s of the month"},t.prototype.commaDaysAfterTheX0OfTheMonth=function(t){return n(t)?", %s day after the %s of the month":", %s days after the %s of the month"},t.prototype.commaEveryX0Days=function(){return", every %s days in a month"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", between day %s and %s of the month"},t.prototype.commaOnDayX0OfTheMonth=function(){return", on day %s of the month"},t.prototype.commaEveryHour=function(){return", every hour"},t.prototype.commaEveryX0Years=function(t){return n(t)?", every %s year":", every %s years"},t.prototype.commaStartingX0=function(){return", starting %s"},t.prototype.daysOfTheWeek=function(){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},t.prototype.monthsOfTheYear=function(){return["January","February","March","April","May","June","July","August","September","October","November","December"]},t.prototype.atReboot=function(){return"Run once, at startup"},t.prototype.onTheHour=function(){return"on the hour"},t}();e.en=r},9515(t,e){function n(t,e){if(!t)throw new Error(e)}function r(t){var e=[];if(!isNaN(parseInt(t,10))){e.push(parseInt(t,10));var n=t.match(/^\d+-(-?\d+)/);n&&e.push(parseInt(n[1],10))}return e}Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(){}return t.stepRange=function(t){for(var e=t.split(","),r=0;r<e.length;r++){var o=e[r].split("/")[1];n(void 0===o||!/^0+$/.test(o),"step value must be greater than 0")}},t.secondRange=function(t){for(var e=t.split(","),o=0;o<e.length;o++)for(var i=0,a=r(e[o]);i<a.length;i++){var s=a[i];n(s>=0&&s<=59,"seconds part must be >= 0 and <= 59")}},t.minuteRange=function(t){for(var e=t.split(","),o=0;o<e.length;o++)for(var i=0,a=r(e[o]);i<a.length;i++){var s=a[i];n(s>=0&&s<=59,"minutes part must be >= 0 and <= 59")}},t.hourRange=function(t){for(var e=t.split(","),o=0;o<e.length;o++)for(var i=0,a=r(e[o]);i<a.length;i++){var s=a[i];n(s>=0&&s<=23,"hours part must be >= 0 and <= 23")}},t.dayOfMonthRange=function(t){for(var e=t.split(","),o=0;o<e.length;o++)for(var i=0,a=r(e[o]);i<a.length;i++){var s=a[i];n(s>=1&&s<=31,"DOM part must be >= 1 and <= 31")}},t.monthRange=function(t,e){for(var o=t.split(","),i=0;i<o.length;i++)for(var a=0,s=r(o[i]);a<s.length;a++){var u=s[a];n(u>=1&&u<=12,e?"month part must be >= 0 and <= 11":"month part must be >= 1 and <= 12")}},t.dayOfWeekRange=function(t,e){for(var o=t.split(","),i=0;i<o.length;i++){if(o[i].indexOf("#")>-1){var a=o[i].substring(o[i].indexOf("#")+1);n(/^[1-5]$/.test(a),"DOW nth weekday must be >= 1 and <= 5")}for(var s=0,u=r(o[i]);s<u.length;s++){var c=u[s];n(c>=0&&c<=6,e?"DOW part must be >= 0 and <= 6":"DOW part must be >= 1 and <= 7")}}},t}();e.default=o},1823(t,e){Object.defineProperty(e,"__esModule",{value:!0}),e.StringUtilities=void 0;var n=function(){function t(){}return t.format=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return t.replace(/%s/g,(function(t){for(var n=[],r=1;r<arguments.length;r++)n[r-1]=arguments[r];return e.shift()}))},t.containsAny=function(t,e){return e.some((function(e){return t.indexOf(e)>-1}))},t}();e.StringUtilities=n}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}var r={};return(()=>{var t=r;Object.defineProperty(t,"__esModule",{value:!0}),t.toString=void 0;var e=n(8333),o=n(3747);e.ExpressionDescriptor.initialize(new o.enLocaleLoader),t.default=e.ExpressionDescriptor;var i=e.ExpressionDescriptor.toString;t.toString=i})(),r})()));
|
|
@@ -19,7 +19,7 @@ export declare class ExpressionDescriptor {
|
|
|
19
19
|
protected getSecondsDescription(): string;
|
|
20
20
|
protected getMinutesDescription(): string;
|
|
21
21
|
protected getHoursDescription(): string;
|
|
22
|
-
protected getDayOfWeekDescription(): string;
|
|
22
|
+
protected getDayOfWeekDescription(dayOfWeekExpression?: string): string | null;
|
|
23
23
|
protected getMonthDescription(): string;
|
|
24
24
|
protected getDayOfMonthDescription(): string | null;
|
|
25
25
|
protected getYearDescription(): string;
|
package/locales/fa.js
CHANGED
|
@@ -201,7 +201,7 @@ var fa = (function () {
|
|
|
201
201
|
return "آخرین روز";
|
|
202
202
|
};
|
|
203
203
|
fa.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
204
|
-
return ", در %s ماه";
|
|
204
|
+
return ", در آخرین %s ماه";
|
|
205
205
|
};
|
|
206
206
|
fa.prototype.commaOnlyOnX0 = function () {
|
|
207
207
|
return ", فقط در %s";
|
|
@@ -219,13 +219,13 @@ var fa = (function () {
|
|
|
219
219
|
return ", در آخرین روز ماه";
|
|
220
220
|
};
|
|
221
221
|
fa.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
222
|
-
return ", در آخرین روز ماه";
|
|
222
|
+
return ", در آخرین روز کاری ماه";
|
|
223
223
|
};
|
|
224
224
|
fa.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
225
225
|
return ", %s روز قبل از آخرین روز ماه";
|
|
226
226
|
};
|
|
227
227
|
fa.prototype.firstWeekday = function () {
|
|
228
|
-
return "اولین روز";
|
|
228
|
+
return "اولین روز کاری";
|
|
229
229
|
};
|
|
230
230
|
fa.prototype.weekdayNearestDayX0 = function () {
|
|
231
231
|
return "روز نزدیک به روز %s";
|
package/locales/fa.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/fa.min",["cronstrue"],e):"object"==typeof exports?exports["locales/fa.min"]=e(require("cronstrue")):t["locales/fa.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};r.r(n);var u=r(93),p=r.n(u),c=n;Object.defineProperty(c,"__esModule",{value:!0}),c.fa=void 0;var f=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"خطایی در نمایش توضیحات این وظیفه رخ داد. لطفا ساختار آن را بررسی کنید."},t.prototype.everyMinute=function(){return"هر دقیقه"},t.prototype.everyHour=function(){return"هر ساعت"},t.prototype.atSpace=function(){return"در "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"هر دقیقه بین %s و %s"},t.prototype.at=function(){return"در"},t.prototype.spaceAnd=function(){return" و"},t.prototype.everySecond=function(){return"هر ثانیه"},t.prototype.everyX0Seconds=function(){return"هر %s ثانیه"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"ثانیه %s تا %s دقیقه گذشته"},t.prototype.atX0SecondsPastTheMinute=function(){return"در %s قانیه از دقیقه گذشته"},t.prototype.everyX0Minutes=function(){return"هر %s دقیقه"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"دقیقه %s تا %s ساعت گذشته"},t.prototype.atX0MinutesPastTheHour=function(){return"در %s دقیقه پس از ساعت"},t.prototype.everyX0Hours=function(){return"هر %s ساعت"},t.prototype.betweenX0AndX1=function(){return"بین %s و %s"},t.prototype.atX0=function(){return"در %s"},t.prototype.commaEveryDay=function(){return", هر روز"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", هر %s روز از هفته"},t.prototype.commaX0ThroughX1=function(){return", %s تا %s"},t.prototype.commaAndX0ThroughX1=function(){return", و %s تا %s"},t.prototype.first=function(){return"اول"},t.prototype.second=function(){return"دوم"},t.prototype.third=function(){return"سوم"},t.prototype.fourth=function(){return"چهارم"},t.prototype.fifth=function(){return"پنجم"},t.prototype.commaOnThe=function(){return", در "},t.prototype.spaceX0OfTheMonth=function(){return" %s ماه"},t.prototype.lastDay=function(){return"آخرین روز"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", در %s ماه"},t.prototype.commaOnlyOnX0=function(){return", فقط در %s"},t.prototype.commaAndOnX0=function(){return", و در %s"},t.prototype.commaEveryX0Months=function(){return", هر %s ماه"},t.prototype.commaOnlyInX0=function(){return", فقط در %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", در آخرین روز ماه"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", در آخرین روز ماه"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s روز قبل از آخرین روز ماه"},t.prototype.firstWeekday=function(){return"اولین روز"},t.prototype.weekdayNearestDayX0=function(){return"روز نزدیک به روز %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", در %s ماه"},t.prototype.commaEveryX0Days=function(){return", هر %s روز"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", بین روز %s و %s ماه"},t.prototype.commaOnDayX0OfTheMonth=function(){return", در %s ماه"},t.prototype.commaEveryMinute=function(){return", هر minute"},t.prototype.commaEveryHour=function(){return", هر ساعت"},t.prototype.commaEveryX0Years=function(){return", هر %s سال"},t.prototype.commaStartingX0=function(){return", آغاز %s"},t.prototype.daysOfTheWeek=function(){return["یکشنبه","دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},t.prototype.monthsOfTheYear=function(){return["ژانویه","فوریه","مارس","آپریل","مه","ژوئن","ژوئیه","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},t.prototype.atReboot=function(){return"یک بار اجرا شود، هنگام راهاندازی"},t.prototype.onTheHour=function(){return"سر ساعت"},t}();return c.fa=f,p().locales.fa=new f,n})()));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/fa.min",["cronstrue"],e):"object"==typeof exports?exports["locales/fa.min"]=e(require("cronstrue")):t["locales/fa.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};r.r(n);var u=r(93),p=r.n(u),c=n;Object.defineProperty(c,"__esModule",{value:!0}),c.fa=void 0;var f=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"خطایی در نمایش توضیحات این وظیفه رخ داد. لطفا ساختار آن را بررسی کنید."},t.prototype.everyMinute=function(){return"هر دقیقه"},t.prototype.everyHour=function(){return"هر ساعت"},t.prototype.atSpace=function(){return"در "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"هر دقیقه بین %s و %s"},t.prototype.at=function(){return"در"},t.prototype.spaceAnd=function(){return" و"},t.prototype.everySecond=function(){return"هر ثانیه"},t.prototype.everyX0Seconds=function(){return"هر %s ثانیه"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"ثانیه %s تا %s دقیقه گذشته"},t.prototype.atX0SecondsPastTheMinute=function(){return"در %s قانیه از دقیقه گذشته"},t.prototype.everyX0Minutes=function(){return"هر %s دقیقه"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"دقیقه %s تا %s ساعت گذشته"},t.prototype.atX0MinutesPastTheHour=function(){return"در %s دقیقه پس از ساعت"},t.prototype.everyX0Hours=function(){return"هر %s ساعت"},t.prototype.betweenX0AndX1=function(){return"بین %s و %s"},t.prototype.atX0=function(){return"در %s"},t.prototype.commaEveryDay=function(){return", هر روز"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", هر %s روز از هفته"},t.prototype.commaX0ThroughX1=function(){return", %s تا %s"},t.prototype.commaAndX0ThroughX1=function(){return", و %s تا %s"},t.prototype.first=function(){return"اول"},t.prototype.second=function(){return"دوم"},t.prototype.third=function(){return"سوم"},t.prototype.fourth=function(){return"چهارم"},t.prototype.fifth=function(){return"پنجم"},t.prototype.commaOnThe=function(){return", در "},t.prototype.spaceX0OfTheMonth=function(){return" %s ماه"},t.prototype.lastDay=function(){return"آخرین روز"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", در آخرین %s ماه"},t.prototype.commaOnlyOnX0=function(){return", فقط در %s"},t.prototype.commaAndOnX0=function(){return", و در %s"},t.prototype.commaEveryX0Months=function(){return", هر %s ماه"},t.prototype.commaOnlyInX0=function(){return", فقط در %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", در آخرین روز ماه"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", در آخرین روز کاری ماه"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s روز قبل از آخرین روز ماه"},t.prototype.firstWeekday=function(){return"اولین روز کاری"},t.prototype.weekdayNearestDayX0=function(){return"روز نزدیک به روز %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", در %s ماه"},t.prototype.commaEveryX0Days=function(){return", هر %s روز"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", بین روز %s و %s ماه"},t.prototype.commaOnDayX0OfTheMonth=function(){return", در %s ماه"},t.prototype.commaEveryMinute=function(){return", هر minute"},t.prototype.commaEveryHour=function(){return", هر ساعت"},t.prototype.commaEveryX0Years=function(){return", هر %s سال"},t.prototype.commaStartingX0=function(){return", آغاز %s"},t.prototype.daysOfTheWeek=function(){return["یکشنبه","دوشنبه","سهشنبه","چهارشنبه","پنجشنبه","جمعه","شنبه"]},t.prototype.monthsOfTheYear=function(){return["ژانویه","فوریه","مارس","آپریل","مه","ژوئن","ژوئیه","آگوست","سپتامبر","اکتبر","نوامبر","دسامبر"]},t.prototype.atReboot=function(){return"یک بار اجرا شود، هنگام راهاندازی"},t.prototype.onTheHour=function(){return"سر ساعت"},t}();return c.fa=f,p().locales.fa=new f,n})()));
|
package/locales/he.js
CHANGED
|
@@ -201,7 +201,7 @@ var he = (function () {
|
|
|
201
201
|
return "היום האחרון";
|
|
202
202
|
};
|
|
203
203
|
he.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
204
|
-
return ",
|
|
204
|
+
return ", ב%s האחרון של החודש";
|
|
205
205
|
};
|
|
206
206
|
he.prototype.commaOnlyOnX0 = function () {
|
|
207
207
|
return ", רק ב %s";
|
package/locales/he.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/he.min",["cronstrue"],e):"object"==typeof exports?exports["locales/he.min"]=e(require("cronstrue")):t["locales/he.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};r.r(n);var u=r(93),p=r.n(u),c=n;Object.defineProperty(c,"__esModule",{value:!0}),c.he=void 0;var i=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"אירעה שגיאה בעת יצירת תיאור הביטוי. בדוק את תחביר הביטוי cron."},t.prototype.everyMinute=function(){return"כל דקה"},t.prototype.everyHour=function(){return"כל שעה"},t.prototype.atSpace=function(){return"ב "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"כל דקה %s עד %s"},t.prototype.at=function(){return"ב"},t.prototype.spaceAnd=function(){return" ו"},t.prototype.everySecond=function(){return"כל שניה"},t.prototype.everyX0Seconds=function(){return"כל %s שניות"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"%s עד %s שניות של הדקה"},t.prototype.atX0SecondsPastTheMinute=function(){return"ב %s שניות של הדקה"},t.prototype.everyX0Minutes=function(){return"כל %s דקות"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"%s עד %s דקות של השעה"},t.prototype.atX0MinutesPastTheHour=function(){return"ב %s דקות של השעה"},t.prototype.everyX0Hours=function(){return"כל %s שעות"},t.prototype.betweenX0AndX1=function(){return"%s עד %s"},t.prototype.atX0=function(){return"ב %s"},t.prototype.commaEveryDay=function(){return", כל יום"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", כל %s ימים בשבוע"},t.prototype.commaX0ThroughX1=function(){return", %s עד %s"},t.prototype.commaAndX0ThroughX1=function(){return", ו %s עד %s"},t.prototype.first=function(){return"ראשון"},t.prototype.second=function(){return"שני"},t.prototype.third=function(){return"שלישי"},t.prototype.fourth=function(){return"רביעי"},t.prototype.fifth=function(){return"חמישי"},t.prototype.commaOnThe=function(){return", ב "},t.prototype.spaceX0OfTheMonth=function(){return" %s של החודש"},t.prototype.lastDay=function(){return"היום האחרון"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return",
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/he.min",["cronstrue"],e):"object"==typeof exports?exports["locales/he.min"]=e(require("cronstrue")):t["locales/he.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function r(t){var n=o[t];if(void 0!==n)return n.exports;var u=o[t]={exports:{}};return e[t](u,u.exports,r),u.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var o in e)r.o(e,o)&&!r.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var n={};r.r(n);var u=r(93),p=r.n(u),c=n;Object.defineProperty(c,"__esModule",{value:!0}),c.he=void 0;var i=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"אירעה שגיאה בעת יצירת תיאור הביטוי. בדוק את תחביר הביטוי cron."},t.prototype.everyMinute=function(){return"כל דקה"},t.prototype.everyHour=function(){return"כל שעה"},t.prototype.atSpace=function(){return"ב "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"כל דקה %s עד %s"},t.prototype.at=function(){return"ב"},t.prototype.spaceAnd=function(){return" ו"},t.prototype.everySecond=function(){return"כל שניה"},t.prototype.everyX0Seconds=function(){return"כל %s שניות"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"%s עד %s שניות של הדקה"},t.prototype.atX0SecondsPastTheMinute=function(){return"ב %s שניות של הדקה"},t.prototype.everyX0Minutes=function(){return"כל %s דקות"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"%s עד %s דקות של השעה"},t.prototype.atX0MinutesPastTheHour=function(){return"ב %s דקות של השעה"},t.prototype.everyX0Hours=function(){return"כל %s שעות"},t.prototype.betweenX0AndX1=function(){return"%s עד %s"},t.prototype.atX0=function(){return"ב %s"},t.prototype.commaEveryDay=function(){return", כל יום"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", כל %s ימים בשבוע"},t.prototype.commaX0ThroughX1=function(){return", %s עד %s"},t.prototype.commaAndX0ThroughX1=function(){return", ו %s עד %s"},t.prototype.first=function(){return"ראשון"},t.prototype.second=function(){return"שני"},t.prototype.third=function(){return"שלישי"},t.prototype.fourth=function(){return"רביעי"},t.prototype.fifth=function(){return"חמישי"},t.prototype.commaOnThe=function(){return", ב "},t.prototype.spaceX0OfTheMonth=function(){return" %s של החודש"},t.prototype.lastDay=function(){return"היום האחרון"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", ב%s האחרון של החודש"},t.prototype.commaOnlyOnX0=function(){return", רק ב %s"},t.prototype.commaAndOnX0=function(){return", וב %s"},t.prototype.commaEveryX0Months=function(){return", כל %s חודשים"},t.prototype.commaOnlyInX0=function(){return", רק ב %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", ביום האחרון של החודש"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", ביום החול האחרון של החודש"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s ימים לפני היום האחרון בחודש"},t.prototype.firstWeekday=function(){return"יום החול הראשון"},t.prototype.weekdayNearestDayX0=function(){return"יום החול הראשון הקרוב אל %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", ביום ה%s של החודש"},t.prototype.commaEveryX0Days=function(){return", כל %s ימים"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", בין היום ה%s וה%s של החודש"},t.prototype.commaOnDayX0OfTheMonth=function(){return", ביום ה%s של החודש"},t.prototype.commaEveryX0Years=function(){return", כל %s שנים"},t.prototype.commaStartingX0=function(){return", החל מ %s"},t.prototype.daysOfTheWeek=function(){return["יום ראשון","יום שני","יום שלישי","יום רביעי","יום חמישי","יום שישי","יום שבת"]},t.prototype.monthsOfTheYear=function(){return["ינואר","פברואר","מרץ","אפריל","מאי","יוני","יולי","אוגוסט","ספטמבר","אוקטובר","נובמבר","דצמבר"]},t.prototype.atReboot=function(){return"הרצה אחת, בעת ההפעלה"},t.prototype.onTheHour=function(){return"בשעה עגולה"},t}();return c.he=i,p().locales.he=new i,n})()));
|
package/locales/it.js
CHANGED
|
@@ -171,7 +171,7 @@ var it = (function () {
|
|
|
171
171
|
return ", l'ultimo giorno del mese";
|
|
172
172
|
};
|
|
173
173
|
it.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
174
|
-
return ",
|
|
174
|
+
return ", l'ultimo giorno feriale del mese";
|
|
175
175
|
};
|
|
176
176
|
it.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
177
177
|
return ", %s giorni prima dell'ultimo giorno del mese";
|
package/locales/it.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,
|
|
1
|
+
!function(e,o){"object"==typeof exports&&"object"==typeof module?module.exports=o(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/it.min",["cronstrue"],o):"object"==typeof exports?exports["locales/it.min"]=o(require("cronstrue")):e["locales/it.min"]=o(e.cronstrue)}(globalThis,(e=>(()=>{"use strict";var o={93(o){o.exports=e}},t={};function n(e){var r=t[e];if(void 0!==r)return r.exports;var i=t[e]={exports:{}};return o[e](i,i.exports,n),i.exports}n.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return n.d(o,{a:o}),o},n.d=(e,o)=>{for(var t in o)n.o(o,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var r={};n.r(r);var i=n(93),u=n.n(i),a=r;Object.defineProperty(a,"__esModule",{value:!0}),a.it=void 0;var p=function(){function e(){}return e.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},e.prototype.atX0MinutesPastTheHourGt20=function(){return null},e.prototype.commaMonthX0ThroughMonthX1=function(){return null},e.prototype.commaYearX0ThroughYearX1=function(){return null},e.prototype.use24HourTimeFormatByDefault=function(){return!0},e.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"È verificato un errore durante la generazione la descrizione espressione. Controllare la sintassi delle espressioni cron."},e.prototype.at=function(){return"Alle"},e.prototype.atSpace=function(){return"Alle "},e.prototype.atX0=function(){return"alle %s"},e.prototype.atX0MinutesPastTheHour=function(){return"al %s minuto passata l'ora"},e.prototype.atX0SecondsPastTheMinute=function(){return"al %s secondo passato il minuto"},e.prototype.betweenX0AndX1=function(){return"tra le %s e le %s"},e.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", tra il giorno %s e %s del mese"},e.prototype.commaEveryDay=function(){return", ogni giorno"},e.prototype.commaEveryX0Days=function(){return", ogni %s giorni"},e.prototype.commaEveryX0DaysOfTheWeek=function(){return", ogni %s giorni della settimana"},e.prototype.commaEveryX0Months=function(){return", ogni %s mesi"},e.prototype.commaEveryX0Years=function(){return", ogni %s anni"},e.prototype.commaOnDayX0OfTheMonth=function(){return", il giorno %s del mese"},e.prototype.commaOnlyInX0=function(){return", solo in %s"},e.prototype.commaOnlyOnX0=function(){return", solo il %s"},e.prototype.commaAndOnX0=function(){return", e il %s"},e.prototype.commaOnThe=function(){return", il "},e.prototype.commaOnTheLastDayOfTheMonth=function(){return", l'ultimo giorno del mese"},e.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", l'ultimo giorno feriale del mese"},e.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s giorni prima dell'ultimo giorno del mese"},e.prototype.commaOnTheLastX0OfTheMonth=function(){return", l'ultimo %s del mese"},e.prototype.commaOnTheX0OfTheMonth=function(){return", il %s del mese"},e.prototype.commaX0ThroughX1=function(){return", %s al %s"},e.prototype.commaAndX0ThroughX1=function(){return", e %s al %s"},e.prototype.everyHour=function(){return"ogni ora"},e.prototype.everyMinute=function(){return"ogni minuto"},e.prototype.everyMinuteBetweenX0AndX1=function(){return"Ogni minuto tra le %s e le %s"},e.prototype.everySecond=function(){return"ogni secondo"},e.prototype.everyX0Hours=function(){return"ogni %s ore"},e.prototype.everyX0Minutes=function(){return"ogni %s minuti"},e.prototype.everyX0Seconds=function(){return"ogni %s secondi"},e.prototype.fifth=function(){return"quinto"},e.prototype.first=function(){return"primo"},e.prototype.firstWeekday=function(){return"primo giorno della settimana"},e.prototype.fourth=function(){return"quarto"},e.prototype.minutesX0ThroughX1PastTheHour=function(){return"minuti %s al %s dopo l'ora"},e.prototype.second=function(){return"secondo"},e.prototype.secondsX0ThroughX1PastTheMinute=function(){return"secondi %s al %s oltre il minuto"},e.prototype.spaceAnd=function(){return" e"},e.prototype.spaceX0OfTheMonth=function(){return" %s del mese"},e.prototype.lastDay=function(){return"l'ultimo giorno"},e.prototype.third=function(){return"terzo"},e.prototype.weekdayNearestDayX0=function(){return"giorno della settimana più vicino al %s"},e.prototype.commaStartingX0=function(){return", a partire %s"},e.prototype.daysOfTheWeek=function(){return["domenica","lunedì","martedì","mercoledì","giovedì","venerdì","sabato"]},e.prototype.monthsOfTheYear=function(){return["gennaio","febbraio","marzo","aprile","maggio","giugno","luglio","agosto","settembre","ottobre","novembre","dicembre"]},e.prototype.atReboot=function(){return"Esegui una volta, all'avvio"},e.prototype.onTheHour=function(){return"all'ora esatta"},e}();return a.it=p,u().locales.it=new p,r})()));
|
package/locales/my.js
CHANGED
|
@@ -219,7 +219,7 @@ var my = (function () {
|
|
|
219
219
|
return ", pada hari terakhir bulan";
|
|
220
220
|
};
|
|
221
221
|
my.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
222
|
-
return ", pada
|
|
222
|
+
return ", pada hari bekerja terakhir bulan";
|
|
223
223
|
};
|
|
224
224
|
my.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
225
225
|
return ", %s hari sebelum hari terakhir bulan";
|
package/locales/my.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/my.min",["cronstrue"],e):"object"==typeof exports?exports["locales/my.min"]=e(require("cronstrue")):t["locales/my.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}};return e[t](a,a.exports,r),a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};r.r(o);var a=r(93),u=r.n(a),p=o;Object.defineProperty(p,"__esModule",{value:!0}),p.my=void 0;var i=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!1},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Terdapat ralat semasa menjana penerangan ungkapan. Sila periksa sintaks ungkapan cron."},t.prototype.everyMinute=function(){return"setiap minit"},t.prototype.everyHour=function(){return"setiap jam"},t.prototype.atSpace=function(){return"Pada "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Setiap minit antara %s dan %s"},t.prototype.at=function(){return"Pada"},t.prototype.spaceAnd=function(){return" dan"},t.prototype.everySecond=function(){return"setiap saat"},t.prototype.everyX0Seconds=function(){return"setiap %s saat"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"saat ke %s hingga %s selepas minit"},t.prototype.atX0SecondsPastTheMinute=function(){return"pada %s saat selepas minit"},t.prototype.everyX0Minutes=function(){return"setiap %s minit"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minit ke %s hingga %s selepas jam"},t.prototype.atX0MinutesPastTheHour=function(){return"pada %s minit selepas jam"},t.prototype.everyX0Hours=function(){return"setiap %s jam"},t.prototype.betweenX0AndX1=function(){return"antara %s dan %s"},t.prototype.atX0=function(){return"pada %s"},t.prototype.commaEveryDay=function(){return", setiap hari"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", setiap %s hari dalam minggu"},t.prototype.commaX0ThroughX1=function(){return", %s hingga %s"},t.prototype.commaAndX0ThroughX1=function(){return", dan %s hingga %s"},t.prototype.first=function(){return"pertama"},t.prototype.second=function(){return"kedua"},t.prototype.third=function(){return"ketiga"},t.prototype.fourth=function(){return"keempat"},t.prototype.fifth=function(){return"kelima"},t.prototype.commaOnThe=function(){return", pada "},t.prototype.spaceX0OfTheMonth=function(){return" %s pada bulan"},t.prototype.lastDay=function(){return"hari terakhir"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", pada %s terakhir bulan"},t.prototype.commaOnlyOnX0=function(){return", hanya pada %s"},t.prototype.commaAndOnX0=function(){return", dan pada %s"},t.prototype.commaEveryX0Months=function(){return", setiap bulan %s"},t.prototype.commaOnlyInX0=function(){return", hanya pada %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", pada hari terakhir bulan"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", pada
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/my.min",["cronstrue"],e):"object"==typeof exports?exports["locales/my.min"]=e(require("cronstrue")):t["locales/my.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}};return e[t](a,a.exports,r),a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};r.r(o);var a=r(93),u=r.n(a),p=o;Object.defineProperty(p,"__esModule",{value:!0}),p.my=void 0;var i=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!1},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Terdapat ralat semasa menjana penerangan ungkapan. Sila periksa sintaks ungkapan cron."},t.prototype.everyMinute=function(){return"setiap minit"},t.prototype.everyHour=function(){return"setiap jam"},t.prototype.atSpace=function(){return"Pada "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Setiap minit antara %s dan %s"},t.prototype.at=function(){return"Pada"},t.prototype.spaceAnd=function(){return" dan"},t.prototype.everySecond=function(){return"setiap saat"},t.prototype.everyX0Seconds=function(){return"setiap %s saat"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"saat ke %s hingga %s selepas minit"},t.prototype.atX0SecondsPastTheMinute=function(){return"pada %s saat selepas minit"},t.prototype.everyX0Minutes=function(){return"setiap %s minit"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minit ke %s hingga %s selepas jam"},t.prototype.atX0MinutesPastTheHour=function(){return"pada %s minit selepas jam"},t.prototype.everyX0Hours=function(){return"setiap %s jam"},t.prototype.betweenX0AndX1=function(){return"antara %s dan %s"},t.prototype.atX0=function(){return"pada %s"},t.prototype.commaEveryDay=function(){return", setiap hari"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", setiap %s hari dalam minggu"},t.prototype.commaX0ThroughX1=function(){return", %s hingga %s"},t.prototype.commaAndX0ThroughX1=function(){return", dan %s hingga %s"},t.prototype.first=function(){return"pertama"},t.prototype.second=function(){return"kedua"},t.prototype.third=function(){return"ketiga"},t.prototype.fourth=function(){return"keempat"},t.prototype.fifth=function(){return"kelima"},t.prototype.commaOnThe=function(){return", pada "},t.prototype.spaceX0OfTheMonth=function(){return" %s pada bulan"},t.prototype.lastDay=function(){return"hari terakhir"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", pada %s terakhir bulan"},t.prototype.commaOnlyOnX0=function(){return", hanya pada %s"},t.prototype.commaAndOnX0=function(){return", dan pada %s"},t.prototype.commaEveryX0Months=function(){return", setiap bulan %s"},t.prototype.commaOnlyInX0=function(){return", hanya pada %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", pada hari terakhir bulan"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", pada hari bekerja terakhir bulan"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s hari sebelum hari terakhir bulan"},t.prototype.firstWeekday=function(){return"hari pertama minggu bekerja"},t.prototype.weekdayNearestDayX0=function(){return"hari bekerja yang terdekat dengan %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", pada %s bulan"},t.prototype.commaEveryX0Days=function(){return", setiap %s hari"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", antara hari %s dan %s dalam bulan"},t.prototype.commaOnDayX0OfTheMonth=function(){return", pada hari %s dalam bulan"},t.prototype.commaEveryHour=function(){return", setiap jam"},t.prototype.commaEveryX0Years=function(){return", setiap %s tahun"},t.prototype.commaStartingX0=function(){return", bermula %s"},t.prototype.daysOfTheWeek=function(){return["Ahad","Isnin","Selasa","Rabu","Khamis","Jumaat","Sabtu"]},t.prototype.monthsOfTheYear=function(){return["Januari","Februari","Mac","April","Mei","Jun","Julai","Ogos","September","Oktober","November","Disember"]},t.prototype.atReboot=function(){return"Jalankan sekali, semasa permulaan"},t.prototype.onTheHour=function(){return"pada waktu yang tepat"},t}();return p.my=i,u().locales.my=new i,o})()));
|
package/locales/sw.js
CHANGED
|
@@ -201,7 +201,7 @@ var sw = (function () {
|
|
|
201
201
|
return "siku ya mwisho";
|
|
202
202
|
};
|
|
203
203
|
sw.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
204
|
-
return ",
|
|
204
|
+
return ", %s ya mwisho ya mwezi";
|
|
205
205
|
};
|
|
206
206
|
sw.prototype.commaOnlyOnX0 = function () {
|
|
207
207
|
return ", kwa %s tu";
|
|
@@ -219,7 +219,7 @@ var sw = (function () {
|
|
|
219
219
|
return ", siku ya mwisho wa mwezi";
|
|
220
220
|
};
|
|
221
221
|
sw.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
222
|
-
return ",
|
|
222
|
+
return ", siku ya kazi ya mwisho wa mwezi";
|
|
223
223
|
};
|
|
224
224
|
sw.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
225
225
|
return ", siku ya %s kabla ya siku ya mwisho wa mwezi";
|
package/locales/sw.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/sw.min",["cronstrue"],e):"object"==typeof exports?exports["locales/sw.min"]=e(require("cronstrue")):t["locales/sw.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function n(t){var r=o[t];if(void 0!==r)return r.exports;var a=o[t]={exports:{}};return e[t](a,a.exports,n),a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};n.r(r);var a=n(93),u=n.n(a),i=r;Object.defineProperty(i,"__esModule",{value:!0}),i.sw=void 0;var p=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Kuna tatizo wakati wa kutunga msemo. Angalia cron expression syntax."},t.prototype.everyMinute=function(){return"kila dakika"},t.prototype.everyHour=function(){return"kila saa"},t.prototype.atSpace=function(){return"Kwa "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Kila dakika kwanzia %s hadi %s"},t.prototype.at=function(){return"Kwa"},t.prototype.spaceAnd=function(){return" na"},t.prototype.everySecond=function(){return"kila sekunde"},t.prototype.everyX0Seconds=function(){return"kila sekunde %s"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"sekunde ya %s hadi %s baada ya dakika"},t.prototype.atX0SecondsPastTheMinute=function(){return"sekunde %s baada ya dakika"},t.prototype.everyX0Minutes=function(){return"kila dakika %s"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},t.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},t.prototype.everyX0Hours=function(){return"every %s hours"},t.prototype.betweenX0AndX1=function(){return"kati ya %s na %s"},t.prototype.atX0=function(){return"kwenye %s"},t.prototype.commaEveryDay=function(){return", kila siku"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", kila siku %s ya wiki"},t.prototype.commaX0ThroughX1=function(){return", %s hadi %s"},t.prototype.commaAndX0ThroughX1=function(){return", na %s hadi %s"},t.prototype.first=function(){return"ya kwanza"},t.prototype.second=function(){return"ya pili"},t.prototype.third=function(){return"ya tatu"},t.prototype.fourth=function(){return"ya nne"},t.prototype.fifth=function(){return"ya tano"},t.prototype.commaOnThe=function(){return", kwenye "},t.prototype.spaceX0OfTheMonth=function(){return" siku %s ya mwezi"},t.prototype.lastDay=function(){return"siku ya mwisho"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return",
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/sw.min",["cronstrue"],e):"object"==typeof exports?exports["locales/sw.min"]=e(require("cronstrue")):t["locales/sw.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},o={};function n(t){var r=o[t];if(void 0!==r)return r.exports;var a=o[t]={exports:{}};return e[t](a,a.exports,n),a.exports}n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};n.r(r);var a=n(93),u=n.n(a),i=r;Object.defineProperty(i,"__esModule",{value:!0}),i.sw=void 0;var p=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Kuna tatizo wakati wa kutunga msemo. Angalia cron expression syntax."},t.prototype.everyMinute=function(){return"kila dakika"},t.prototype.everyHour=function(){return"kila saa"},t.prototype.atSpace=function(){return"Kwa "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Kila dakika kwanzia %s hadi %s"},t.prototype.at=function(){return"Kwa"},t.prototype.spaceAnd=function(){return" na"},t.prototype.everySecond=function(){return"kila sekunde"},t.prototype.everyX0Seconds=function(){return"kila sekunde %s"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"sekunde ya %s hadi %s baada ya dakika"},t.prototype.atX0SecondsPastTheMinute=function(){return"sekunde %s baada ya dakika"},t.prototype.everyX0Minutes=function(){return"kila dakika %s"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minutes %s through %s past the hour"},t.prototype.atX0MinutesPastTheHour=function(){return"at %s minutes past the hour"},t.prototype.everyX0Hours=function(){return"every %s hours"},t.prototype.betweenX0AndX1=function(){return"kati ya %s na %s"},t.prototype.atX0=function(){return"kwenye %s"},t.prototype.commaEveryDay=function(){return", kila siku"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", kila siku %s ya wiki"},t.prototype.commaX0ThroughX1=function(){return", %s hadi %s"},t.prototype.commaAndX0ThroughX1=function(){return", na %s hadi %s"},t.prototype.first=function(){return"ya kwanza"},t.prototype.second=function(){return"ya pili"},t.prototype.third=function(){return"ya tatu"},t.prototype.fourth=function(){return"ya nne"},t.prototype.fifth=function(){return"ya tano"},t.prototype.commaOnThe=function(){return", kwenye "},t.prototype.spaceX0OfTheMonth=function(){return" siku %s ya mwezi"},t.prototype.lastDay=function(){return"siku ya mwisho"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", %s ya mwisho ya mwezi"},t.prototype.commaOnlyOnX0=function(){return", kwa %s tu"},t.prototype.commaAndOnX0=function(){return", na pia %s"},t.prototype.commaEveryX0Months=function(){return", kila mwezi wa %s"},t.prototype.commaOnlyInX0=function(){return", kwa %s tu"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", siku ya mwisho wa mwezi"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", siku ya kazi ya mwisho wa mwezi"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", siku ya %s kabla ya siku ya mwisho wa mwezi"},t.prototype.firstWeekday=function(){return"siku za kazi ya kwanza"},t.prototype.weekdayNearestDayX0=function(){return"siku ya kazi karibu na siku ya %s"},t.prototype.commaOnTheX0OfTheMonth=function(){return", siku ya %s ya mwezi"},t.prototype.commaEveryX0Days=function(){return", kila siku %s"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", kati ya siku %s na %s ya mwezi"},t.prototype.commaOnDayX0OfTheMonth=function(){return", siku ya %s ya mwezi"},t.prototype.commaEveryX0Years=function(){return", kila miaka %s"},t.prototype.commaStartingX0=function(){return", kwanzia %s"},t.prototype.daysOfTheWeek=function(){return["Jumapili","Jumatatu","Jumanne","Jumatano","Alhamisi","Ijumaa","Jumamosi"]},t.prototype.monthsOfTheYear=function(){return["Januari","Februari","Machi","Aprili","Mei","Juni","Julai","Agosti","Septemba","Oktoba","Novemba","Desemba"]},t.prototype.atReboot=function(){return"Endesha mara moja, wakati wa kuanza"},t.prototype.onTheHour=function(){return"saa kamili"},t}();return i.sw=p,u().locales.sw=new p,r})()));
|
package/locales/tr.js
CHANGED
|
@@ -228,7 +228,7 @@ var tr = (function () {
|
|
|
228
228
|
return "ilk iş günü";
|
|
229
229
|
};
|
|
230
230
|
tr.prototype.weekdayNearestDayX0 = function () {
|
|
231
|
-
return "%s.
|
|
231
|
+
return "%s. gününe en yakın iş günü";
|
|
232
232
|
};
|
|
233
233
|
tr.prototype.commaOnTheX0OfTheMonth = function () {
|
|
234
234
|
return ", ayın %s";
|
package/locales/tr.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/tr.min",["cronstrue"],e):"object"==typeof exports?exports["locales/tr.min"]=e(require("cronstrue")):t["locales/tr.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}};return e[t](a,a.exports,r),a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};r.r(o);var a=r(93),u=r.n(a),i=o;Object.defineProperty(i,"__esModule",{value:!0}),i.tr=void 0;var p=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.everyMinute=function(){return"her dakika"},t.prototype.everyHour=function(){return"her saat"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"İfade açıklamasını oluştururken bir hata oluştu. Cron ifadesini gözden geçirin."},t.prototype.atSpace=function(){return"Saat "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Saat %s ve %s arasındaki her dakika"},t.prototype.at=function(){return"Saat"},t.prototype.spaceAnd=function(){return" ve"},t.prototype.everySecond=function(){return"her saniye"},t.prototype.everyX0Seconds=function(){return"her %s saniyede bir"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"dakikaların %s. ve %s. saniyeleri arası"},t.prototype.atX0SecondsPastTheMinute=function(){return"dakikaların %s. saniyesinde"},t.prototype.everyX0Minutes=function(){return"her %s dakikada bir"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"saatlerin %s. ve %s. dakikaları arası"},t.prototype.atX0MinutesPastTheHour=function(){return"saatlerin %s. dakikasında"},t.prototype.everyX0Hours=function(){return"her %s saatte"},t.prototype.betweenX0AndX1=function(){return"%s ile %s arasında"},t.prototype.atX0=function(){return"saat %s"},t.prototype.commaEveryDay=function(){return", her gün"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", ayın her %s günü"},t.prototype.commaX0ThroughX1=function(){return", %s ile %s arasında"},t.prototype.commaAndX0ThroughX1=function(){return", ve %s ile %s arasında"},t.prototype.first=function(){return"ilk"},t.prototype.second=function(){return"ikinci"},t.prototype.third=function(){return"üçüncü"},t.prototype.fourth=function(){return"dördüncü"},t.prototype.fifth=function(){return"beşinci"},t.prototype.commaOnThe=function(){return", ayın "},t.prototype.spaceX0OfTheMonth=function(){return" %s günü"},t.prototype.lastDay=function(){return"son gün"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", ayın son %s günü"},t.prototype.commaOnlyOnX0=function(){return", sadece %s günü"},t.prototype.commaAndOnX0=function(){return", ve %s"},t.prototype.commaEveryX0Months=function(){return", %s ayda bir"},t.prototype.commaOnlyInX0=function(){return", sadece %s için"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", ayın son günü"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", ayın son iş günü"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s ayın son gününden önceki günler"},t.prototype.firstWeekday=function(){return"ilk iş günü"},t.prototype.weekdayNearestDayX0=function(){return"%s.
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/tr.min",["cronstrue"],e):"object"==typeof exports?exports["locales/tr.min"]=e(require("cronstrue")):t["locales/tr.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93(e){e.exports=t}},n={};function r(t){var o=n[t];if(void 0!==o)return o.exports;var a=n[t]={exports:{}};return e[t](a,a.exports,r),a.exports}r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var o={};r.r(o);var a=r(93),u=r.n(a),i=o;Object.defineProperty(i,"__esModule",{value:!0}),i.tr=void 0;var p=function(){function t(){}return t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.everyMinute=function(){return"her dakika"},t.prototype.everyHour=function(){return"her saat"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"İfade açıklamasını oluştururken bir hata oluştu. Cron ifadesini gözden geçirin."},t.prototype.atSpace=function(){return"Saat "},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Saat %s ve %s arasındaki her dakika"},t.prototype.at=function(){return"Saat"},t.prototype.spaceAnd=function(){return" ve"},t.prototype.everySecond=function(){return"her saniye"},t.prototype.everyX0Seconds=function(){return"her %s saniyede bir"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"dakikaların %s. ve %s. saniyeleri arası"},t.prototype.atX0SecondsPastTheMinute=function(){return"dakikaların %s. saniyesinde"},t.prototype.everyX0Minutes=function(){return"her %s dakikada bir"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"saatlerin %s. ve %s. dakikaları arası"},t.prototype.atX0MinutesPastTheHour=function(){return"saatlerin %s. dakikasında"},t.prototype.everyX0Hours=function(){return"her %s saatte"},t.prototype.betweenX0AndX1=function(){return"%s ile %s arasında"},t.prototype.atX0=function(){return"saat %s"},t.prototype.commaEveryDay=function(){return", her gün"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", ayın her %s günü"},t.prototype.commaX0ThroughX1=function(){return", %s ile %s arasında"},t.prototype.commaAndX0ThroughX1=function(){return", ve %s ile %s arasında"},t.prototype.first=function(){return"ilk"},t.prototype.second=function(){return"ikinci"},t.prototype.third=function(){return"üçüncü"},t.prototype.fourth=function(){return"dördüncü"},t.prototype.fifth=function(){return"beşinci"},t.prototype.commaOnThe=function(){return", ayın "},t.prototype.spaceX0OfTheMonth=function(){return" %s günü"},t.prototype.lastDay=function(){return"son gün"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", ayın son %s günü"},t.prototype.commaOnlyOnX0=function(){return", sadece %s günü"},t.prototype.commaAndOnX0=function(){return", ve %s"},t.prototype.commaEveryX0Months=function(){return", %s ayda bir"},t.prototype.commaOnlyInX0=function(){return", sadece %s için"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", ayın son günü"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", ayın son iş günü"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s ayın son gününden önceki günler"},t.prototype.firstWeekday=function(){return"ilk iş günü"},t.prototype.weekdayNearestDayX0=function(){return"%s. gününe en yakın iş günü"},t.prototype.commaOnTheX0OfTheMonth=function(){return", ayın %s"},t.prototype.commaEveryX0Days=function(){return", %s günde bir"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", ayın %s. ve %s. günleri arası"},t.prototype.commaOnDayX0OfTheMonth=function(){return", ayın %s. günü"},t.prototype.commaEveryX0Years=function(){return", %s yılda bir"},t.prototype.commaStartingX0=function(){return", başlangıç %s"},t.prototype.daysOfTheWeek=function(){return["Pazar","Pazartesi","Salı","Çarşamba","Perşembe","Cuma","Cumartesi"]},t.prototype.monthsOfTheYear=function(){return["Ocak","Şubat","Mart","Nisan","Mayıs","Haziran","Temmuz","Ağustos","Eylül","Ekim","Kasım","Aralık"]},t.prototype.atReboot=function(){return"Başlangıçta bir kez çalıştır"},t.prototype.onTheHour=function(){return"saatin başında"},t}();return i.tr=p,u().locales.tr=new p,o})()));
|
package/locales/vi.js
CHANGED
|
@@ -219,19 +219,19 @@ var vi = (function () {
|
|
|
219
219
|
return ", vào ngày cuối cùng của tháng";
|
|
220
220
|
};
|
|
221
221
|
vi.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
222
|
-
return ", vào ngày cuối
|
|
222
|
+
return ", vào ngày làm việc cuối cùng của tháng";
|
|
223
223
|
};
|
|
224
224
|
vi.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
225
225
|
return ", %s ngày trước ngày cuối cùng của tháng";
|
|
226
226
|
};
|
|
227
227
|
vi.prototype.firstWeekday = function () {
|
|
228
|
-
return "ngày đầu
|
|
228
|
+
return "ngày làm việc đầu tiên";
|
|
229
229
|
};
|
|
230
230
|
vi.prototype.weekdayNearestDayX0 = function () {
|
|
231
|
-
return "ngày
|
|
231
|
+
return "ngày làm việc gần ngày %s nhất";
|
|
232
232
|
};
|
|
233
233
|
vi.prototype.commaOnTheX0OfTheMonth = function () {
|
|
234
|
-
return ", vào
|
|
234
|
+
return ", vào %s của tháng";
|
|
235
235
|
};
|
|
236
236
|
vi.prototype.commaEveryX0Days = function () {
|
|
237
237
|
return ", mỗi %s ngày";
|