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 (