front end, config
This commit is contained in:
11
client/src/filters.js
Normal file
11
client/src/filters.js
Normal file
@@ -0,0 +1,11 @@
|
||||
import moment from 'moment'
|
||||
moment.locale('it')
|
||||
|
||||
export default {
|
||||
datetime (value) {
|
||||
return moment(value).format('ddd, D MMMM HH:mm')
|
||||
},
|
||||
hour (value) {
|
||||
return moment(value).format('HH:mm')
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user