winetest: Don't show the year on the index page.

Francois Gouget fgouget at free.fr
Thu Feb 6 12:22:43 CST 2014


The site only keeps results for a couple of weeks so showing the year is not particularly useful and wastes horizontal space.
---

There was also an unused argument for the hour.

 winetest/build-index | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/winetest/build-index b/winetest/build-index
index d2fa919..ae5f5a7 100755
--- a/winetest/build-index
+++ b/winetest/build-index
@@ -232,7 +232,7 @@ foreach my $build (@builds)
 {
     printf OUT "  <tr><td class=\"build\"><a href=\"%s\" title=\"%s\">%s</a></td>\n", $build->{name}, $build->{name}, substr($build->{name},0,12);
     my @date = gmtime($build->{date});
-    printf OUT "  <td class=\"date\">%02d %s %04d</td>", $date[3], $months[$date[4]], $date[5] + 1900, $date[2];
+    printf OUT "  <td class=\"date\">%02d %s</td>", $date[3], $months[$date[4]];
     my ($total_runs, $total_tests, $total_errors, $total_todos);
     foreach my $ver (@groups)
     {
-- 
1.8.5.2




More information about the wine-patches mailing list