Added seconds to end of the directories name.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 21 Mar 2012 13:00:31 +0000 (14:00 +0100)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Wed, 21 Mar 2012 13:00:31 +0000 (14:00 +0100)
dashboard.pl
matrixgen.pl

index cbe95a6..8b628bd 100755 (executable)
@@ -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") {
index 69b12b6..4ad71d2 100755 (executable)
@@ -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") {