Showing
1 changed file
with
1 additions
and
1 deletions
| @@ -53,7 +53,7 @@ export struct CardSourceInfo { | @@ -53,7 +53,7 @@ export struct CardSourceInfo { | ||
| 53 | // .flexShrink(0); | 53 | // .flexShrink(0); |
| 54 | // } | 54 | // } |
| 55 | if (this.contentDTO.source) { | 55 | if (this.contentDTO.source) { |
| 56 | - Text(DateTimeUtils.getCommentTime(Number.parseFloat(this.contentDTO.publishTime))) | 56 | + Text(DateTimeUtils.getCommentTime(Number.parseFloat(new Date(this.contentDTO.publishTime).getTime().toString()))) |
| 57 | .fontSize($r("app.float.font_size_11")) | 57 | .fontSize($r("app.float.font_size_11")) |
| 58 | .fontColor($r("app.color.color_B0B0B0")) | 58 | .fontColor($r("app.color.color_B0B0B0")) |
| 59 | .flexShrink(0); | 59 | .flexShrink(0); |
-
Please register or login to post a comment