From 3d97402ccd5299304165a3cb5c2b4099778c4e29 Mon Sep 17 00:00:00 2001 From: "slamm%netscape.com" Date: Fri, 3 Mar 2000 17:32:04 +0000 Subject: [PATCH] Nudge the hour coloring. It was off by a second. --- webtools/tinderbox/showbuilds.cgi | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webtools/tinderbox/showbuilds.cgi b/webtools/tinderbox/showbuilds.cgi index e9c22137b09e..8de3f0067a97 100755 --- a/webtools/tinderbox/showbuilds.cgi +++ b/webtools/tinderbox/showbuilds.cgi @@ -280,7 +280,8 @@ BEGIN { } my $hour_color = ''; - $hour_color = ' bgcolor=#e7e7e7' if $build_time_times->[$tt] % 7200 <= 3600; + $hour_color = ' bgcolor=#e7e7e7' + if ($build_time_times->[$tt] + 1) % 7200 <= 3600; print "", "$query_link\n$pretty_time$end_query\n"; @@ -337,7 +338,7 @@ BEGIN { # What Changed # # Only add the "C" link if there have been changes since the last build. - if( $br->{previousbuildtime} ){ + if ($br->{previousbuildtime}) { my $previous_br = $build_table->[$tt+$rowspan][$build_index]; my $previous_rowspan = $previous_br->{rowspan}; if (&has_who_list($tt+$rowspan, @@ -593,7 +594,7 @@ sub print_javascript { + builds[buildindex] + "
" + "View Brief Log
" + "View Full Log
" - + "Add a Comment
" + + "Add a Comment" + ""); q.document.close(); return false;