@timardex/cluemart-shared 1.5.506 → 1.5.507

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/index.mjs CHANGED
@@ -565,7 +565,7 @@ function nzStartOfDay(input) {
565
565
  if (input == null) {
566
566
  return dayjs().tz(NZ_TZ).startOf("day");
567
567
  }
568
- return dayjs(input).tz(NZ_TZ).startOf("day");
568
+ return dayjs.tz(input, NZ_TZ).startOf("day");
569
569
  }
570
570
  var formatDate = (dateStr, display = "datetime", timeStr) => {
571
571
  const dateTimeStr = timeStr ? `${dateStr} ${timeStr}` : dateStr;