Hi,

I am having trouble formatting dates in Template Toolkit.

$file->create_dt(format => '%m/%d/%Y %H:%M:%S') - works fine.

But

[% file.create_dt(format => '%m/%d/%Y %H:%M:%S') %] or
[% file.create_dt.format('%m/%d/%Y %H:%M:%S') %] do not. Any ideas how
to do this? I also tried TT's date plugin to format the date but it
expects the dates in a certain format before it can process them.

TIA.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to