Commit d210926c8b6638ed7f9b6506fce01d51e9810aec
Render gathering time
Jacob Karlsson committed on 7/7/2018, 10:51:00 AMParent: 3c608e0159f165149400aef6b07160373797b31b
Files changed
render.js | changed |
render.js | ||
---|---|---|
@@ -537,11 +537,13 @@ | ||
537 | 537 | desc.innerHTML = marked(c.about.description, opts.marked) |
538 | 538 | const image = h('p', h('img', { src: opts.img_base + c.about.image })) |
539 | 539 | const attending = h('h3.attending', c.numberAttending + ' attending') |
540 | 540 | const title = h('h2', c.about.title) |
541 | + const time = h('h3', new Date(c.about.startDateTime.epoch).toUTCString()) | |
541 | 542 | console.log('c', c) |
542 | 543 | return h('section', |
543 | 544 | [title, |
545 | + time, | |
544 | 546 | image, |
545 | 547 | attending, |
546 | 548 | desc] |
547 | 549 | ) |
Built with git-ssb-web