[Catalyst] datetime formatting ...
paikkos at googlemail.com
Wed Jan 6 16:10:35 GMT 2010
2010/1/6 Kiffin Gish <kiffin.gish at planet.nl>:
> I've got a datetime column defined:
> data_type => "DATETIME",
> default_value => undef,
> is_nullable => 1,
> size => undef,
> For some reason it's being displayed like this:
> How can I get that 'T' out of there, replacing it with the usual space?
I could be wrong but that looks like the correct UTC format to me. Are
you using PostgreSQL? If you want to convert between date formats then
I'd suggest the DateTime module. It's what is used with the
InflateColumn. ( See
More information about the Catalyst