Render gathering time
This commit is contained in:
@@ -538,9 +538,11 @@ function renderGathering(opts, id, c) {
|
|||||||
const image = h('p', h('img', { src: opts.img_base + c.about.image }))
|
const image = h('p', h('img', { src: opts.img_base + c.about.image }))
|
||||||
const attending = h('h3.attending', c.numberAttending + ' attending')
|
const attending = h('h3.attending', c.numberAttending + ' attending')
|
||||||
const title = h('h2', c.about.title)
|
const title = h('h2', c.about.title)
|
||||||
|
const time = h('h3', new Date(c.about.startDateTime.epoch).toUTCString())
|
||||||
console.log('c', c)
|
console.log('c', c)
|
||||||
return h('section',
|
return h('section',
|
||||||
[title,
|
[title,
|
||||||
|
time,
|
||||||
image,
|
image,
|
||||||
attending,
|
attending,
|
||||||
desc]
|
desc]
|
||||||
|
|||||||
Reference in New Issue
Block a user