@carlonicora/nextjs-jsonapi 1.140.1 → 1.140.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.
@@ -9290,6 +9290,7 @@ import { useEffect as useEffect15, useState as useState21 } from "react";
9290
9290
  import { Fragment as Fragment9, jsx as jsx82, jsxs as jsxs47 } from "react/jsx-runtime";
9291
9291
  function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth }) {
9292
9292
  const t = useTranslations14();
9293
+ const dateFnsLocale = useI18nDateFnsLocale();
9293
9294
  const [date, setDate] = useState21(
9294
9295
  avoidSettingDates ? void 0 : {
9295
9296
  from: new Date((/* @__PURE__ */ new Date()).getFullYear(), (/* @__PURE__ */ new Date()).getMonth(), 1),
@@ -9330,10 +9331,11 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
9330
9331
  children: [
9331
9332
  /* @__PURE__ */ jsx82(CalendarIcon2, {}),
9332
9333
  date?.from ? date.to ? /* @__PURE__ */ jsxs47(Fragment9, { children: [
9333
- format(date.from, "LLL dd, y"),
9334
- " - ",
9335
- format(date.to, "LLL dd, y")
9336
- ] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx82("span", { children: t("ui.labels.pick_a_date") })
9334
+ format(date.from, "d MMM yyyy", { locale: dateFnsLocale }),
9335
+ " -",
9336
+ " ",
9337
+ format(date.to, "d MMM yyyy", { locale: dateFnsLocale })
9338
+ ] }) : format(date.from, "d MMM yyyy", { locale: dateFnsLocale }) : /* @__PURE__ */ jsx82("span", { children: t("ui.labels.pick_a_date") })
9337
9339
  ]
9338
9340
  }
9339
9341
  ) });
@@ -9353,10 +9355,11 @@ function DateRangeSelector({ onDateChange, avoidSettingDates, showPreviousMonth
9353
9355
  children: [
9354
9356
  /* @__PURE__ */ jsx82(CalendarIcon2, {}),
9355
9357
  date?.from ? date.to ? /* @__PURE__ */ jsxs47(Fragment9, { children: [
9356
- format(date.from, "LLL dd, y"),
9357
- " - ",
9358
- format(date.to, "LLL dd, y")
9359
- ] }) : format(date.from, "LLL dd, y") : /* @__PURE__ */ jsx82("span", { children: t("ui.labels.pick_a_date") })
9358
+ format(date.from, "d MMM yyyy", { locale: dateFnsLocale }),
9359
+ " -",
9360
+ " ",
9361
+ format(date.to, "d MMM yyyy", { locale: dateFnsLocale })
9362
+ ] }) : format(date.from, "d MMM yyyy", { locale: dateFnsLocale }) : /* @__PURE__ */ jsx82("span", { children: t("ui.labels.pick_a_date") })
9360
9363
  ]
9361
9364
  }
9362
9365
  ),
@@ -10128,7 +10131,7 @@ import { useRef as useRef17 } from "react";
10128
10131
  import dynamic from "next/dynamic";
10129
10132
  import React17 from "react";
10130
10133
  import { jsx as jsx86 } from "react/jsx-runtime";
10131
- var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-AXAC3W24.mjs"), {
10134
+ var BlockNoteEditor = dynamic(() => import("./BlockNoteEditor-5ZEC7GOM.mjs"), {
10132
10135
  ssr: false
10133
10136
  });
10134
10137
  var BlockNoteEditorContainer = React17.memo(/* @__PURE__ */ __name(function EditorContainer(props) {
@@ -23914,4 +23917,4 @@ export {
23914
23917
  useOAuthClients,
23915
23918
  useOAuthClient
23916
23919
  };
23917
- //# sourceMappingURL=chunk-B5YZFCPE.mjs.map
23920
+ //# sourceMappingURL=chunk-LB5B5KYF.mjs.map