Parcourir la source

Add race time to table

Foppe Hemminga il y a 6 ans
Parent
commit
00191b2ebe
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -92,7 +92,7 @@ TABLEFOOT;
         <td><?php echo htmlspecialchars($row['state']); ?></td>
         <td><?php echo htmlspecialchars($row['race_date']); ?></td>
         <td><?php echo htmlspecialchars($row['race']); ?></td>
-        <td><?php echo htmlspecialchars($row['start_time']); ?></td>
+        <td><?php echo htmlspecialchars(substr($row['start_time'], 0, -3)); ?></td>
         <td><?php $t = strtotime($row['utctime']); echo gmdate('H:i', $t); ?></td>
         <td><?php echo htmlspecialchars($row['horse']); ?></td>
     </tr>