DateTime::Format::Flexible attempts to take any string you give it

and parse it into a DateTime object. The test file tests 2500+
variations of date/time strings.

WWW: http://search.cpan.org/dist/DateTime-Format-Flexible/

PR:		ports/135939 (4 of 6)
Submitted by:	Cezary Morga <cm at therek.net>
This commit is contained in:
Philip M. Gollucci 2009-07-14 17:39:36 +00:00
parent 68fa655cc3
commit 3ed3ef1c7f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=237805
9 changed files with 43 additions and 0 deletions

View file

@ -1254,6 +1254,7 @@
SUBDIR += p5-DateTime-Format-Duration
SUBDIR += p5-DateTime-Format-Epoch
SUBDIR += p5-DateTime-Format-Excel
SUBDIR += p5-DateTime-Format-Flexible
SUBDIR += p5-DateTime-Format-HTTP
SUBDIR += p5-DateTime-Format-IBeat
SUBDIR += p5-DateTime-Format-ICal

View file

@ -0,0 +1,27 @@
# New ports collection makefile for: devel/p5-DateTime-Format-Flexible
# Date created: 23 Jun 2009
# Whom: Cezary Morga <cm@therek.net>
#
# $FreeBSD$
#
PORTNAME= DateTime-Format-Flexible
PORTVERSION= 0.09
CATEGORIES= devel perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
MAINTAINER= cm@therek.net
COMMENT= Flexibly parse strings and turn them into DateTime objects
RUN_DEPENDS= p5-DateTime>=0:${PORTSDIR}/devel/p5-DateTime \
p5-DateTime-Format-Builder>=0.74:${PORTSDIR}/devel/p5-DateTime-Format-Builder \
p5-DateTime-TimeZone>=0:${PORTSDIR}/devel/p5-DateTime-TimeZone \
p5-Readonly>=0.06:${PORTSDIR}/devel/p5-Readonly
BUILD_DEPENDS= ${RUN_DEPENDS}
PERL_CONFIGURE= yes
MAN3= DateTime::Format::Flexible.3
.include <bsd.port.mk>

View file

@ -0,0 +1,3 @@
MD5 (DateTime-Format-Flexible-0.09.tar.gz) = e7b7c8089f3da5c3872ae97028e06390
SHA256 (DateTime-Format-Flexible-0.09.tar.gz) = 7b512b5a0f0c00cc95d829addd061f47f27142d39e4e3594391149f97758fc17
SIZE (DateTime-Format-Flexible-0.09.tar.gz) = 55474

View file

@ -0,0 +1,5 @@
DateTime::Format::Flexible attempts to take any string you give it
and parse it into a DateTime object. The test file tests 2500+
variations of date/time strings.
WWW: http://search.cpan.org/dist/DateTime-Format-Flexible/

View file

@ -0,0 +1,7 @@
%%SITE_PERL%%/DateTime/Format/Flexible.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Flexible/.packlist
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format/Flexible
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime/Format
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/DateTime
@dirrmtry %%SITE_PERL%%/DateTime/Format
@dirrmtry %%SITE_PERL%%/DateTime