@archbase/core 4.0.37 → 4.0.39

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.
Binary file
package/dist/index.js CHANGED
@@ -8413,11 +8413,12 @@ function convertISOStringToDate(isoString) {
8413
8413
  if (!isoString || isoString === "") {
8414
8414
  return void 0;
8415
8415
  }
8416
- const hasTimeInfo = isoString.includes("T");
8416
+ const normalized = isoString.replace(" ", "T");
8417
+ const hasTimeInfo = normalized.includes("T");
8417
8418
  if (!hasTimeInfo) {
8418
- isoString += "T00:00:00";
8419
+ return parseISO(normalized + "T00:00:00");
8419
8420
  }
8420
- return parseISO(isoString);
8421
+ return parseISO(normalized);
8421
8422
  }
8422
8423
  function convertDateToISOString(date) {
8423
8424
  if (!date) {