cronstrue 3.0.0 → 3.2.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/README.md +28 -27
- package/dist/cronstrue-i18n.js +197 -2
- package/dist/cronstrue-i18n.min.js +1 -1
- package/dist/i18n/allLocales.d.ts +1 -0
- package/dist/i18n/locales/hr.d.ts +55 -0
- package/locales/hr.js +288 -0
- package/locales/hr.min.js +1 -0
- package/locales/ru.js +1 -1
- package/locales/ru.min.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { Locale } from "../locale";
|
|
2
|
+
export declare class hr implements Locale {
|
|
3
|
+
use24HourTimeFormatByDefault(): boolean;
|
|
4
|
+
anErrorOccuredWhenGeneratingTheExpressionD(): string;
|
|
5
|
+
at(): string;
|
|
6
|
+
atSpace(): string;
|
|
7
|
+
atX0(): string;
|
|
8
|
+
atX0MinutesPastTheHour(): string;
|
|
9
|
+
atX0SecondsPastTheMinute(): string;
|
|
10
|
+
betweenX0AndX1(): string;
|
|
11
|
+
commaBetweenDayX0AndX1OfTheMonth(): string;
|
|
12
|
+
commaEveryDay(): string;
|
|
13
|
+
commaEveryX0Days(): string;
|
|
14
|
+
commaEveryX0DaysOfTheWeek(): string;
|
|
15
|
+
commaEveryX0Months(): string;
|
|
16
|
+
commaEveryX0Years(): string;
|
|
17
|
+
commaOnDayX0OfTheMonth(): string;
|
|
18
|
+
commaOnlyInX0(): string;
|
|
19
|
+
commaOnlyOnX0(): string;
|
|
20
|
+
commaAndOnX0(): string;
|
|
21
|
+
commaOnThe(): string;
|
|
22
|
+
commaOnTheLastDayOfTheMonth(): string;
|
|
23
|
+
commaOnTheLastWeekdayOfTheMonth(): string;
|
|
24
|
+
commaDaysBeforeTheLastDayOfTheMonth(): string;
|
|
25
|
+
commaOnTheLastX0OfTheMonth(): string;
|
|
26
|
+
commaOnTheX0OfTheMonth(): string;
|
|
27
|
+
commaX0ThroughX1(): string;
|
|
28
|
+
commaAndX0ThroughX1(): string;
|
|
29
|
+
everyHour(): string;
|
|
30
|
+
everyMinute(): string;
|
|
31
|
+
everyMinuteBetweenX0AndX1(): string;
|
|
32
|
+
everySecond(): string;
|
|
33
|
+
everyX0Hours(): string;
|
|
34
|
+
everyX0Minutes(): string;
|
|
35
|
+
everyX0Seconds(): string;
|
|
36
|
+
fifth(): string;
|
|
37
|
+
first(): string;
|
|
38
|
+
firstWeekday(): string;
|
|
39
|
+
fourth(): string;
|
|
40
|
+
minutesX0ThroughX1PastTheHour(): string;
|
|
41
|
+
second(): string;
|
|
42
|
+
secondsX0ThroughX1PastTheMinute(): string;
|
|
43
|
+
spaceAnd(): string;
|
|
44
|
+
spaceX0OfTheMonth(): string;
|
|
45
|
+
lastDay(): string;
|
|
46
|
+
third(): string;
|
|
47
|
+
weekdayNearestDayX0(): string;
|
|
48
|
+
commaMonthX0ThroughMonthX1(): string | null;
|
|
49
|
+
commaYearX0ThroughYearX1(): string | null;
|
|
50
|
+
atX0MinutesPastTheHourGt20(): string | null;
|
|
51
|
+
atX0SecondsPastTheMinuteGt20(): string | null;
|
|
52
|
+
commaStartingX0(): string;
|
|
53
|
+
daysOfTheWeek(): string[];
|
|
54
|
+
monthsOfTheYear(): string[];
|
|
55
|
+
}
|
package/locales/hr.js
ADDED
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
(function webpackUniversalModuleDefinition(root, factory) {
|
|
2
|
+
if(typeof exports === 'object' && typeof module === 'object')
|
|
3
|
+
module.exports = factory(require("cronstrue"));
|
|
4
|
+
else if(typeof define === 'function' && define.amd)
|
|
5
|
+
define("locales/hr", ["cronstrue"], factory);
|
|
6
|
+
else if(typeof exports === 'object')
|
|
7
|
+
exports["locales/hr"] = factory(require("cronstrue"));
|
|
8
|
+
else
|
|
9
|
+
root["locales/hr"] = factory(root["cronstrue"]);
|
|
10
|
+
})(globalThis, (__WEBPACK_EXTERNAL_MODULE__93__) => {
|
|
11
|
+
return /******/ (() => { // webpackBootstrap
|
|
12
|
+
/******/ "use strict";
|
|
13
|
+
/******/ var __webpack_modules__ = ({
|
|
14
|
+
|
|
15
|
+
/***/ 93:
|
|
16
|
+
/***/ ((module) => {
|
|
17
|
+
|
|
18
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE__93__;
|
|
19
|
+
|
|
20
|
+
/***/ })
|
|
21
|
+
|
|
22
|
+
/******/ });
|
|
23
|
+
/************************************************************************/
|
|
24
|
+
/******/ // The module cache
|
|
25
|
+
/******/ var __webpack_module_cache__ = {};
|
|
26
|
+
/******/
|
|
27
|
+
/******/ // The require function
|
|
28
|
+
/******/ function __webpack_require__(moduleId) {
|
|
29
|
+
/******/ // Check if module is in cache
|
|
30
|
+
/******/ var cachedModule = __webpack_module_cache__[moduleId];
|
|
31
|
+
/******/ if (cachedModule !== undefined) {
|
|
32
|
+
/******/ return cachedModule.exports;
|
|
33
|
+
/******/ }
|
|
34
|
+
/******/ // Create a new module (and put it into the cache)
|
|
35
|
+
/******/ var module = __webpack_module_cache__[moduleId] = {
|
|
36
|
+
/******/ // no module.id needed
|
|
37
|
+
/******/ // no module.loaded needed
|
|
38
|
+
/******/ exports: {}
|
|
39
|
+
/******/ };
|
|
40
|
+
/******/
|
|
41
|
+
/******/ // Execute the module function
|
|
42
|
+
/******/ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
|
|
43
|
+
/******/
|
|
44
|
+
/******/ // Return the exports of the module
|
|
45
|
+
/******/ return module.exports;
|
|
46
|
+
/******/ }
|
|
47
|
+
/******/
|
|
48
|
+
/************************************************************************/
|
|
49
|
+
/******/ /* webpack/runtime/compat get default export */
|
|
50
|
+
/******/ (() => {
|
|
51
|
+
/******/ // getDefaultExport function for compatibility with non-harmony modules
|
|
52
|
+
/******/ __webpack_require__.n = (module) => {
|
|
53
|
+
/******/ var getter = module && module.__esModule ?
|
|
54
|
+
/******/ () => (module['default']) :
|
|
55
|
+
/******/ () => (module);
|
|
56
|
+
/******/ __webpack_require__.d(getter, { a: getter });
|
|
57
|
+
/******/ return getter;
|
|
58
|
+
/******/ };
|
|
59
|
+
/******/ })();
|
|
60
|
+
/******/
|
|
61
|
+
/******/ /* webpack/runtime/define property getters */
|
|
62
|
+
/******/ (() => {
|
|
63
|
+
/******/ // define getter functions for harmony exports
|
|
64
|
+
/******/ __webpack_require__.d = (exports, definition) => {
|
|
65
|
+
/******/ for(var key in definition) {
|
|
66
|
+
/******/ if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {
|
|
67
|
+
/******/ Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });
|
|
68
|
+
/******/ }
|
|
69
|
+
/******/ }
|
|
70
|
+
/******/ };
|
|
71
|
+
/******/ })();
|
|
72
|
+
/******/
|
|
73
|
+
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
74
|
+
/******/ (() => {
|
|
75
|
+
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
76
|
+
/******/ })();
|
|
77
|
+
/******/
|
|
78
|
+
/******/ /* webpack/runtime/make namespace object */
|
|
79
|
+
/******/ (() => {
|
|
80
|
+
/******/ // define __esModule on exports
|
|
81
|
+
/******/ __webpack_require__.r = (exports) => {
|
|
82
|
+
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
|
|
83
|
+
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
84
|
+
/******/ }
|
|
85
|
+
/******/ Object.defineProperty(exports, '__esModule', { value: true });
|
|
86
|
+
/******/ };
|
|
87
|
+
/******/ })();
|
|
88
|
+
/******/
|
|
89
|
+
/************************************************************************/
|
|
90
|
+
var __webpack_exports__ = {};
|
|
91
|
+
__webpack_require__.r(__webpack_exports__);
|
|
92
|
+
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(93);
|
|
93
|
+
/* harmony import */ var cronstrue__WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(cronstrue__WEBPACK_IMPORTED_MODULE_0__);
|
|
94
|
+
var exports = __webpack_exports__;
|
|
95
|
+
"use strict";
|
|
96
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
97
|
+
exports.hr = void 0;
|
|
98
|
+
var hr = (function () {
|
|
99
|
+
function hr() {
|
|
100
|
+
}
|
|
101
|
+
hr.prototype.use24HourTimeFormatByDefault = function () {
|
|
102
|
+
return true;
|
|
103
|
+
};
|
|
104
|
+
hr.prototype.anErrorOccuredWhenGeneratingTheExpressionD = function () {
|
|
105
|
+
return "Došlo je do pogreške pri generiranju izraza. Provjerite sintaksu cron izraza.";
|
|
106
|
+
};
|
|
107
|
+
hr.prototype.at = function () {
|
|
108
|
+
return "U";
|
|
109
|
+
};
|
|
110
|
+
hr.prototype.atSpace = function () {
|
|
111
|
+
return "U ";
|
|
112
|
+
};
|
|
113
|
+
hr.prototype.atX0 = function () {
|
|
114
|
+
return "u %s";
|
|
115
|
+
};
|
|
116
|
+
hr.prototype.atX0MinutesPastTheHour = function () {
|
|
117
|
+
return "u %s minuta nakon punog sata";
|
|
118
|
+
};
|
|
119
|
+
hr.prototype.atX0SecondsPastTheMinute = function () {
|
|
120
|
+
return "u %s sekundi nakon pune minute";
|
|
121
|
+
};
|
|
122
|
+
hr.prototype.betweenX0AndX1 = function () {
|
|
123
|
+
return "između %s i %s";
|
|
124
|
+
};
|
|
125
|
+
hr.prototype.commaBetweenDayX0AndX1OfTheMonth = function () {
|
|
126
|
+
return ", između %s. i %s. dana u mjesecu";
|
|
127
|
+
};
|
|
128
|
+
hr.prototype.commaEveryDay = function () {
|
|
129
|
+
return ", svaki dan";
|
|
130
|
+
};
|
|
131
|
+
hr.prototype.commaEveryX0Days = function () {
|
|
132
|
+
return ", svakih %s dana";
|
|
133
|
+
};
|
|
134
|
+
hr.prototype.commaEveryX0DaysOfTheWeek = function () {
|
|
135
|
+
return ", svakih %s dana u tjednu";
|
|
136
|
+
};
|
|
137
|
+
hr.prototype.commaEveryX0Months = function () {
|
|
138
|
+
return ", svakih %s mjeseci";
|
|
139
|
+
};
|
|
140
|
+
hr.prototype.commaEveryX0Years = function () {
|
|
141
|
+
return ", svakih %s godina";
|
|
142
|
+
};
|
|
143
|
+
hr.prototype.commaOnDayX0OfTheMonth = function () {
|
|
144
|
+
return ", %s. dan u mjesecu";
|
|
145
|
+
};
|
|
146
|
+
hr.prototype.commaOnlyInX0 = function () {
|
|
147
|
+
return ", samo u %s";
|
|
148
|
+
};
|
|
149
|
+
hr.prototype.commaOnlyOnX0 = function () {
|
|
150
|
+
return ", samo %s";
|
|
151
|
+
};
|
|
152
|
+
hr.prototype.commaAndOnX0 = function () {
|
|
153
|
+
return ", i %s";
|
|
154
|
+
};
|
|
155
|
+
hr.prototype.commaOnThe = function () {
|
|
156
|
+
return ", ";
|
|
157
|
+
};
|
|
158
|
+
hr.prototype.commaOnTheLastDayOfTheMonth = function () {
|
|
159
|
+
return ", zadnji dan u mjesecu";
|
|
160
|
+
};
|
|
161
|
+
hr.prototype.commaOnTheLastWeekdayOfTheMonth = function () {
|
|
162
|
+
return ", zadnji radni dan u mjesecu";
|
|
163
|
+
};
|
|
164
|
+
hr.prototype.commaDaysBeforeTheLastDayOfTheMonth = function () {
|
|
165
|
+
return ", %s dana prije kraja mjeseca";
|
|
166
|
+
};
|
|
167
|
+
hr.prototype.commaOnTheLastX0OfTheMonth = function () {
|
|
168
|
+
return ", zadnji %s u mjesecu";
|
|
169
|
+
};
|
|
170
|
+
hr.prototype.commaOnTheX0OfTheMonth = function () {
|
|
171
|
+
return ", %s u mjesecu";
|
|
172
|
+
};
|
|
173
|
+
hr.prototype.commaX0ThroughX1 = function () {
|
|
174
|
+
return ", od %s do %s";
|
|
175
|
+
};
|
|
176
|
+
hr.prototype.commaAndX0ThroughX1 = function () {
|
|
177
|
+
return ", i od %s do %s";
|
|
178
|
+
};
|
|
179
|
+
hr.prototype.everyHour = function () {
|
|
180
|
+
return "svaki sat";
|
|
181
|
+
};
|
|
182
|
+
hr.prototype.everyMinute = function () {
|
|
183
|
+
return "svaku minutu";
|
|
184
|
+
};
|
|
185
|
+
hr.prototype.everyMinuteBetweenX0AndX1 = function () {
|
|
186
|
+
return "Svaku minutu između %s i %s";
|
|
187
|
+
};
|
|
188
|
+
hr.prototype.everySecond = function () {
|
|
189
|
+
return "svaku sekundu";
|
|
190
|
+
};
|
|
191
|
+
hr.prototype.everyX0Hours = function () {
|
|
192
|
+
return "svakih %s sati";
|
|
193
|
+
};
|
|
194
|
+
hr.prototype.everyX0Minutes = function () {
|
|
195
|
+
return "svakih %s minuta";
|
|
196
|
+
};
|
|
197
|
+
hr.prototype.everyX0Seconds = function () {
|
|
198
|
+
return "svakih %s sekundi";
|
|
199
|
+
};
|
|
200
|
+
hr.prototype.fifth = function () {
|
|
201
|
+
return "peti";
|
|
202
|
+
};
|
|
203
|
+
hr.prototype.first = function () {
|
|
204
|
+
return "prvi";
|
|
205
|
+
};
|
|
206
|
+
hr.prototype.firstWeekday = function () {
|
|
207
|
+
return "prvi radni dan";
|
|
208
|
+
};
|
|
209
|
+
hr.prototype.fourth = function () {
|
|
210
|
+
return "četvrti";
|
|
211
|
+
};
|
|
212
|
+
hr.prototype.minutesX0ThroughX1PastTheHour = function () {
|
|
213
|
+
return "minute od %s do %s nakon punog sata";
|
|
214
|
+
};
|
|
215
|
+
hr.prototype.second = function () {
|
|
216
|
+
return "drugi";
|
|
217
|
+
};
|
|
218
|
+
hr.prototype.secondsX0ThroughX1PastTheMinute = function () {
|
|
219
|
+
return "sekunde od %s do %s nakon pune minute";
|
|
220
|
+
};
|
|
221
|
+
hr.prototype.spaceAnd = function () {
|
|
222
|
+
return " i";
|
|
223
|
+
};
|
|
224
|
+
hr.prototype.spaceX0OfTheMonth = function () {
|
|
225
|
+
return " %s u mjesecu";
|
|
226
|
+
};
|
|
227
|
+
hr.prototype.lastDay = function () {
|
|
228
|
+
return "zadnji dan";
|
|
229
|
+
};
|
|
230
|
+
hr.prototype.third = function () {
|
|
231
|
+
return "treći";
|
|
232
|
+
};
|
|
233
|
+
hr.prototype.weekdayNearestDayX0 = function () {
|
|
234
|
+
return "radni dan najbliži %s. danu";
|
|
235
|
+
};
|
|
236
|
+
hr.prototype.commaMonthX0ThroughMonthX1 = function () {
|
|
237
|
+
return null;
|
|
238
|
+
};
|
|
239
|
+
hr.prototype.commaYearX0ThroughYearX1 = function () {
|
|
240
|
+
return null;
|
|
241
|
+
};
|
|
242
|
+
hr.prototype.atX0MinutesPastTheHourGt20 = function () {
|
|
243
|
+
return null;
|
|
244
|
+
};
|
|
245
|
+
hr.prototype.atX0SecondsPastTheMinuteGt20 = function () {
|
|
246
|
+
return null;
|
|
247
|
+
};
|
|
248
|
+
hr.prototype.commaStartingX0 = function () {
|
|
249
|
+
return ", počevši od %s";
|
|
250
|
+
};
|
|
251
|
+
hr.prototype.daysOfTheWeek = function () {
|
|
252
|
+
return [
|
|
253
|
+
"Nedjelja",
|
|
254
|
+
"Ponedjeljak",
|
|
255
|
+
"Utorak",
|
|
256
|
+
"Srijeda",
|
|
257
|
+
"Četvrtak",
|
|
258
|
+
"Petak",
|
|
259
|
+
"Subota",
|
|
260
|
+
];
|
|
261
|
+
};
|
|
262
|
+
hr.prototype.monthsOfTheYear = function () {
|
|
263
|
+
return [
|
|
264
|
+
"siječanj",
|
|
265
|
+
"veljača",
|
|
266
|
+
"ožujak",
|
|
267
|
+
"travanj",
|
|
268
|
+
"svibanj",
|
|
269
|
+
"lipanj",
|
|
270
|
+
"srpanj",
|
|
271
|
+
"kolovoz",
|
|
272
|
+
"rujan",
|
|
273
|
+
"listopad",
|
|
274
|
+
"studeni",
|
|
275
|
+
"prosinac",
|
|
276
|
+
];
|
|
277
|
+
};
|
|
278
|
+
return hr;
|
|
279
|
+
}());
|
|
280
|
+
exports.hr = hr;
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
(cronstrue__WEBPACK_IMPORTED_MODULE_0___default().locales)["hr"] = new hr();
|
|
284
|
+
|
|
285
|
+
/******/ return __webpack_exports__;
|
|
286
|
+
/******/ })()
|
|
287
|
+
;
|
|
288
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/hr.min",["cronstrue"],e):"object"==typeof exports?exports["locales/hr.min"]=e(require("cronstrue")):t["locales/hr.min"]=e(t.cronstrue)}(globalThis,(t=>(()=>{"use strict";var e={93:e=>{e.exports=t}},n={};function o(t){var r=n[t];if(void 0!==r)return r.exports;var u=n[t]={exports:{}};return e[t](u,u.exports,o),u.exports}o.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return o.d(e,{a:e}),e},o.d=(t,e)=>{for(var n in e)o.o(e,n)&&!o.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},o.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),o.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var r={};o.r(r);var u=o(93),a=o.n(u),i=r;Object.defineProperty(i,"__esModule",{value:!0}),i.hr=void 0;var p=function(){function t(){}return t.prototype.use24HourTimeFormatByDefault=function(){return!0},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=function(){return"Došlo je do pogreške pri generiranju izraza. Provjerite sintaksu cron izraza."},t.prototype.at=function(){return"U"},t.prototype.atSpace=function(){return"U "},t.prototype.atX0=function(){return"u %s"},t.prototype.atX0MinutesPastTheHour=function(){return"u %s minuta nakon punog sata"},t.prototype.atX0SecondsPastTheMinute=function(){return"u %s sekundi nakon pune minute"},t.prototype.betweenX0AndX1=function(){return"između %s i %s"},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(){return", između %s. i %s. dana u mjesecu"},t.prototype.commaEveryDay=function(){return", svaki dan"},t.prototype.commaEveryX0Days=function(){return", svakih %s dana"},t.prototype.commaEveryX0DaysOfTheWeek=function(){return", svakih %s dana u tjednu"},t.prototype.commaEveryX0Months=function(){return", svakih %s mjeseci"},t.prototype.commaEveryX0Years=function(){return", svakih %s godina"},t.prototype.commaOnDayX0OfTheMonth=function(){return", %s. dan u mjesecu"},t.prototype.commaOnlyInX0=function(){return", samo u %s"},t.prototype.commaOnlyOnX0=function(){return", samo %s"},t.prototype.commaAndOnX0=function(){return", i %s"},t.prototype.commaOnThe=function(){return", "},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", zadnji dan u mjesecu"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", zadnji radni dan u mjesecu"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(){return", %s dana prije kraja mjeseca"},t.prototype.commaOnTheLastX0OfTheMonth=function(){return", zadnji %s u mjesecu"},t.prototype.commaOnTheX0OfTheMonth=function(){return", %s u mjesecu"},t.prototype.commaX0ThroughX1=function(){return", od %s do %s"},t.prototype.commaAndX0ThroughX1=function(){return", i od %s do %s"},t.prototype.everyHour=function(){return"svaki sat"},t.prototype.everyMinute=function(){return"svaku minutu"},t.prototype.everyMinuteBetweenX0AndX1=function(){return"Svaku minutu između %s i %s"},t.prototype.everySecond=function(){return"svaku sekundu"},t.prototype.everyX0Hours=function(){return"svakih %s sati"},t.prototype.everyX0Minutes=function(){return"svakih %s minuta"},t.prototype.everyX0Seconds=function(){return"svakih %s sekundi"},t.prototype.fifth=function(){return"peti"},t.prototype.first=function(){return"prvi"},t.prototype.firstWeekday=function(){return"prvi radni dan"},t.prototype.fourth=function(){return"četvrti"},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"minute od %s do %s nakon punog sata"},t.prototype.second=function(){return"drugi"},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"sekunde od %s do %s nakon pune minute"},t.prototype.spaceAnd=function(){return" i"},t.prototype.spaceX0OfTheMonth=function(){return" %s u mjesecu"},t.prototype.lastDay=function(){return"zadnji dan"},t.prototype.third=function(){return"treći"},t.prototype.weekdayNearestDayX0=function(){return"radni dan najbliži %s. danu"},t.prototype.commaMonthX0ThroughMonthX1=function(){return null},t.prototype.commaYearX0ThroughYearX1=function(){return null},t.prototype.atX0MinutesPastTheHourGt20=function(){return null},t.prototype.atX0SecondsPastTheMinuteGt20=function(){return null},t.prototype.commaStartingX0=function(){return", počevši od %s"},t.prototype.daysOfTheWeek=function(){return["Nedjelja","Ponedjeljak","Utorak","Srijeda","Četvrtak","Petak","Subota"]},t.prototype.monthsOfTheYear=function(){return["siječanj","veljača","ožujak","travanj","svibanj","lipanj","srpanj","kolovoz","rujan","listopad","studeni","prosinac"]},t}();return i.hr=p,a().locales.hr=new p,r})()));
|
package/locales/ru.js
CHANGED
|
@@ -180,7 +180,7 @@ var ru = (function () {
|
|
|
180
180
|
return ", каждый день";
|
|
181
181
|
};
|
|
182
182
|
ru.prototype.commaEveryX0DaysOfTheWeek = function (s) {
|
|
183
|
-
return getPhraseByNumber(s, ["", ", каждые %s дня недели", ", каждые %s дней недели"]);
|
|
183
|
+
return getPhraseByNumber(s, [", каждый %s день недели", ", каждые %s дня недели", ", каждые %s дней недели"]);
|
|
184
184
|
};
|
|
185
185
|
ru.prototype.commaX0ThroughX1 = function (s) {
|
|
186
186
|
return s && (s[0] == "2" || s[0] == "3") ? ", со %s по %s" : ", с %s по %s";
|
package/locales/ru.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/ru.min",["cronstrue"],e):"object"==typeof exports?exports["locales/ru.min"]=e(require("cronstrue")):t["locales/ru.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),s=n;Object.defineProperty(s,"__esModule",{value:!0}),s.ru=void 0;var c=function(t,e){var o=Number(t);return void 0!==o?e[o%100>4&&o%100<20?2:[2,0,1,1,1,2][o%10<5?Math.abs(o)%10:5]]:e[2]},i=function(t,e){var o=Number(t);return void 0!==o?e[0===o?0:1===o||2===o||4===o?1:2]:e[1]},a=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"каждую минуту"},t.prototype.everyHour=function(){return"каждый час"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=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(t){return c(t,["каждую %s секунду","каждые %s секунды","каждые %s секунд"])},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"секунды с %s по %s"},t.prototype.atX0SecondsPastTheMinute=function(t){return c(t,["в %s секунду","в %s секунды","в %s секунд"])},t.prototype.everyX0Minutes=function(t){return c(t,["каждую %s минуту","каждые %s минуты","каждые %s минут"])},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"минуты с %s по %s"},t.prototype.atX0MinutesPastTheHour=function(t){return c(t,["в %s минуту","в %s минуты","в %s минут"])},t.prototype.everyX0Hours=function(t){return c(t,["каждый %s час","каждые %s часа","каждые %s часов"])},t.prototype.betweenX0AndX1=function(){return"с %s по %s"},t.prototype.atX0=function(){return"в %s"},t.prototype.commaEveryDay=function(){return", каждый день"},t.prototype.commaEveryX0DaysOfTheWeek=function(t){return c(t,["",", каждые %s дня недели",", каждые %s дней недели"])},t.prototype.commaX0ThroughX1=function(t){return!t||"2"!=t[0]&&"3"!=t[0]?", с %s по %s":", со %s по %s"},t.prototype.commaAndX0ThroughX1=function(t){return!t||"2"!=t[0]&&"3"!=t[0]?" и с %s по %s":" и со %s по %s"},t.prototype.first=function(t){return i(t,["первое","первый","первую"])},t.prototype.second=function(t){return i(t,["второе","второй","вторую"])},t.prototype.third=function(t){return i(t,["третье","третий","третью"])},t.prototype.fourth=function(t){return i(t,["четвертое","четвертый","четвертую"])},t.prototype.fifth=function(t){return i(t,["пятое","пятый","пятую"])},t.prototype.commaOnThe=function(t){return"2"===t?", во ":", в "},t.prototype.spaceX0OfTheMonth=function(){return" %s месяца"},t.prototype.lastDay=function(){return"последний день"},t.prototype.commaOnTheLastX0OfTheMonth=function(t){return i(t,[", в последнее %s месяца",", в последний %s месяца",", в последнюю %s месяца"])},t.prototype.commaOnlyOnX0=function(t){return t&&"2"===t[0]?", только во %s":", только в %s"},t.prototype.commaAndOnX0=function(){return", и %s"},t.prototype.commaEveryX0Months=function(t){return c(t,[""," каждые %s месяца"," каждые %s месяцев"])},t.prototype.commaOnlyInMonthX0=function(){return", только %s"},t.prototype.commaOnlyInX0=function(){return", только в %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", в последний день месяца"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", в последний будний день месяца"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(t){return c(t,[", за %s день до конца месяца",", за %s дня до конца месяца",", за %s дней до конца месяца"])},t.prototype.firstWeekday=function(){return"первый будний день"},t.prototype.weekdayNearestDayX0=function(){return"ближайший будний день к %s числу"},t.prototype.commaOnTheX0OfTheMonth=function(){return", в %s месяца"},t.prototype.commaEveryX0Days=function(t){return c(t,[", каждый %s день",", каждые %s дня",", каждые %s дней"])},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(t){return t&&"2"==t.substring(0,t.indexOf("-"))?", со %s по %s число месяца":", с %s по %s число месяца"},t.prototype.commaOnDayX0OfTheMonth=function(t){return t&&"2"==t[0]?", во %s число месяца":", в %s число месяца"},t.prototype.commaEveryX0Years=function(t){return c(t,[", каждый %s год",", каждые %s года",", каждые %s лет"])},t.prototype.commaStartingX0=function(){return", начало %s"},t.prototype.daysOfTheWeek=function(){return["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},t.prototype.daysOfTheWeekInCase=function(t){return void 0===t&&(t=2),1==t?["воскресенья","понедельника","вторника","среды","четверга","пятницы","субботы"]:["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"]},t.prototype.monthsOfTheYear=function(){return["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},t.prototype.monthsOfTheYearInCase=function(t){return 1==t?["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]:this.monthsOfTheYear()},t}();return s.ru=a,p().locales.ru=new a,n})()));
|
|
1
|
+
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("cronstrue")):"function"==typeof define&&define.amd?define("locales/ru.min",["cronstrue"],e):"object"==typeof exports?exports["locales/ru.min"]=e(require("cronstrue")):t["locales/ru.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),s=n;Object.defineProperty(s,"__esModule",{value:!0}),s.ru=void 0;var c=function(t,e){var o=Number(t);return void 0!==o?e[o%100>4&&o%100<20?2:[2,0,1,1,1,2][o%10<5?Math.abs(o)%10:5]]:e[2]},i=function(t,e){var o=Number(t);return void 0!==o?e[0===o?0:1===o||2===o||4===o?1:2]:e[1]},a=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"каждую минуту"},t.prototype.everyHour=function(){return"каждый час"},t.prototype.anErrorOccuredWhenGeneratingTheExpressionD=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(t){return c(t,["каждую %s секунду","каждые %s секунды","каждые %s секунд"])},t.prototype.secondsX0ThroughX1PastTheMinute=function(){return"секунды с %s по %s"},t.prototype.atX0SecondsPastTheMinute=function(t){return c(t,["в %s секунду","в %s секунды","в %s секунд"])},t.prototype.everyX0Minutes=function(t){return c(t,["каждую %s минуту","каждые %s минуты","каждые %s минут"])},t.prototype.minutesX0ThroughX1PastTheHour=function(){return"минуты с %s по %s"},t.prototype.atX0MinutesPastTheHour=function(t){return c(t,["в %s минуту","в %s минуты","в %s минут"])},t.prototype.everyX0Hours=function(t){return c(t,["каждый %s час","каждые %s часа","каждые %s часов"])},t.prototype.betweenX0AndX1=function(){return"с %s по %s"},t.prototype.atX0=function(){return"в %s"},t.prototype.commaEveryDay=function(){return", каждый день"},t.prototype.commaEveryX0DaysOfTheWeek=function(t){return c(t,[", каждый %s день недели",", каждые %s дня недели",", каждые %s дней недели"])},t.prototype.commaX0ThroughX1=function(t){return!t||"2"!=t[0]&&"3"!=t[0]?", с %s по %s":", со %s по %s"},t.prototype.commaAndX0ThroughX1=function(t){return!t||"2"!=t[0]&&"3"!=t[0]?" и с %s по %s":" и со %s по %s"},t.prototype.first=function(t){return i(t,["первое","первый","первую"])},t.prototype.second=function(t){return i(t,["второе","второй","вторую"])},t.prototype.third=function(t){return i(t,["третье","третий","третью"])},t.prototype.fourth=function(t){return i(t,["четвертое","четвертый","четвертую"])},t.prototype.fifth=function(t){return i(t,["пятое","пятый","пятую"])},t.prototype.commaOnThe=function(t){return"2"===t?", во ":", в "},t.prototype.spaceX0OfTheMonth=function(){return" %s месяца"},t.prototype.lastDay=function(){return"последний день"},t.prototype.commaOnTheLastX0OfTheMonth=function(t){return i(t,[", в последнее %s месяца",", в последний %s месяца",", в последнюю %s месяца"])},t.prototype.commaOnlyOnX0=function(t){return t&&"2"===t[0]?", только во %s":", только в %s"},t.prototype.commaAndOnX0=function(){return", и %s"},t.prototype.commaEveryX0Months=function(t){return c(t,[""," каждые %s месяца"," каждые %s месяцев"])},t.prototype.commaOnlyInMonthX0=function(){return", только %s"},t.prototype.commaOnlyInX0=function(){return", только в %s"},t.prototype.commaOnTheLastDayOfTheMonth=function(){return", в последний день месяца"},t.prototype.commaOnTheLastWeekdayOfTheMonth=function(){return", в последний будний день месяца"},t.prototype.commaDaysBeforeTheLastDayOfTheMonth=function(t){return c(t,[", за %s день до конца месяца",", за %s дня до конца месяца",", за %s дней до конца месяца"])},t.prototype.firstWeekday=function(){return"первый будний день"},t.prototype.weekdayNearestDayX0=function(){return"ближайший будний день к %s числу"},t.prototype.commaOnTheX0OfTheMonth=function(){return", в %s месяца"},t.prototype.commaEveryX0Days=function(t){return c(t,[", каждый %s день",", каждые %s дня",", каждые %s дней"])},t.prototype.commaBetweenDayX0AndX1OfTheMonth=function(t){return t&&"2"==t.substring(0,t.indexOf("-"))?", со %s по %s число месяца":", с %s по %s число месяца"},t.prototype.commaOnDayX0OfTheMonth=function(t){return t&&"2"==t[0]?", во %s число месяца":", в %s число месяца"},t.prototype.commaEveryX0Years=function(t){return c(t,[", каждый %s год",", каждые %s года",", каждые %s лет"])},t.prototype.commaStartingX0=function(){return", начало %s"},t.prototype.daysOfTheWeek=function(){return["воскресенье","понедельник","вторник","среда","четверг","пятница","суббота"]},t.prototype.daysOfTheWeekInCase=function(t){return void 0===t&&(t=2),1==t?["воскресенья","понедельника","вторника","среды","четверга","пятницы","субботы"]:["воскресенье","понедельник","вторник","среду","четверг","пятницу","субботу"]},t.prototype.monthsOfTheYear=function(){return["январь","февраль","март","апрель","май","июнь","июль","август","сентябрь","октябрь","ноябрь","декабрь"]},t.prototype.monthsOfTheYearInCase=function(t){return 1==t?["января","февраля","марта","апреля","мая","июня","июля","августа","сентября","октября","ноября","декабря"]:this.monthsOfTheYear()},t}();return s.ru=a,p().locales.ru=new a,n})()));
|