NAME
Template::Plugin::Time::Duration - Time::Duration functions for Template Toolkit
SYNOPSIS
[% USE time_dir = Time.Duration %]
This thing happened [% time_dir.ago(some_seconds) %].
DESCRIPTION
This plugin allows you to use functions from Time::Duration in your templates. It is very simple and hopefully requires little explanation.
FUNCTIONS
ago
ago_exact
concise
duration
duration_exact
from_now
from_now_exact
later
later_exact
earlier
earlier_exact
SEE ALSO
AUTHOR
Cory G Watson, <gphat at cpan.org>
COPYRIGHT & LICENSE
Copyright 2010 Cold Hard Code, LLC
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.