Files
gancio/client/src/filters.js

12 lines
209 B
JavaScript
Raw Normal View History

2019-02-26 01:17:52 +01:00
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')
}
}