On Mon, Mar 31, 2008 at 03:11:07AM +0100, Paul Makepeace wrote:
> I use the very nifty add_columns(startdate => {data_type => 'datetime'}) in
> my schema files, but am currently having to 'manually' set_formatter on each
> object as I pull it out ($_->startdate->set_formatter($dt_parser) for
> @rows). What's the blessed way of doing this in the schema?
>
> The myriad InflateColumn stuff in CPAN is kinda confusing...
Patch InflateColumn::DateTime to support it maybe?
--
Matt S Trout Need help with your Catalyst or DBIx::Class project?
Technical Director http://www.shadowcat.co.uk/catalyst/
Shadowcat Systems Ltd. Want a managed development or deployment platform?
http://chainsawblues.vox.com/ http://www.shadowcat.co.uk/servers/
_______________________________________________
List: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/dbix-class
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/DBIx-Class/
Searchable Archive: http://www.grokbase.com/group/[EMAIL PROTECTED]