From d210926c8b6638ed7f9b6506fce01d51e9810aec Mon Sep 17 00:00:00 2001 From: Jacob Karlsson Date: Sat, 7 Jul 2018 12:51:00 +0200 Subject: [PATCH] Render gathering time --- render.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/render.js b/render.js index 8e86d27..0af4c2f 100644 --- a/render.js +++ b/render.js @@ -538,9 +538,11 @@ function renderGathering(opts, id, c) { const image = h('p', h('img', { src: opts.img_base + c.about.image })) const attending = h('h3.attending', c.numberAttending + ' attending') const title = h('h2', c.about.title) + const time = h('h3', new Date(c.about.startDateTime.epoch).toUTCString()) console.log('c', c) return h('section', [title, + time, image, attending, desc]