mirror of
https://github.com/fspc/Yellow-Bike-Database.git
synced 2025-02-22 08:53:23 -05:00
Actually no for #23, doesen't resolve seconds or even ti/to.
This commit is contained in:
parent
4574410744
commit
a2a0b10077
@ -603,7 +603,7 @@ function list_min($start_time, $start_offset_min, $form_name, $hours, $display_e
|
||||
echo '<option value="current_time">Current Time</option>';
|
||||
echo '<option value="current_time">--------------------</option>';
|
||||
}
|
||||
for ($j = -1; $j <= $hours* (60 / $min); $j++) {
|
||||
for ($j = 0; $j <= $hours* (60 / $min); $j++) {
|
||||
$list_time = $start_time + $j*$min*60;
|
||||
if ($display_elapsed_hours == 1) {
|
||||
$elapsed_hours = " [" . date("G:i",mktime(0, 0, 0, 1,1,2000) + ($j+1)*$min*60). " hrs]";
|
||||
|
Loading…
x
Reference in New Issue
Block a user