浏览代码

Add race time to table

Foppe Hemminga 6 年之前
父节点
当前提交
00191b2ebe
共有 1 个文件被更改,包括 1 次插入1 次删除
  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>