Include local time on the web page for start/end times.
authorChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2005 16:08:30 +0000 (16:08 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 13 Feb 2005 16:08:30 +0000 (16:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20150 91177308-0d34-0410-b5e6-96231b3b80d8

utils/NightlyTest.pl
utils/NightlyTestTemplate.html

index 36a8556311459c4ddd6d7b9ddc4f6bb74d6e762f..9bbbf49b14176b2176c1be1313b8456700dfee8b 100755 (executable)
@@ -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;
index 43ce1372b3614191ebf0e0ad096cbb05c204adc7..df6b74375a75d451e44f17e1fffa9bee52fede1a 100644 (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>