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> <thead>
<tr> <tr>
<th>dj</th> <th>dj</th>
<th>time</th> <th>start</th>
<th>end</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
<?php foreach ($schedule as $item): ?> <?php foreach ($schedule as $item): ?>
<tr> <tr>
<td><?=$item["title"]?></td> <td><?=$item["title"]?></td>
<td><?=formatdate($item["start"])?> - <?=formatdate($item["end"])?></td> <td><?=formatdate($item["start"])?></td>
<td><?=formatdate($item["end"])?></td>
</tr> </tr>
<?php endforeach; ?> <?php endforeach; ?>
</tbody> </tbody>