diff options
author | adrianp <adrianp> | 2007-11-04 15:08:44 +0000 |
---|---|---|
committer | adrianp <adrianp> | 2007-11-04 15:08:44 +0000 |
commit | 70818ae82e7b9df23224c8bb98fc064677fb8b49 (patch) | |
tree | 1315c72c273b1cadd0d4f5494a06bc6dc40701e4 /time | |
parent | 4ec32ccd698f1b5623a22bf09c6739d8337418c0 (diff) | |
download | pkgsrc-70818ae82e7b9df23224c8bb98fc064677fb8b49.tar.gz |
Time::Format version 1.02
=========================
Time::Format provides a very easy way to format dates and times. The
formatting functions are tied to hash variables, so they can be used
inside strings as well as in ordinary expressions. The formatting
codes used are meant to be easy to remember, use, and read. They
follow a simple, consistent pattern. If I've done my job right, once
you learn the codes, you should never have to refer to the
documentation again. A quick-reference page is included, just in
case. ;-)
Time::Format can also format DateTime objects, and strings created
with Date::Manip.
Also provided is a tied-hash interface to POSIX::strftime and
Date::Manip::UnixDate.
Diffstat (limited to 'time')
-rw-r--r-- | time/p5-Time-Format/DESCR | 17 | ||||
-rw-r--r-- | time/p5-Time-Format/Makefile | 19 | ||||
-rw-r--r-- | time/p5-Time-Format/PLIST | 1 | ||||
-rw-r--r-- | time/p5-Time-Format/distinfo | 5 |
4 files changed, 42 insertions, 0 deletions
diff --git a/time/p5-Time-Format/DESCR b/time/p5-Time-Format/DESCR new file mode 100644 index 00000000000..f8c30fe8359 --- /dev/null +++ b/time/p5-Time-Format/DESCR @@ -0,0 +1,17 @@ +Time::Format provides a very easy way to format dates and times. The +formatting functions are tied to hash variables, so they can be used +inside strings as well as in ordinary expressions. The formatting +codes used are meant to be easy to remember, use, and read. They +follow a simple, consistent pattern. If I've done my job right, once +you learn the codes, you should never have to refer to the +documentation again. A quick-reference page is included, just in +case. ;-) + +Time::Format can also format DateTime objects, and strings created +with Date::Manip. + +Also provided is a tied-hash interface to POSIX::strftime and +Date::Manip::UnixDate. + +If the I18N::Langinfo module is available, Time::Format provides +weekday and month names in a language appropriate for your locale. diff --git a/time/p5-Time-Format/Makefile b/time/p5-Time-Format/Makefile new file mode 100644 index 00000000000..37aa7770296 --- /dev/null +++ b/time/p5-Time-Format/Makefile @@ -0,0 +1,19 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/11/04 15:08:44 adrianp Exp $ +# + +DISTNAME= Time-Format-1.02 +PKGNAME= p5-${DISTNAME} +CATEGORIES= time +MASTER_SITES= http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/ + +MAINTAINER= adrianp@NetBSD.org +HOMEPAGE= http://search.cpan.org/CPAN/authors/id/R/RO/ROODE/ +COMMENT= Easy-to-use date/time formatting + +DEPENDS+= p5-Test-Simple>=0.40:../../devel/p5-Test-Simple + +PERL5_PACKLIST= auto/Time/Format/.packlist +USE_LANGUAGES= # none + +.include "../../lang/perl5/module.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/time/p5-Time-Format/PLIST b/time/p5-Time-Format/PLIST new file mode 100644 index 00000000000..e0c4266031f --- /dev/null +++ b/time/p5-Time-Format/PLIST @@ -0,0 +1 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/11/04 15:08:44 adrianp Exp $ diff --git a/time/p5-Time-Format/distinfo b/time/p5-Time-Format/distinfo new file mode 100644 index 00000000000..37b1e1c2c37 --- /dev/null +++ b/time/p5-Time-Format/distinfo @@ -0,0 +1,5 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/11/04 15:08:44 adrianp Exp $ + +SHA1 (Time-Format-1.02.tar.gz) = 8088d5ddafcc0700ebed035c41dc18d46ded6372 +RMD160 (Time-Format-1.02.tar.gz) = 96c6f519480f3de8543ec145610502df2c53dfb3 +Size (Time-Format-1.02.tar.gz) = 39060 bytes |