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

@@ -2,10 +2,10 @@
nuxt-link.embed_event(:to='`/event/${event.slug || event.id}`' target='_blank' :class='{ withImg: event.media }')
//- image
img.float-left(:src='event | mediaURL("thumb")')
img.float-left(:src='$helper.mediaURL(event, "thumb")')
.event-info
//- title
.date {{event|when}}<br/>
.date {{$time.when(event)}}<br/>
h4 {{event.title}}
//- date / place