fix: timestamp display

This commit is contained in:
Timothy J. Baek 2024-02-03 12:24:24 -08:00
parent d07947885a
commit 98f22ec957
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@
{#if message.timestamp} {#if message.timestamp}
<span class=" invisible group-hover:visible text-gray-400 text-xs font-medium"> <span class=" invisible group-hover:visible text-gray-400 text-xs font-medium">
{dayjs(message.timestamp * 1000).format('DD/MM/YYYY HH:MM')} {dayjs(message.timestamp * 1000).format('DD/MM/YYYY HH:mm')}
</span> </span>
{/if} {/if}
</Name> </Name>

View file

@ -66,7 +66,7 @@
{#if message.timestamp} {#if message.timestamp}
<span class=" invisible group-hover:visible text-gray-400 text-xs font-medium"> <span class=" invisible group-hover:visible text-gray-400 text-xs font-medium">
{dayjs(message.timestamp * 1000).format('DD/MM/YYYY HH:MM')} {dayjs(message.timestamp * 1000).format('DD/MM/YYYY HH:mm')}
</span> </span>
{/if} {/if}
</Name> </Name>