Jonas wrote:
> You are right Matt. I'm sorry for that.
>
> The database i'm using is SQLite. I have just one row:
>
> sqlite> select * from dvd;
> 5|Jurassic Park II|133|1|2|2000-02-02 10:00:00|2000-02-02 10:00:00|10:00
>
> Here is the relevant column definition:
>
> __PACKAGE__->add_columns(
> <striped>
> 'alter_date' => {
> 'data_type' => 'datetime',
> 'name' => 'alter_date',
> 'label' => 'Alter Date',
> 'is_nullable' => 0,
> 'size' => undef
> },
> 'creation_date' => {
> 'data_type' => 'date',
> 'name' => 'creation_date',
> 'label' => 'Creation Date',
> 'is_nullable' => 0,
> 'size' => undef
> },
> <striped>
> );
Ok, by default we use DateTime::Format::MySQL under SQLite since it seems to
work there as well.
Maybe if you prod that in isolation and see if you can send the author a test
case?
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/