From 0ff9b899a773dbaa93dfbd16d37925398899f57d Mon Sep 17 00:00:00 2001 From: E1ED922C1E9526DD63272D7EC5C6CB77 <E1ED922C1E9526DD63272D7EC5C6CB77@i-search.com.cn> Date: 星期三, 04 十一月 2020 10:37:36 +0800 Subject: [PATCH] 添加秒转中文时间字符串 --- src/main/java/com/hx/util/DateUtil.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/main/java/com/hx/util/DateUtil.java b/src/main/java/com/hx/util/DateUtil.java index 9d1cf97..a3a1e74 100644 --- a/src/main/java/com/hx/util/DateUtil.java +++ b/src/main/java/com/hx/util/DateUtil.java @@ -358,7 +358,7 @@ String str = dayNum > 0 ? dayNum + "澶�" : ""; str += hourNum > 0 ? hourNum + "鏃�" : ""; str += minNum > 0 ? minNum + "鍒�" : ""; - str += second > 0 ? second + "绉�" : ""; + str += second + "绉�"; return str; } -- Gitblit v1.8.0