Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 928 Bytes

README.md

File metadata and controls

25 lines (17 loc) · 928 Bytes

Template::Plugin::AutoDate

This perl module enhances Template Toolkit to provide easy access to DateTime and DateTime::Format::Flexible. It coerces plain strings to DateTime objects, giving you the full power of DateTime's date manipulation inside your templates.

You can install the latest stable release of this module from CPAN

cpanm Template::Plugin::AutoDate

and see the full docuentation locally with

perldoc ./lib/Template/Plugin/AutoDate.pm   # before installed
perldoc Template::Plugin::AutoDate          # after installed

To build and install this source code, use the Dist::Zilla tool:

cpanm Dist::Zilla
dzil authordeps --missing | cpanm
dzil build
cpanm ./Template-Plugin-AutoDate-$VERSION.tar.gz