summary refs log tree commit diff
path: root/cpan-graph.pl
diff options
context:
space:
mode:
Diffstat (limited to 'cpan-graph.pl')
-rwxr-xr-xcpan-graph.pl5
1 files changed, 4 insertions, 1 deletions
diff --git a/cpan-graph.pl b/cpan-graph.pl
index c2e5324..c9cf369 100755
--- a/cpan-graph.pl
+++ b/cpan-graph.pl
@@ -15,6 +15,9 @@ my $options = GetOptions(
     'dbout=s'  => \my $db_out,
 );
 
+# TODO 
+# generer une carte des auteurs
+
 my $sqltest
     = CPAN::Testers->connect( "dbi:SQLite:dbname=" . $db_test, '', '' );
 my $sqlall = CPAN::cpants->connect( "dbi:SQLite:dbname=" . $db_all, '', '' );
@@ -51,7 +54,7 @@ while ( my $dist = $dists->next ) {
     $map_package->update(
         {   tests_success => $tests_success,
             author        => $author->pauseid,
-            released      => $dist->released,
+            released      => $dist->released->ymd('/'),
         }
     );