@nocobase/utils
Advanced tools
Comparing version 1.4.0-alpha.2 to 1.4.0-alpha.3
@@ -98,3 +98,3 @@ /** | ||
} | ||
const offset = options.utcOffset || -1 * (/* @__PURE__ */ new Date()).getTimezoneOffset(); | ||
const offset = options.utcOffset !== void 0 ? options.utcOffset : -1 * (/* @__PURE__ */ new Date()).getTimezoneOffset(); | ||
const { gmt, picker, utc = true } = options; | ||
@@ -101,0 +101,0 @@ if ((0, import_dayjs.dayjs)(val).isValid()) { |
{ | ||
"name": "@nocobase/utils", | ||
"version": "1.4.0-alpha.2", | ||
"version": "1.4.0-alpha.3", | ||
"main": "lib/index.js", | ||
@@ -19,3 +19,3 @@ "types": "./lib/index.d.ts", | ||
}, | ||
"gitHead": "b94a3bc09e8fd16b2cc12c8ea281d4138504f952" | ||
"gitHead": "9268a5b29cbbe9f83255e5cd66fa82f012aab46a" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
167104