diff options
author | franck cuny <franck@lumberjaph.net> | 2009-04-06 12:28:36 +0200 |
---|---|---|
committer | franck cuny <franck@lumberjaph.net> | 2009-04-06 12:28:36 +0200 |
commit | d4369fe70f4704913fed53c20026d091ee9a555f (patch) | |
tree | 94b96aafe3c549cf7734db0e8ffe35e56a93c6a5 /lib/CPAN | |
parent | use datetime object (diff) | |
download | cpan-graph-d4369fe70f4704913fed53c20026d091ee9a555f.tar.gz |
use inflate datetime
Diffstat (limited to 'lib/CPAN')
-rw-r--r-- | lib/CPAN/cpants.pm | 2 | ||||
-rw-r--r-- | lib/CPAN/mapcpan.pm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/lib/CPAN/cpants.pm b/lib/CPAN/cpants.pm index 686c834..10f8275 100644 --- a/lib/CPAN/cpants.pm +++ b/lib/CPAN/cpants.pm @@ -744,7 +744,7 @@ use base 'DBIx::Class'; use strict; use warnings; -__PACKAGE__->load_components( qw/ Core/ ); +__PACKAGE__->load_components( qw/ Core InflateColumn::DateTime/ ); __PACKAGE__->table( 'dist' ); __PACKAGE__->add_columns( diff --git a/lib/CPAN/mapcpan.pm b/lib/CPAN/mapcpan.pm index 7dcd13e..58a8c57 100644 --- a/lib/CPAN/mapcpan.pm +++ b/lib/CPAN/mapcpan.pm @@ -42,7 +42,7 @@ use base 'DBIx::Class'; use strict; use warnings; -__PACKAGE__->load_components( qw/ Core/ ); +__PACKAGE__->load_components( qw/InflateColumn::DateTime Core/ ); __PACKAGE__->table( 'packages' ); __PACKAGE__->add_columns( @@ -83,7 +83,7 @@ __PACKAGE__->add_columns( 'size' => 0 }, 'released' => { - 'data_type' => 'date', + 'data_type' => 'datetime', 'is_auto_increment' => 0, 'default_value' => undef, 'is_foreign_key' => 0, |