libtemplate-plugin-datetime-format-perl 0.03-2 source package in Ubuntu
Changelog
libtemplate-plugin-datetime-format-perl (0.03-2) unstable; urgency=medium [ gregor herrmann ] * Update Test::use::ok build dependency. [ Salvatore Bonaccorso ] * debian/control: Use HTTPS transport protocol for Vcs-Git URI [ gregor herrmann ] * debian/copyright: change Copyright-Format 1.0 URL to HTTPS. [ Salvatore Bonaccorso ] * Update Vcs-* headers for switch to salsa.debian.org [ gregor herrmann ] * debian/watch: use uscan version 4. -- Jelmer Vernooij <email address hidden> Fri, 17 Jun 2022 11:31:07 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | perl | |
Noble | release | universe | perl | |
Mantic | release | universe | perl | |
Lunar | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libtemplate-plugin-datetime-format-perl_0.03-2.dsc | 2.4 KiB | 22573cb076137d45b0bd02c58f3f749264e2eef527941d9171620058aa6da051 |
libtemplate-plugin-datetime-format-perl_0.03.orig.tar.gz | 10.1 KiB | 970d16cc70bbb2e60a4e94b04e87c1d30829cfdb65a8bde6df63167947af9968 |
libtemplate-plugin-datetime-format-perl_0.03-2.debian.tar.xz | 2.2 KiB | 4a0a08b6db713e9942120514200d29d2bbef1529467f47925054498d37e53e5b |
Available diffs
- diff from 0.03-1.1 to 0.03-2 (1.3 KiB)
No changes file available.
Binary packages built by this source
- libtemplate-plugin-datetime-format-perl: module for formatting DateTime objects from TT with DateTime::Format
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.