fix: date format

This commit is contained in:
kolaente 2021-12-29 17:08:33 +01:00
parent c24b8af00d
commit 729aa7d4cc
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@ const flatPickerConfig = computed(() => ({
inline: true, inline: true,
mode: 'range', mode: 'range',
locale: { locale: {
firstDayOf7Days: weekStart, firstDayOf7Days: weekStart.value,
}, },
})) }))

View File

@ -97,8 +97,8 @@ export default {
const title = this.showAll const title = this.showAll
? this.$t('task.show.titleCurrent') ? this.$t('task.show.titleCurrent')
: this.$t('task.show.fromuntil', { : this.$t('task.show.fromuntil', {
from: this.formatDateShort(this.dateFrom), from: this.format(this.dateFrom, 'PPP'),
until: this.formatDateShort(this.dateTo) until: this.format(this.dateTo, 'PPP')
}) })
this.setTitle(title) this.setTitle(title)