fix indent
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Stefan Schwarz 2021-12-23 21:53:57 +01:00
parent eb30a69ab6
commit e35730d75c
1 changed files with 15 additions and 15 deletions

View File

@ -19,6 +19,7 @@
}
function render(talk) {
// const now = new Date();
const now = Date.parse("2021-12-27T11:35:00+01:00");
const max = talk.end - talk.start;
var value = 0;
@ -82,7 +83,7 @@
}
upcoming.sort((a, b) => a.end - b.end);
for (const talk of upcoming) {
for (const talk of upcoming.splice(0, 6)) {
content += render(talk);
}
@ -107,9 +108,8 @@
</header>
<main>
<h1>running / upcoming</h1>
<ul class="box-grid" id="list">
/ul>
</ul>
</main>
</body>
</html>