Showing
1 changed file
with
1 additions
and
1 deletions
@@ -60,7 +60,7 @@ class Day { | @@ -60,7 +60,7 @@ class Day { | ||
60 | const days = Math.floor((today - date) / (24 * 60 * 60 * 1000)) + 1; | 60 | const days = Math.floor((today - date) / (24 * 60 * 60 * 1000)) + 1; |
61 | 61 | ||
62 | if (days > 5) { | 62 | if (days > 5) { |
63 | - return `${this.year()}-${this._fix(this.month(), 2)}-${this._fix(this.day(), 2)}`; | 63 | + return `${this.year()}-${this._fix(this.month(), 2)}-${this._fix(this.date(), 2)}`; |
64 | } else if (days > 2) { | 64 | } else if (days > 2) { |
65 | return '2天前'; | 65 | return '2天前'; |
66 | } else if (days > 1) { | 66 | } else if (days > 1) { |
-
Please register or login to post a comment