Skip to content

Commit

Permalink
Fix filter minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscant committed Feb 3, 2020
1 parent 5c037ed commit 90ee242
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/filters.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import dayjs from 'dayjs'

// These are various formatting utilities which we use in templates.
Vue.filter('dateonly', val => dayjs(val).format('Do MMMM, YYYY'))
Vue.filter('datetime', val => dayjs(val).format('Do MMMM, YYYY HH:MM:ss'))
Vue.filter('datetime', val => dayjs(val).format('Do MMMM, YYYY HH:mm:ss'))

// dayjs pluralises wrongly in some cases - we've seen 1 hours ago.
Vue.filter('timeago', val =>
Expand Down

0 comments on commit 90ee242

Please sign in to comment.