Skip to content
Sections
>> Trisquel >> Pakete >> nabia >> perl >> libtemplate-plugin-datetime-perl
etiona  ] [  nabia  ] [  aramo  ]

Paket: libtemplate-plugin-datetime-perl (0.06002-1)

plugin to use DateTime objects in the Template Toolkit

Basic usage for Template::Plugin::DateTime is as follows:

USE date = DateTime(year = 2004, month = 4, day = 1);

-OR-

by passing a pattern to parse a date by string using DateTime::Format::Strptime

USE date = DateTime(from_string => '2008-05-30 00:00:00',

                    pattern     => '%Y-%m-%d %H:%M:%S',
                    time_zone   => 'America/New_York');

Andere Pakete mit Bezug zu libtemplate-plugin-datetime-perl

  • hängt ab von
  • empfiehlt
  • schlägt vor

libtemplate-plugin-datetime-perl herunterladen

Download für alle verfügbaren Architekturen
Architektur Paketgröße Größe (installiert) Dateien
all 5,8 kB22 kB [Liste der Dateien]