Created
May 27, 2019 11:33
-
-
Save craigrodway/eea970736cd06412c194b9be7ccbc0ef to your computer and use it in GitHub Desktop.
classroombookings: 24hr time format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- application/views/bookings/table/cols_periods.php --> | |
<td align="center" width="<?php echo $width ?>"> | |
<strong><?php echo html_escape($name) ?></strong><br /> | |
<span style="font-size:90%"> | |
<?php echo date('H:i', strtotime($time_start)).'-'.date('H:i', strtotime($time_end)) ?> | |
</span> | |
</td> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- application/views/bookings/table/headings/periods.php --> | |
<td align="center" width="<?php echo $width ?>"> | |
<strong><?php echo html_escape($name) ?></strong><br /> | |
<span style="font-size:90%"> | |
<?php echo date('H:i', strtotime($time_start)).'-'.date('H:i', strtotime($time_end)) ?> | |
</span> | |
</td> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- application/views/bookings/table/rows_periods.php --> | |
<td align="right" width="100" style="padding:15px 5px;"> | |
<strong><?php echo html_escape($name) ?></strong><br /> | |
<span style="font-size:90%"> | |
<?php echo date('H:i', strtotime($time_start)).'-'.date('H:i', strtotime($time_end)) ?> | |
</span> | |
</td> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment