231801_test_to_master #1519
|
@ -97,7 +97,7 @@ export default class Controller extends Section {
|
|||
format = `'${this.$t('today')}'`;
|
||||
else if (diff == 1)
|
||||
format = `'${this.$t('yesterday')}'`;
|
||||
else if (diff >= 2 && diff <= 5)
|
||||
else if (diff < 7)
|
||||
format = `'${date.toLocaleDateString(this.lang, {weekday: 'short'})}'`;
|
||||
else if (this.today.getFullYear() == date.getFullYear())
|
||||
format = `d '${date.toLocaleDateString(this.lang, {month: 'short'})}'`;
|
||||
|
|
Loading…
Reference in New Issue