@timardex/cluemart-shared 2.5.1 → 2.5.2

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.
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  EVENT_DATE_STATUS_LABELS,
3
3
  dateFormat,
4
- formatDate,
4
+ formatDateOptionLabel,
5
5
  getUniqueStartDates,
6
6
  isIsoDateString,
7
7
  isoDateFormat,
8
8
  nzStartOfDay,
9
9
  stripOverlaySubtitleSpecialChars
10
- } from "./chunk-4CQLKIQ6.mjs";
10
+ } from "./chunk-TGEYOSSX.mjs";
11
11
  import {
12
12
  PROMO_CODE_PREFIX,
13
13
  gameScreenIdentifierList
@@ -1753,7 +1753,7 @@ function getEventStallholdersData({
1753
1753
  registeredForEvent,
1754
1754
  unregisteredForEvent
1755
1755
  ).map((startDate) => ({
1756
- label: formatDate(startDate, "date"),
1756
+ label: formatDateOptionLabel(startDate),
1757
1757
  value: startDate
1758
1758
  }));
1759
1759
  const hasDatePills = futureEventStartDates.length > 0;
@@ -1781,7 +1781,7 @@ function getVendorEventsData({
1781
1781
  const eventDateOptions = getVendorEventRelationDateOptions(events).map(
1782
1782
  (option) => ({
1783
1783
  ...option,
1784
- label: formatDate(option.value, "date")
1784
+ label: formatDateOptionLabel(option.value)
1785
1785
  })
1786
1786
  );
1787
1787
  return {
@@ -1929,4 +1929,4 @@ export {
1929
1929
  toUserFacingErrorMessage,
1930
1930
  getErrorMessage
1931
1931
  };
1932
- //# sourceMappingURL=chunk-NEOBS55J.mjs.map
1932
+ //# sourceMappingURL=chunk-T736WX7J.mjs.map