[Catalyst] datetime formatting ...

Matthias Dietrich mdietrich at cpan.org
Wed Jan 6 14:47:04 GMT 2010


Hi,

Am 06.01.2010 um 15:29 schrieb Kiffin Gish:

> 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?

didn't you just ask this on 28th December? See: http://lists.scsys.co.uk/pipermail/catalyst/2009-December/024191.html and follow the thread, there lies your answer...

matt

-- 
rainboxx Software Engineering
Matthias Dietrich, Freelancer

rainboxx                  |  Mobil: +49 (0) 151 / 50 60 78 64
Königsallee 43            |  
71638 Ludwigsburg         |  WWW  :  http://www.rainboxx.de

XING: https://www.xing.com/profile/Matthias_Dietrich18
GULP: http://www.gulp.de/profil/rainboxx.html





More information about the Catalyst mailing list