Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> perl >> libtemplate-plugin-datetime-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: libtemplate-plugin-datetime-perl  ]

套件: libtemplate-plugin-datetime-perl (0.06002-1.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');

其他與 libtemplate-plugin-datetime-perl 有關的套件

  • 依賴
  • 推薦
  • 建議

下載 libtemplate-plugin-datetime-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 6.0 kB22 kB [文件列表]