Name : perl-Template-Plugin-TimeDate
| |
Version : 1.04
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : lp156.1.1
| Date : 2024-07-03 19:07:23
|
Group : Unspecified
| Source RPM : perl-Template-Plugin-TimeDate-1.04-lp156.1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : https://www_suse_com/
| |
Summary : Template::Toolkit plugin to parse/format dates using TimeDate
|
Description :
\'Template::Plugin::TimeDate\' is a \'Template::Toolkit\' plug-in that makes of the \'Date::Parse\' and \'Date::Format\' modules from the \'TimeDate\' distribution, to help deal with parsing/formatting dates.
Why another date/time plug-in? \'Template::Plugin::Date\' doesn\'t handle output in different timezones, and \'Template::Plugin::DateTime\' didn\'t give me a means of easily parsing dates before turning them into \'DateTime\' objects. I\'d been using the \'Date::Parse\' module elsewhere to parse dates, and so this plug-in was built to help capture the parse/format cycle that I wanted to use in my templates.
The plug-in should be loaded via the USE directive:
[% USE TimeDate %]
This creates a plug-in object with the default name of \'TimeDate\'. An alternate name can be specified such as:
[% USE mydate = TimeDate %]
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-T/15.6/noarch |