title: Formatting timestamp field for output in TemplateToolkit
body: <p>I'm using Perl with Catalyst framework, DBIx class as ORM, TT for views, Postgresql as DB. </p>
  
  <p>I have a column with 'timestamp without timezone' type, and if I do manual query in Postgres the column value is in such format <code>2012-08-30 21:30:14</code>, but when I print the value in TT view file I get it like this <code>2012-08-30T15:03:13</code>, so obviously it gets formatted but by what exactly I can't tell.</p>
  
  <p>I want to use <a href="http://search.cpan.org/dist/Template-Toolkit/lib/Template/Plugin/Date.pm" rel="nofollow">Template::Plugin::Date</a> to format output timestamps, but I get Catalyst error:</p>
  
  <blockquote>
    <p>Couldn't render template "xxx/list.tt2: date error - bad time/date string:  expects 'h:m:s d:m:y'  got: '2012-08-30T21:28:22'"</p>
  </blockquote>
  
  <p>with code in xxx/list.tt2 <code>[% date.format(xxx.created) %]</code></p>
  
  <p>So how am I supposed to make it work? Thanks in advance.</p>