How to Install and Uninstall libtemplate-plugin-datetime-perl Package on Ubuntu 21.10 (Impish Indri)

Last updated: November 22,2024

1. Install "libtemplate-plugin-datetime-perl" package

This guide let you learn how to install libtemplate-plugin-datetime-perl on Ubuntu 21.10 (Impish Indri)

$ sudo apt update $ sudo apt install libtemplate-plugin-datetime-perl

2. Uninstall "libtemplate-plugin-datetime-perl" package

Please follow the instructions below to uninstall libtemplate-plugin-datetime-perl on Ubuntu 21.10 (Impish Indri):

$ sudo apt remove libtemplate-plugin-datetime-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libtemplate-plugin-datetime-perl package on Ubuntu 21.10 (Impish Indri)

Package: libtemplate-plugin-datetime-perl
Architecture: all
Version: 0.06002-1.1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 22
Depends: perl:any, libdatetime-format-strptime-perl, libdatetime-perl, libtemplate-perl
Filename: pool/universe/libt/libtemplate-plugin-datetime-perl/libtemplate-plugin-datetime-perl_0.06002-1.1_all.deb
Size: 6136
MD5sum: ba209cdaac46eddb23c0b9cb1b57bfa6
SHA1: fb0c45af9dd88445e2e5a00054824ac532aad763
SHA256: 55103d332b6645bc1eabf9489b52bf9d1b009a346d41d11a23b8007b96c59d7c
SHA512: 0946962aa0cacbd6a006ca0367364dd7ee909058a3a29d27c01168582969e4eb3381e3a08c72065034ee3f111d8cf3af75b7a053960df38c62149ba65b2ab403
Homepage: https://metacpan.org/release/Template-Plugin-DateTime
Description-en: 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');
Description-md5: e41cfa70cefbad457075dc1d150b289e