minor
This commit is contained in:
parent
9c151ee963
commit
bd30a3dc74
3 changed files with 8 additions and 3 deletions
|
@ -29,7 +29,7 @@
|
||||||
//- info & actions
|
//- info & actions
|
||||||
el-col.menu(:sm='6' :xs='24')
|
el-col.menu(:sm='6' :xs='24')
|
||||||
el-menu.menu(router)
|
el-menu.menu(router)
|
||||||
time.dt-start(:datetime='event.start_datetime|unixFormat("YYYY-MM-DD HH:mm")') <i class='el-icon-date'></i> <b>{{event|when}}</b> <br/><small>{{event.start_datetime|to}}</small>
|
time.dt-start(:datetime='event.start_datetime|unixFormat("YYYY-MM-DD HH:mm")') <i class='el-icon-date'></i> <b>{{event|when}}</b> <br/><small>{{event.start_datetime|from}}</small>
|
||||||
p
|
p
|
||||||
i.el-icon-location-outline
|
i.el-icon-location-outline
|
||||||
b.p-location {{event.place.name}}
|
b.p-location {{event.place.name}}
|
||||||
|
|
|
@ -19,7 +19,7 @@ export default ({ app, store }) => {
|
||||||
// shown in mobile homepage
|
// shown in mobile homepage
|
||||||
Vue.filter('day', value => moment.unix(value).locale(store.state.locale).format('dddd, D MMM'))
|
Vue.filter('day', value => moment.unix(value).locale(store.state.locale).format('dddd, D MMM'))
|
||||||
|
|
||||||
Vue.filter('to', timestamp => moment.unix(timestamp).to())
|
Vue.filter('from', timestamp => moment.unix(timestamp).from())
|
||||||
// format event start/end datetime based on page
|
// format event start/end datetime based on page
|
||||||
|
|
||||||
Vue.filter('recurrentDetail', event => {
|
Vue.filter('recurrentDetail', event => {
|
||||||
|
|
|
@ -19,7 +19,12 @@ async function main () {
|
||||||
} else {
|
} else {
|
||||||
await nuxt.ready()
|
await nuxt.ready()
|
||||||
}
|
}
|
||||||
nuxt.listen()
|
try {
|
||||||
|
await nuxt.listen()
|
||||||
|
} catch (e) {
|
||||||
|
consola.error(e.toString())
|
||||||
|
return
|
||||||
|
}
|
||||||
consola.info('Listen on %s:%d , visit me here => %s', config.server.host, config.server.port, config.baseurl)
|
consola.info('Listen on %s:%d , visit me here => %s', config.server.host, config.server.port, config.baseurl)
|
||||||
TaskManager.start()
|
TaskManager.start()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue