Same date/time fix in the view too

This commit is contained in:
Andreas Kristiansen
2024-08-18 16:16:07 +02:00
parent 6ae54ba9d0
commit ea0d9cefae

View File

@@ -21,8 +21,8 @@
<?php foreach ($contests as $contest) { ?>
<tr>
<td><b><?php echo $contest['title']; ?></b></td>
<td><?php echo $contest['start']->format('d M - H:i'); ?></td>
<td><?php echo $contest['end']->format('d M - H:i'); ?></td>
<td><?php echo $contest['start'] == '' ? '' : $contest['start']->format('d M - H:i'); ?></td>
<td><?php echo $contest['end'] == '' ? '' : $contest['end']->format('d M - H:i'); ?></td>
<td><a class='btn btn-secondary btn-sm' href='<?php echo $contest['link']; ?>' target='_blank'><?= __("Show Details"); ?></a></td>
</tr>
<?php } ?>
@@ -63,4 +63,4 @@
</div>
</div>
</div>
</div>
</div>