From 3c3058f222f1efb60f9b708a3ce2de2ef4719b72 Mon Sep 17 00:00:00 2001 From: H Plato Date: Sat, 25 Aug 2018 12:48:44 -0600 Subject: [PATCH] fixed display when either grass or shrubs are being watered --- code/common/calc_eto.pl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/code/common/calc_eto.pl b/code/common/calc_eto.pl index ab000f0d4..3460e3c38 100644 --- a/code/common/calc_eto.pl +++ b/code/common/calc_eto.pl @@ -956,7 +956,6 @@ sub detailSchedule { my $station_id = 1; $time = $time * 60; #add in seconds foreach my $station (split /,/, $lengths) { - next if ($station == 0); my $run_hour = 0; if ($station > 3600) { $run_hour = int($station / 3600); @@ -964,7 +963,7 @@ sub detailSchedule { } my $run_min = int($station / 60); my $run_sec = int($station % 60); - $msg .= "[calc_eto] : " . formatTime($time) . " : Station:" .sprintf("%2s",$station_id) . " Run Time:" .sprintf("%02d:%02d:%02d",$run_hour,$run_min,$run_sec) . "\n"; + $msg .= "[calc_eto] : " . formatTime($time) . " : Station:" .sprintf("%2s",$station_id) . " Run Time:" .sprintf("%02d:%02d:%02d",$run_hour,$run_min,$run_sec) . "\n" unless ($station == 0); $station_id++; $time += $run_sec + ($run_min * 60) + ($run_hour * 3600); }