cleaning *1000 unix timestamp

This commit is contained in:
lesion
2019-07-27 13:05:02 +02:00
parent 03d95a4ced
commit e1afd1aeb2
11 changed files with 238 additions and 37 deletions

View File

@@ -21,8 +21,8 @@ export default ({ app, store }) => {
moment.locale(store.state.locale)
//{start,end}_datetime are unix timestamp
const start = moment(event.start_datetime)
const end = moment(event.end_datetime)
const start = moment.unix(event.start_datetime)
const end = moment.unix(event.end_datetime)
const normal = `${start.format('dddd, D MMMM (HH:mm-')}${end.format('HH:mm)')}`