From a2a0b10077cc863d68a64cdf909ece57b3dd5941 Mon Sep 17 00:00:00 2001 From: Jonathan Rosenbaum Date: Thu, 16 Nov 2017 03:27:53 +0000 Subject: [PATCH] Actually no for #23, doesen't resolve seconds or even ti/to. --- Connections/database_functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Connections/database_functions.php b/Connections/database_functions.php index 637c39d..d81e229 100644 --- a/Connections/database_functions.php +++ b/Connections/database_functions.php @@ -603,7 +603,7 @@ function list_min($start_time, $start_offset_min, $form_name, $hours, $display_e echo ''; echo ''; } - 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]";