The documentation says ": / - or space" can be used. I have been using a '-' for the dates as that is how they are formated coming from MySQL. The Template Toolkit documentation uses '/', I can't get either to work.
-David Stewart On Jan 23, 2009, at 7:00 AM, [email protected] wrote: > > > Message: 2 > Date: Fri, 23 Jan 2009 10:26:27 +0000 > From: Dave Howorth <[email protected]> > Subject: Re: [Templates] Date Plugin > To: [email protected] > Message-ID: <[email protected]> > Content-Type: text/plain; charset=UTF-8 > > David Stewart wrote: >> "yyyy-mm-dd hh:mm:ss" > >> [% date.format('2000/12/21 4:20:36') %] > >> Anyone have any idea what might be going on here? > > '-' != '/' ? > > > > ------------------------------ > > _______________________________________________ > templates mailing list > [email protected] > http://mail.template-toolkit.org/mailman/listinfo/templates > > > End of templates Digest, Vol 17, Issue 2 > **************************************** _______________________________________________ templates mailing list [email protected] http://mail.template-toolkit.org/mailman/listinfo/templates
