Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
les
gancio
Commits
fc2c82ab
Commit
fc2c82ab
authored
Aug 07, 2019
by
les
Browse files
home date hot fix
parent
30a389b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
plugins/filters.js
View file @
fc2c82ab
...
...
@@ -13,7 +13,7 @@ export default ({ app, store }) => {
// Vue.filter('hour', value => moment(value).locale(store.state.locale).format('HH:mm'))
// shown in mobile homepage
Vue
.
filter
(
'
day
'
,
value
=>
moment
(
value
).
locale
(
store
.
state
.
locale
).
format
(
'
dddd, D MMMM
'
))
Vue
.
filter
(
'
day
'
,
value
=>
moment
.
unix
(
value
).
locale
(
store
.
state
.
locale
).
format
(
'
dddd, D MMMM
'
))
// Vue.filter('month', value => moment(value).locale(store.state.locale).format('MMM'))
// format event start/end datetime based on page
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment