Include local time on the web page for start/end times.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20150 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2005-02-13 16:08:30 +00:00
parent 50c301b9bb
commit 004e19e38d
2 changed files with 5 additions and 4 deletions

View File

@ -66,7 +66,7 @@ my $WebDir = $ENV{'WEBDIR'};
@TIME = localtime;
my $DATE = sprintf "%4d-%02d-%02d", $TIME[5]+1900, $TIME[4]+1, $TIME[3];
my $DateString = strftime "%B %d, %Y", localtime;
my $TestStartTime = gmtime;
my $TestStartTime = gmtime() . "GMT<br>" . localtime() . " (local)";
# Command line argument settings...
my $NOCHECKOUT = 0;
@ -798,7 +798,8 @@ if ( $VERBOSE ) {
}
# Main HTML file...
my $Output;
my $TestFinishTime = gmtime;
my $TestFinishTime = gmtime() . " GMT<br>" . localtime() . " (local)";
my $TestPlatform = `uname -a`;
eval "\$Output = <<ENDOFFILE;$TemplateContents\nENDOFFILE\n";
WriteFile "$DATE.html", $Output;

View File

@ -53,8 +53,8 @@
<h2>Nightly Test Overview:</h2>
<ul>
<li>Start: <b>$TestStartTime GMT</b></li>
<li>Finish: <b>$TestFinishTime GMT</b></li>
<li>Start: <b>$TestStartTime</b></li>
<li>Finish: <b>$TestFinishTime</b></li>
<li>Platform: <b>$TestPlatform</b></li>
</ul>
<h2>CVS Tree Overview:</h2>