Module: tools Branch: master Commit: ad3d0db32e89294b009310096ad56daa9b4c0bc9 URL: http://source.winehq.org/git/tools.git/?a=commit;h=ad3d0db32e89294b009310096...
Author: Francois Gouget fgouget@free.fr Date: Thu Feb 6 19:22:43 2014 +0100
winetest: Don't show the year on the index page.
The site only keeps results for a couple of weeks so showing the year is not particularly useful and wastes horizontal space.
---
winetest/build-index | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/winetest/build-index b/winetest/build-index index 393e132..c4b9ecc 100755 --- a/winetest/build-index +++ b/winetest/build-index @@ -228,7 +228,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) {