@usecrow/ui 0.1.45 → 0.1.46

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.cjs CHANGED
@@ -149,7 +149,7 @@ function useChat({
149
149
  identity_token: identityToken,
150
150
  model: selectedModel,
151
151
  user_timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
152
- user_local_time: (/* @__PURE__ */ new Date()).toLocaleString(),
152
+ user_local_time: (/* @__PURE__ */ new Date()).toLocaleString("en-US", { year: "numeric", month: "long", day: "numeric", hour: "numeric", minute: "numeric", hour12: true }),
153
153
  page_path: typeof window !== "undefined" ? window.location.pathname : void 0,
154
154
  context: typeof window !== "undefined" ? window.__crow_page_context : void 0
155
155
  }),
@@ -508,7 +508,7 @@ function useChat({
508
508
  identity_token: identityToken,
509
509
  model: selectedModel,
510
510
  user_timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
511
- user_local_time: (/* @__PURE__ */ new Date()).toLocaleString()
511
+ user_local_time: (/* @__PURE__ */ new Date()).toLocaleString("en-US", { year: "numeric", month: "long", day: "numeric", hour: "numeric", minute: "numeric", hour12: true })
512
512
  })
513
513
  });
514
514
  if (!response.ok) {