libtemplate-plugin-datetime-format-perl_0.03-1_all.deb


Advertisement

Description

libtemplate-plugin-datetime-format-perl - module for formatting DateTime objects from TT with DateTime::Format

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libtemplate-plugin-datetime-format-perl
Package version: 0.03
Package release: 1
Package architecture: all
Package type: deb
Installed size: 56 B
Download size: 7.08 KB
Official Mirror: ftp.br.debian.org
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.

    Download

    Source package: libtemplate-plugin-datetime-format-perl

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libtemplate-plugin-datetime-format-perl deb package:
      # sudo apt-get install libtemplate-plugin-datetime-format-perl

    Files

    • /usr/share/doc/libtemplate-plugin-datetime-format-perl/changelog.Debian.gz
    • /usr/share/doc/libtemplate-plugin-datetime-format-perl/changelog.gz
    • /usr/share/doc/libtemplate-plugin-datetime-format-perl/copyright
    • /usr/share/man/man3/Template::Plugin::DateTime::Format.3pm.gz
    • /usr/share/perl5/Template/Plugin/DateTime/Format.pm

    Changelog

    2014-10-18 - gregor herrmann <gregoa@debian.org> libtemplate-plugin-datetime-format-perl (0.03-1) unstable; urgency=low * Team upload. [ Salvatore Bonaccorso ] * Change Vcs-Git to canonical URI (git://anonscm.debian.org) * Change search.cpan.org based URIs to metacpan.org based URIs [ Axel Beckert ] * debian/copyright: migrate pre-1.0 format to 1.0 using "cme fix dpkg- copyright" [ Salvatore Bonaccorso ] * Update Vcs-Browser URL to cgit web frontend [ gregor herrmann ] * Add debian/upstream/metadata * Import upstream version 0.03 * Update Upstream-Contact in debian/copyright. * Update (build) dependencies. * Mark package as autopkgtest-able. * Declare compliance with Debian Policy 3.9.6.

    2012-01-22 - Julien Vaubourg <julien@vaubourg.com> libtemplate-plugin-datetime-format-perl (0.02-1) unstable; urgency=low * Initial Release. (Closes: #41280)

    Advertisement
    Advertisement