mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-17 08:14:25 +08:00
code refactor
This commit is contained in:
@@ -143,7 +143,7 @@ export default {
|
||||
return getDay(this.currentTime);
|
||||
},
|
||||
currentDayOfWeek() {
|
||||
return this.$t(`datetime.${getDayOfWeekName(this.currentTime)}.short`);
|
||||
return this.$locale.getWeekdayShortName(getDayOfWeekName(this.currentTime));
|
||||
},
|
||||
currentShortTime() {
|
||||
return this.$locale.formatUnixTimeToShortTime(this.userStore, this.currentTime);
|
||||
|
||||
Reference in New Issue
Block a user