@amirjalili1374/ui-kit 1.5.65 → 1.5.66

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/ui-kit.es.js CHANGED
@@ -14025,13 +14025,16 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent$1({
14025
14025
  return "";
14026
14026
  }
14027
14027
  if (isNaN(dateObj.getTime())) return "";
14028
+ const year = dateObj.getFullYear();
14029
+ const month = dateObj.getMonth();
14030
+ const day = dateObj.getDate();
14028
14031
  if (props.outputFormat === "date-only") {
14029
- const year = dateObj.getFullYear();
14030
- const month = String(dateObj.getMonth() + 1).padStart(2, "0");
14031
- const day = String(dateObj.getDate()).padStart(2, "0");
14032
- return `${year}-${month}-${day}`;
14032
+ const m = String(month + 1).padStart(2, "0");
14033
+ const d = String(day).padStart(2, "0");
14034
+ return `${year}-${m}-${d}`;
14033
14035
  } else {
14034
- return dateObj.toISOString();
14036
+ const utcDate = new Date(Date.UTC(year, month, day, 0, 0, 0, 0));
14037
+ return utcDate.toISOString();
14035
14038
  }
14036
14039
  };
14037
14040
  const inputClass = computed(() => {
@@ -14070,7 +14073,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent$1({
14070
14073
  };
14071
14074
  }
14072
14075
  });
14073
- const ShamsiDatePicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-5c15932d"]]);
14076
+ const ShamsiDatePicker = /* @__PURE__ */ _export_sfc$1(_sfc_main$h, [["__scopeId", "data-v-faabccc1"]]);
14074
14077
  const _hoisted_1$a = { class: "mb-6" };
14075
14078
  const _hoisted_2$6 = { class: "text-subtitle-1 font-weight-medium mb-3" };
14076
14079
  const _hoisted_3$4 = { class: "theme-toggle-container" };