libtemplate-plugin-datetime-format-perl

Module for formatting datetime objects from tt with datetime::format
  https://metacpan.org/release/Template-Plugin-DateTime-Format
  0
  no reviews



Oftentimes, you have a datetime object that you want to render in your template. however, the default rendering (2008-01-01t01:23:45) is pretty ugly. formatting the datetime with a datetime::format object is the usual solution, but there's usually not a nice place to put the formatting code.

template::plugin::datetime::format solves that problem. you can create a formatter object from within tt and then use that object to format datetime objects.