From 20f12c97c1397f5f9705cd00ba4b9cbedbf07ee2 Mon Sep 17 00:00:00 2001 From: CrescentLeaf Date: Thu, 2 Oct 2025 20:49:00 +0800 Subject: [PATCH] =?UTF-8?q?ui:=20=E5=BE=AE=E8=AA=BF=20=E6=99=82=E9=96=93?= =?UTF-8?q?=E9=A1=AF=E7=A4=BA=20=E6=96=87=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/ui/chat/ChatFragment.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/client/ui/chat/ChatFragment.tsx b/client/ui/chat/ChatFragment.tsx index 770b8ed..e6e27ee 100644 --- a/client/ui/chat/ChatFragment.tsx +++ b/client/ui/chat/ChatFragment.tsx @@ -300,11 +300,14 @@ export default function ChatFragment({ target, showReturnButton, onReturnButtonC { (date.getMinutes() != lastDate.getMinutes() || date.getDate() != lastDate.getDate() || date.getMonth() != lastDate.getMonth() || date.getFullYear() != lastDate.getFullYear()) && -
+
{ (date.getFullYear() != lastDate.getFullYear() ? `${date.getFullYear()}年` : '') - + (date.getMonth() != lastDate.getMonth() ? `${date.getMonth() + 1}月` : '') - + (date.getDate() != lastDate.getDate() ? `${date.getDate()}日` : '') + + `${date.getMonth() + 1}月` + + `${date.getDate()}日` + ` ${date.getHours()}:${date.getMinutes()}` }