minor on filters

This commit is contained in:
lesion
2023-01-12 14:19:49 +01:00
parent 6e54383d51
commit 76bb959a80

View File

@@ -58,7 +58,7 @@ export default ({ app, store }) => {
return '' return ''
}) })
Vue.filter('from', timestamp => dayjs.unix(timestamp).tz().fromNow()) Vue.filter('from', timestamp => dayjs.unix(timestamp).tz().locale(app.i18n.locale || store.state.settings.instance_locale).fromNow())
Vue.filter('recurrentDetail', event => { Vue.filter('recurrentDetail', event => {
const parent = event.parent const parent = event.parent