Merge pull request #370 from PhotoNomad0/feature-addDateToDisplayedMessages
Feature / Added date to messages displayed
This commit is contained in:
@@ -44,6 +44,9 @@ export const Message = ({
|
||||
<span className="cursor-pointer font-medium text-textPrimary">
|
||||
{sender?.user?.longName ?? "UNK"}
|
||||
</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">
|
||||
{message.rxTime.toLocaleTimeString(undefined, {
|
||||
hour: "2-digit",
|
||||
|
||||
Reference in New Issue
Block a user