set localized text to moment.js

This commit is contained in:
MaysWind
2021-05-30 18:40:20 +08:00
parent 19cf9f805d
commit 8c3354b808
7 changed files with 51 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
<small>Expense</small>
</span>
<span class="card-header-content" v-else-if="!loading">
<span class="home-summary-month">{{ dateRange.thisMonth.startTime | moment('MMMM') | format('datetime.#{value}.long') | localized }}</span>
<span class="home-summary-month">{{ dateRange.thisMonth.startTime | moment('MMMM') }}</span>
<span>·</span>
<small>{{ $t('Expense') }}</small>
</span>