fix: date format
This commit is contained in:
parent
c24b8af00d
commit
729aa7d4cc
2 changed files with 3 additions and 3 deletions
|
@ -57,7 +57,7 @@ const flatPickerConfig = computed(() => ({
|
|||
inline: true,
|
||||
mode: 'range',
|
||||
locale: {
|
||||
firstDayOf7Days: weekStart,
|
||||
firstDayOf7Days: weekStart.value,
|
||||
},
|
||||
}))
|
||||
|
||||
|
|
|
@ -97,8 +97,8 @@ export default {
|
|||
const title = this.showAll
|
||||
? this.$t('task.show.titleCurrent')
|
||||
: this.$t('task.show.fromuntil', {
|
||||
from: this.formatDateShort(this.dateFrom),
|
||||
until: this.formatDateShort(this.dateTo)
|
||||
from: this.format(this.dateFrom, 'PPP'),
|
||||
until: this.format(this.dateTo, 'PPP')
|
||||
})
|
||||
|
||||
this.setTitle(title)
|
||||
|
|
Loading…
Reference in a new issue