[Commits] [svn:einsteintoolkit] www/release-info/ (Rev. 1363)
schnetter at cct.lsu.edu
schnetter at cct.lsu.edu
Tue Oct 28 16:28:08 CDT 2014
User: eschnett
Date: 2014/10/28 04:28 PM
Modified:
/release-info/
parse_testsuite_results.cgi
Log:
Clarify that "time" is "date" in MM-DD format
File Changes:
Directory: /release-info/
=========================
File [modified]: parse_testsuite_results.cgi
Delta lines: +3 -3
===================================================================
--- release-info/parse_testsuite_results.cgi 2014-10-28 20:20:51 UTC (rev 1362)
+++ release-info/parse_testsuite_results.cgi 2014-10-28 21:28:08 UTC (rev 1363)
@@ -39,7 +39,7 @@
# parse general information
my ($user,$time);
- $time = ParseDate("10 years ago"); # some default for non-existant entries
+ $time = ParseDate("10 years ago"); # some default for non-existent entries
if ($results_str =~ /\n {4}Time *-> ([^\n]*)\n {4}Host *-> [^\n]*\n {4}(Processes *-> [^\n]*\n {4})?User *-> ([^\n]*)\n/sm)
{
$time = ParseDate($1);
@@ -258,7 +258,7 @@
}
}
}
-$table_entries_h .= "</tr><tr><th colspan='2'>time</th>\n";
+$table_entries_h .= "</tr><tr><th colspan='2'>date (MM-DD)</th>\n";
foreach my $host (sort(keys(%allhosts))) {
foreach my $nprocs (sort(keys(%{$allhosts{$host}}))) {
foreach my $nthreads (sort(keys(%{$allhosts{$host}{$nprocs}}))) {
@@ -271,7 +271,7 @@
defined($fileinfo{$host}{$nprocs}{$nthreads}) and
defined($fileinfo{$host}{$nprocs}{$nthreads}{"time"})) {
$table_entries_h .= "<div class='vtext vtext3'>".
- UnixDate($fileinfo{$host}{$nprocs}{$nthreads}{"time"}, "%m/%d").
+ UnixDate($fileinfo{$host}{$nprocs}{$nthreads}{"time"}, "%m-%d").
"</div>";
} else { $table_entries_h .= " "; }
}
More information about the Commits
mailing list