From f230cfa0e94ab9237502733511bf7308abfc8242 Mon Sep 17 00:00:00 2001 From: Nate Jones Date: Mon, 13 Apr 2015 19:57:09 +0000 Subject: [PATCH] Time Conditions: Correct comments. --- app/time_conditions/time_condition_edit.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/time_conditions/time_condition_edit.php b/app/time_conditions/time_condition_edit.php index 41064de791..4dd898f8a3 100644 --- a/app/time_conditions/time_condition_edit.php +++ b/app/time_conditions/time_condition_edit.php @@ -863,7 +863,7 @@ if ($action == 'update') { $cond_val_stop = $tmp[1]; unset($tmp); - //convert time-of-day to minute-of-day (due to inconsistencies with time-of-day on some systems) + //convert minute-of-day to time-of-day values if ($cond_var == 'minute-of-day') { $cond_var = 'time-of-day'; $cond_val_start = number_pad(floor($cond_val_start / 60),2).":".number_pad(fmod($cond_val_start, 60),2); @@ -950,7 +950,7 @@ if ($action == 'update') { $cond_val_stop = $tmp[1]; unset($tmp); - //convert time-of-day to minute-of-day (due to inconsistencies with time-of-day on some systems) + //convert minute-of-day to time-of-day values if ($cond_var == 'minute-of-day') { $cond_var = 'time-of-day'; $cond_val_start = number_pad(floor($cond_val_start / 60),2).":".number_pad(fmod($cond_val_start, 60),2);