From a9d754a99f46c1c0c3f2fab57464cc39028d5cc0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Wed, 21 Mar 2012 14:00:31 +0100 Subject: [PATCH] Added seconds to end of the directories name. --- dashboard.pl | 2 +- matrixgen.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard.pl b/dashboard.pl index cbe95a6..8b628bd 100755 --- a/dashboard.pl +++ b/dashboard.pl @@ -23,7 +23,7 @@ foreach my $i (0..$#list) { } if ($#item != 2 or not $item[1] or not $item[2]) { next; } $date = $2; - $date =~ s/(...)(..)(..)T(..)(..)/$1-$2-$3/; + $date =~ s/(...)(..)(..)T(..)(..).*/$1-$2-$3/; $scen = 'install'; if (-f "$item/scenario") { diff --git a/matrixgen.pl b/matrixgen.pl index 69b12b6..4ad71d2 100755 --- a/matrixgen.pl +++ b/matrixgen.pl @@ -68,7 +68,7 @@ foreach my $i (0..$#list) { } if ($#item != 2 or not $item[1] or not $item[2]) { next; } $date = $2; - $date =~ s/(...)(..)(..)T(..)(..)/$1-$2-$3/; + $date =~ s/(...)(..)(..)T(..)(..).*/$1-$2-$3/; $scen = 'install'; if (-f "$item/scenario") { -- 1.8.2.3