use new $time plugin instead of filters, fix #252

This commit is contained in:
lesion
2023-03-22 18:45:48 +01:00
parent 780938ef91
commit c8493d0810
2 changed files with 3 additions and 3 deletions

View File

@@ -9,7 +9,7 @@ v-container
:footer-props='{ prevIcon: mdiChevronLeft, nextIcon: mdiChevronRight }'
:items='unconfirmedEvents'
:headers='headers')
template(v-slot:item.when='{ item }') {{item|when}}
template(v-slot:item.when='{ item }') {{$time.when(item)}}
template(v-slot:item.actions='{ item }')
v-btn(text small @click='confirm(item)' color='success') {{$t('common.confirm')}}
v-btn(text small :to='`/event/${item.slug || item.id}`' color='success') {{$t('common.preview')}}