From 9c69eb7d1bf4c91649983da5a1af1e9ca53f7c41 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期三, 18 十二月 2019 11:11:27 +0800
Subject: [PATCH] 邀请图片清除消息添加

---
 fanli/src/main/java/com/yeshi/fanli/util/TimeUtil.java |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/util/TimeUtil.java b/fanli/src/main/java/com/yeshi/fanli/util/TimeUtil.java
index bc95595..677731b 100644
--- a/fanli/src/main/java/com/yeshi/fanli/util/TimeUtil.java
+++ b/fanli/src/main/java/com/yeshi/fanli/util/TimeUtil.java
@@ -103,6 +103,12 @@
 		return 0;
 	}
 	
+	public static String formatDate(long time) {
+		SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd HH:mm");
+		String date = sdf.format(new Date(time));
+		return date;
+	}
+	
 	public static String formatDate(Date time) {
 		SimpleDateFormat sdf = new SimpleDateFormat("yyyy.MM.dd HH:mm");
 		String date = sdf.format(time);

--
Gitblit v1.8.0