[Dbix-class] InflateColumn::DateTime - how to use it?

Pedro Melo melo at simplicidade.org
Wed May 16 15:47:45 GMT 2007


Hello,

On May 10, 2007, at 1:17 PM, RA Jones wrote:

> Sigh. I thought this one was going to be easy. Convert MySQL's  
> native date format (yyyy-m-d) to EU-style (dd-mm-yyyy):
>
> In Schema::Request
> __PACKAGE__->load_components(qw/PK::Auto Core  
> InflateColumn::DateTime/);

Switch the order between Core and InflateColumn::DateTime.

Core should be after IC::DT.

I just noticed that the SYNOPSIS is wrong in http://search.cpan.org/ 
~blblack/DBIx-Class-0.07006/lib/DBIx/Class/InflateColumn/DateTime.pm

Patch attached to fix it.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_inflate_datetime_synopsis.diff
Type: application/octet-stream
Size: 552 bytes
Desc: not available
Url : http://lists.scsys.co.uk/pipermail/dbix-class/attachments/20070516/042991b3/fix_inflate_datetime_synopsis.obj
-------------- next part --------------

Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
Jabber ID: melo at simplicidade.org
Use Jabber!




More information about the Dbix-class mailing list