From ffcd6f540133bc7847f6c2ca7aefdf571ee339e9 Mon Sep 17 00:00:00 2001 From: "dveditz%netscape.com" Date: Wed, 15 Mar 2000 00:49:16 +0000 Subject: [PATCH] Fix starting time for "show previous" links when hours is set to something other than 12 --- webtools/tinderbox/showbuilds.cgi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webtools/tinderbox/showbuilds.cgi b/webtools/tinderbox/showbuilds.cgi index 8de3f0067a97..6d43770b6d83 100755 --- a/webtools/tinderbox/showbuilds.cgi +++ b/webtools/tinderbox/showbuilds.cgi @@ -421,7 +421,7 @@ sub print_table_header { sub print_table_footer { print "\n"; - my $nextdate = $maxdate - 12*60*60; + my $nextdate = $maxdate - $hours*60*60; print &open_showbuilds_href(maxdate=>"$nextdate", nocrap=>'1') ."Show previous $hours hours
"; if ($hours != 24) {