separate start and end into their own columns

This commit is contained in:
Ben Harris 2020-06-28 02:19:42 -04:00
parent 2675c01f37
commit 853e92965e
1 changed files with 4 additions and 2 deletions

View File

@ -41,14 +41,16 @@ function formatdate($date) {
<thead>
<tr>
<th>dj</th>
<th>time</th>
<th>start</th>
<th>end</th>
</tr>
</thead>
<tbody>
<?php foreach ($schedule as $item): ?>
<tr>
<td><?=$item["title"]?></td>
<td><?=formatdate($item["start"])?> - <?=formatdate($item["end"])?></td>
<td><?=formatdate($item["start"])?></td>
<td><?=formatdate($item["end"])?></td>
</tr>
<?php endforeach; ?>
</tbody>