瀏覽代碼

fix: timestamp display

Timothy J. Baek 1 年之前
父節點
當前提交
98f22ec957

+ 1 - 1
src/lib/components/chat/Messages/ResponseMessage.svelte

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

+ 1 - 1
src/lib/components/chat/Messages/UserMessage.svelte

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