From b4f3605d8d865d7cc7659aea8b2e4dc72d772ec0 Mon Sep 17 00:00:00 2001 From: weiyunlong Date: Mon, 10 Feb 2025 17:38:12 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BC=98=E5=8C=96=E6=95=B0=E4=BB=93=E5=90=8C?= =?UTF-8?q?=E6=AD=A5=E6=97=A5=E6=9C=9F=E8=BF=87=E6=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit S --- main/java/shkd/utils/DobeDWUtils.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/java/shkd/utils/DobeDWUtils.java b/main/java/shkd/utils/DobeDWUtils.java index cbe2617..10a97bb 100644 --- a/main/java/shkd/utils/DobeDWUtils.java +++ b/main/java/shkd/utils/DobeDWUtils.java @@ -81,7 +81,7 @@ public class DobeDWUtils { public static String getDateString(Date billDate){ //创建一个SimpleDateFormat对象,定义目标日期格式 - SimpleDateFormat targetFormat = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss"); + SimpleDateFormat targetFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); //格式化Date对象为新的字符串格式 if(billDate == null){ return targetFormat.format(new Date());