[Catalyst] Dealing with timestamps from Postgres

Paul catalystml023942 at rainslide.net
Thu Nov 3 09:44:57 GMT 2011


On Thursday, 03 November, 2011 at 02:31:56 GMT, Santiago Zarate wrote:
>If i'm not wrong, being basically a DateTime object you should be able
>to do whatever you like with it instead of having to do a search &
>replace, consider using DBIx::Class::InflateColumn to have DBIx do the
>job for you every time you need to use that specific model...

Indeed. Consider using a formatter: https://metacpan.org/module/DateTime#Formatters-And-Stringification

-- 

.



More information about the Catalyst mailing list