Added date to messages displayed

This commit is contained in:
PhotoNomad0
2025-01-13 06:37:18 -05:00
parent 88e06a1bea
commit 2d041ab6d0
@@ -44,6 +44,9 @@ export const Message = ({
<span className="cursor-pointer font-medium text-textPrimary"> <span className="cursor-pointer font-medium text-textPrimary">
{sender?.user?.longName ?? "UNK"} {sender?.user?.longName ?? "UNK"}
</span> </span>
<span className="mt-1 font-mono text-xs text-textSecondary">
{message.rxTime.toLocaleDateString()}
</span>
<span className="mt-1 font-mono text-xs text-textSecondary"> <span className="mt-1 font-mono text-xs text-textSecondary">
{message.rxTime.toLocaleTimeString(undefined, { {message.rxTime.toLocaleTimeString(undefined, {
hour: "2-digit", hour: "2-digit",