From e4f7a403b77b976f61b8c95493cdd25d6e3f7eb3 Mon Sep 17 00:00:00 2001 From: MeowcaTheoRange Date: Thu, 9 May 2024 16:20:28 -0500 Subject: [PATCH] improve stuff --- src/app/chat/page.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/app/chat/page.tsx b/src/app/chat/page.tsx index c3505b1..7724db2 100644 --- a/src/app/chat/page.tsx +++ b/src/app/chat/page.tsx @@ -194,7 +194,7 @@ export default function Home() { }); } const canDelete = whoamiRef.current.admin || whoamiRef.current.id == message.user; - const timeSent = new Date(message.timestamp * 1000).toLocaleTimeString(); + const timeSent = new Date(message.timestamp * 1000).toLocaleString(); return

{user?.id != null ? @@ -339,6 +339,7 @@ export default function Home() { } return x; })); + socket.emit('SIG_CHAT_CHGCHANNEL', { channel: data[0].name }, chgchannelChatRes); } } @@ -395,7 +396,7 @@ export default function Home() { return (