round the time down to even seconds. initalize two variables to null string.

This commit is contained in:
kestes%tradinglinx.com 2001-02-15 20:51:58 +00:00
Родитель 3c8eb16980
Коммит c6ae0f3a2b
1 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -2,9 +2,9 @@
# -*- Mode: perl; indent-tabs-mode: nil -*-
#
# $Revision: 1.10 $
# $Date: 2001/01/04 00:26:16 $
# $Author: kestes%staff.mail.com $
# $Revision: 1.11 $
# $Date: 2001/02/15 20:51:58 $
# $Author: kestes%tradinglinx.com $
# $Source: /home/hwine/cvs_conversion/cvsroot/mozilla/webtools/tinderbox2/src/bin/tinder.cgi,v $
# $Name: $
@ -176,7 +176,7 @@ sub construct_times_vec {
# the first entry is rounded down to nearest 5 minutes
my $remainder = $min % 5;
my ($time) = $start_time - ($remainder*$main::SECONDS_PER_MINUTE);
my ($time) = $start_time - ($remainder*$main::SECONDS_PER_MINUTE) - $sec;
while ($time > $end_time) {
push @out, $time;
@ -293,7 +293,8 @@ sub HTML_status_page {
my ($break_times) = TinderHeader::gettree_header('Build', $tree);
my ($ignore_builds) = TinderHeader::gettree_header('IgnoreBuilds', $tree);
my ($html_tree_state, $html_ignore_builds);
my ($html_tree_state) = '';
my ($html_ignore_builds) = '';
($tree_state) &&
($html_tree_state .= (