Added date to messages displayed
This commit is contained in:
1 parent
88e06a1bea
commit
2d041ab6d0
1 file changed
+3
@@ -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",
|
||||||
|
|||||||
Reference in new issue
Block a user