I am running into an annoying blooper where I cannot pass a date from a database (e.g. 2008-10-21 00:23:00) into Template's date.format() function, because it requires it to be in the format (h:m:s d/m/y). This adds a needless step to format the date...before it gets formatted! Dumb. Fortunately, version 2.20 is patched to allow dates from databases that follow the traditional yyyy-mm-dd hh:mm:ss format. The way it should be and a real time saver if I can get it. Reproducible: Always Steps to Reproduce: 1. use Template::Plugin::Date in my web site code 2. attempt to pass a date from a database into the date.format() function 3. fails with "bad time/date string: expects 'h:m:s d:m:y'" error
Gregg, dev-perl/Template-Toolkit-2.20 is in the tree now. Please test and report if there are any problems.
Torsten, thank you for the very quick response. I am happy to report that your ebuild for 2.20 works wonderfully. Thank you!