mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-25 08:46:22 +02:00
feat: released 0.0.9 changelog
This commit is contained in:
parent
b4b7059035
commit
2603db74eb
7 changed files with 207 additions and 2 deletions
|
|
@ -11,3 +11,11 @@ export function getChatTitleFromMessages(messages: Message[]) {
|
|||
if (userMessages.length === 0) return "Untitled Chat";
|
||||
return userMessages[0].content;
|
||||
}
|
||||
|
||||
export const formatDate = (date: Date): string => {
|
||||
return date.toLocaleDateString("en-US", {
|
||||
year: "numeric",
|
||||
month: "long",
|
||||
day: "numeric",
|
||||
});
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue