...
|
...
|
@@ -60,7 +60,7 @@ class Day { |
|
|
const days = Math.floor((today - date) / (24 * 60 * 60 * 1000)) + 1;
|
|
|
|
|
|
if (days > 5) {
|
|
|
return `${this.year()}-${this._fix(this.month(), 2)}-${this._fix(this.day(), 2)}`;
|
|
|
return `${this.year()}-${this._fix(this.month(), 2)}-${this._fix(this.date(), 2)}`;
|
|
|
} else if (days > 2) {
|
|
|
return '2天前';
|
|
|
} else if (days > 1) {
|
...
|
...
|
|