@nocobase/utils 1.9.0-beta.4 → 1.9.0-beta.6
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/lib/parse-date.js +2 -2
- package/package.json +2 -2
package/lib/parse-date.js
CHANGED
|
@@ -221,8 +221,8 @@ __name(parseDate, "parseDate");
|
|
|
221
221
|
function parseDateBetween(value, options = {}) {
|
|
222
222
|
if (Array.isArray(value) && value.length > 1) {
|
|
223
223
|
const [startValue, endValue, op = "[]", timezone2] = value;
|
|
224
|
-
const r0 = parseDate(startValue, { timezone: timezone2 });
|
|
225
|
-
const r1 = parseDate(endValue, { timezone: timezone2 });
|
|
224
|
+
const r0 = parseDate(startValue, { timezone: options.timezone || timezone2 });
|
|
225
|
+
const r1 = parseDate(endValue, { timezone: options.timezone || timezone2 });
|
|
226
226
|
let start;
|
|
227
227
|
let startOp;
|
|
228
228
|
let end;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nocobase/utils",
|
|
3
|
-
"version": "1.9.0-beta.
|
|
3
|
+
"version": "1.9.0-beta.6",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
6
|
"license": "AGPL-3.0",
|
|
@@ -16,5 +16,5 @@
|
|
|
16
16
|
"multer": "^1.4.5-lts.2",
|
|
17
17
|
"object-path": "^0.11.8"
|
|
18
18
|
},
|
|
19
|
-
"gitHead": "
|
|
19
|
+
"gitHead": "ada5e359a91135cb9baf605c04c5c380f067a046"
|
|
20
20
|
}
|