Formatting timestamp field for output in TemplateToolkit
问题 I'm using Perl with Catalyst framework, DBIx class as ORM, TT for views, Postgresql as DB. I have a column with 'timestamp without timezone' type, and if I do manual query in Postgres the column value is in such format 2012-08-30 21:30:14 , but when I print the value in TT view file I get it like this 2012-08-30T15:03:13 , so obviously it gets formatted but by what exactly I can't tell. I want to use Template::Plugin::Date to format output timestamps, but I get Catalyst error: Couldn't render