From db030e64136bff2bb6c6aea599c02f4921f6cdb0 Mon Sep 17 00:00:00 2001 From: moon <2623532423@qq.com> Date: Thu, 16 Oct 2025 17:03:51 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BA=86=E6=97=A5=E6=9C=9F?= =?UTF-8?q?=E7=9A=84=E5=AD=98=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/bjtds/brichat/util/SheetHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat-server/src/main/java/com/bjtds/brichat/util/SheetHandler.java b/chat-server/src/main/java/com/bjtds/brichat/util/SheetHandler.java index d9e68cd..f607c40 100644 --- a/chat-server/src/main/java/com/bjtds/brichat/util/SheetHandler.java +++ b/chat-server/src/main/java/com/bjtds/brichat/util/SheetHandler.java @@ -198,7 +198,7 @@ public class SheetHandler extends DefaultHandler { // ✅ 根据类型返回不同格式 if (numeric < 1) { // 纯时间 → 自动补上默认日期 - return String.format("1970-01-01 %02d:%02d:%02d", hours, minutes, seconds); + return String.format(" %02d:%02d:%02d", hours, minutes, seconds); } else if (fraction == 0) { // 纯日期 return String.format("%1$tY-%1$tm-%1$td", base);