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) {