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.
Installed Size: 23.6 kB
Architectures: all