ソースを参照

Add race time to table

Foppe Hemminga 6 年 前
コミット
8d77c2bb65
1 ファイル変更1 行追加1 行削除
  1. 1 1
      index.php

+ 1 - 1
index.php

@@ -93,7 +93,7 @@ TABLEFOOT;
         <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 $t = strtotime($row['utctime']); echo $t; ?></td>
+        <td><?php $t = strtotime($row['utctime']); echo gmdate('H:i', $t); ?></td>
         <td><?php echo htmlspecialchars($row['horse']); ?></td>
     </tr>
 	<?php endwhile; ?>