Commit 16a680d7981394cea43da71e979f7db89d5398ee
1 parent
11bc3ca7
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 | 64 | String commentTime = json.getString("commentTime"); |
| 65 | 65 | Date timestamp =null; |
| 66 | 66 | if (CommonUtils.isNotEmpty(commentTime)) { |
| 67 | - timestamp = CommonUtils.getTimestamp(commentTime, "yyyy-MM-dd HH:mm"); | |
| 67 | + timestamp = CommonUtils.getTimestamp(commentTime, "yyyy-MM-dd HH:mm:ss"); | |
| 68 | 68 | } |
| 69 | 69 | // 2020.01.07 修改评论审核类型是话题时分享和标题从互动云获取 |
| 70 | 70 | // if(type.equals(CommonConst.CATEGORY_TOPIC)){//评论类型是话题 | ... | ... |