@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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -123,7 +123,7 @@ function useChat({
|
|
|
123
123
|
identity_token: identityToken,
|
|
124
124
|
model: selectedModel,
|
|
125
125
|
user_timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
126
|
-
user_local_time: (/* @__PURE__ */ new Date()).toLocaleString(),
|
|
126
|
+
user_local_time: (/* @__PURE__ */ new Date()).toLocaleString("en-US", { year: "numeric", month: "long", day: "numeric", hour: "numeric", minute: "numeric", hour12: true }),
|
|
127
127
|
page_path: typeof window !== "undefined" ? window.location.pathname : void 0,
|
|
128
128
|
context: typeof window !== "undefined" ? window.__crow_page_context : void 0
|
|
129
129
|
}),
|
|
@@ -482,7 +482,7 @@ function useChat({
|
|
|
482
482
|
identity_token: identityToken,
|
|
483
483
|
model: selectedModel,
|
|
484
484
|
user_timezone: Intl.DateTimeFormat().resolvedOptions().timeZone,
|
|
485
|
-
user_local_time: (/* @__PURE__ */ new Date()).toLocaleString()
|
|
485
|
+
user_local_time: (/* @__PURE__ */ new Date()).toLocaleString("en-US", { year: "numeric", month: "long", day: "numeric", hour: "numeric", minute: "numeric", hour12: true })
|
|
486
486
|
})
|
|
487
487
|
});
|
|
488
488
|
if (!response.ok) {
|