Commit d75edb8ee2109dc49480014e7faafeb2b2b9bc15
1 parent
e9814279
update时间格式
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/cnlive/shenhe/api/CommentsControllerApi.java
| @@ -64,7 +64,7 @@ public class CommentsControllerApi { | @@ -64,7 +64,7 @@ public class CommentsControllerApi { | ||
| 64 | String commentTime = json.getString("commentTime"); | 64 | String commentTime = json.getString("commentTime"); |
| 65 | Date timestamp =null; | 65 | Date timestamp =null; |
| 66 | if (CommonUtils.isNotEmpty(commentTime)) { | 66 | if (CommonUtils.isNotEmpty(commentTime)) { |
| 67 | - timestamp = CommonUtils.getTimestamp(commentTime, "yyyy-MM-dd HH:mm:ss"); | 67 | + timestamp = CommonUtils.getTimestamp(commentTime, "yyyy-MM-dd HH:mm"); |
| 68 | } | 68 | } |
| 69 | // 2020.01.07 修改评论审核类型是话题时分享和标题从互动云获取 | 69 | // 2020.01.07 修改评论审核类型是话题时分享和标题从互动云获取 |
| 70 | // if(type.equals(CommonConst.CATEGORY_TOPIC)){//评论类型是话题 | 70 | // if(type.equals(CommonConst.CATEGORY_TOPIC)){//评论类型是话题 |