Render gathering time

This commit is contained in:
Jacob Karlsson
2018-07-07 12:51:00 +02:00
parent 3c608e0159
commit d210926c8b
+2
View File
@@ -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]