Hi, all

I encountered a problem as below while tyring to use
DBIx::Class::InflateColumn::DateTime.

'register_column' method of DBIx::Class::InflateColumn::DateTime
changes 'timestamp' to 'datetime' internally, then call
'parse_datetime' method of DateTime::Format::XX object.
but, DateTime::Format::DB2 doesn't have parse_datetime.

So I have to make some fix for DBIx::Class::InflateColumn::DateTime to
call parse_timestamp or add parase(format)_datetime method to
DateTime::Format::DB2 as my code get done correctly.

I think the fix for DateTime::Format::DB2 is easier, but DB2 actually
does't have datetime type unlike other DBMS (Oracle, MySQL).

Could anyone give some comments which one is more appropriate.

Regards.

-  Takashi Karino
[EMAIL PROTECTED]

_______________________________________________
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]/

Reply via email to