Merge pull request #636 from ollama-webui/ts-fix

fix: timestamp display
This commit is contained in:
Timothy Jaeryang Baek authored and GitHub committed 2024-02-03 12:24:50 -08:00
commit 3382fd10a6
2 files changed
+2 -2

No files matched your search

@@ -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>
@@ -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>