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

fix: timestamp display
This commit is contained in:
Timothy Jaeryang Baek 2024-02-03 12:24:50 -08:00 committed by GitHub
commit 3382fd10a6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -173,7 +173,7 @@
{#if message.timestamp}
<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>
{/if}
</Name>

View file

@ -66,7 +66,7 @@
{#if message.timestamp}
<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>
{/if}
</Name>