[Catalyst] datetime formatting ...

Kiffin Gish kiffin.gish at planet.nl
Wed Jan 6 14:29:13 GMT 2010


I've got a datetime column defined:

__PACKAGE__->add_columns(
  ...
  "last_modified",
  {
    data_type => "DATETIME",
    default_value => undef,
    is_nullable => 1,
    size => undef,
  },
);

For some reason it's being displayed like this:

"2010-01-05T20:35:14"

How can I get that 'T' out of there, replacing it with the usual space?

-- 
Kiffin Gish <Kiffin.Gish at planet.nl>
Gouda, The Netherlands





More information about the Catalyst mailing list