This commit is contained in:
les
2020-02-16 21:04:46 +01:00
parent 9c151ee963
commit bd30a3dc74
3 changed files with 8 additions and 3 deletions

View File

@@ -19,7 +19,7 @@ export default ({ app, store }) => {
// shown in mobile homepage
Vue.filter('day', value => moment.unix(value).locale(store.state.locale).format('dddd, D MMM'))
Vue.filter('to', timestamp => moment.unix(timestamp).to())
Vue.filter('from', timestamp => moment.unix(timestamp).from())
// format event start/end datetime based on page
Vue.filter('recurrentDetail', event => {