1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

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

llvm-svn: 20150
This commit is contained in:
Chris Lattner 2005-02-13 16:08:30 +00:00
parent da614a0e0b
commit ce285e1b78
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>