mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
This module is a compatibility wrapper around Date::Parse.
Provides a tool to process different combinations of dates and zones values. If a date doesn't contain a timezone suffix, and zone parameter is not set, then the timezone of the returned DateTime object will be set to the local timezone. This is consistent with the behavior of Date::Parse. If no zone is specified and the date string does specify a timezone/offset or if a zone format can not be parsed by DateTime::TimeZone, the returned DateTime object will have UTC timezone. WWW: http://search.cpan.org/dist/DateTime-Format-DateParse/ PR: ports/124852 Submitted by: svysh at pn.sinp.msu.ru
This commit is contained in:
parent
d2161a96ba
commit
3b483331a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=215882
@ -1156,6 +1156,7 @@
|
||||
SUBDIR += p5-DateTime-Format-Builder
|
||||
SUBDIR += p5-DateTime-Format-DBI
|
||||
SUBDIR += p5-DateTime-Format-DateManip
|
||||
SUBDIR += p5-DateTime-Format-DateParse
|
||||
SUBDIR += p5-DateTime-Format-Duration
|
||||
SUBDIR += p5-DateTime-Format-Epoch
|
||||
SUBDIR += p5-DateTime-Format-Excel
|
||||
|
25
devel/p5-DateTime-Format-DateParse/Makefile
Normal file
25
devel/p5-DateTime-Format-DateParse/Makefile
Normal file
@ -0,0 +1,25 @@
|
||||
# New ports collection makefile for: p5-DateTime-Format-DateParse
|
||||
# Date created: 21 Jun 2008
|
||||
# Whom: svysh@pn.sinp.msu.ru
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= DateTime-Format-DateParse
|
||||
PORTVERSION= 0.04
|
||||
CATEGORIES= devel perl5
|
||||
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
|
||||
MASTER_SITE_SUBDIR= DateTime
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
||||
MAINTAINER= svysh@pn.sinp.msu.ru
|
||||
COMMENT= This module is a compatibility wrapper around Date::Parse
|
||||
|
||||
BUILD_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DateTime.pm:${PORTSDIR}/devel/p5-DateTime \
|
||||
${SITE_PERL}/Date/Parse.pm:${PORTSDIR}/devel/p5-TimeDate
|
||||
|
||||
PERL_MODBUILD= yes
|
||||
|
||||
MAN3= DateTime::Format::DateParse.3
|
||||
|
||||
.include <bsd.port.mk>
|
3
devel/p5-DateTime-Format-DateParse/distinfo
Normal file
3
devel/p5-DateTime-Format-DateParse/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (DateTime-Format-DateParse-0.04.tar.gz) = e1b5dc9fd2ab9d10203f495ed113745f
|
||||
SHA256 (DateTime-Format-DateParse-0.04.tar.gz) = ec3f1bc7a6863f18c4c33f1ee12ded7a2469861042be5473b75a08c96716a7a8
|
||||
SIZE (DateTime-Format-DateParse-0.04.tar.gz) = 14504
|
11
devel/p5-DateTime-Format-DateParse/pkg-descr
Normal file
11
devel/p5-DateTime-Format-DateParse/pkg-descr
Normal file
@ -0,0 +1,11 @@
|
||||
This module is a compatibility wrapper around Date::Parse.
|
||||
|
||||
Provides a tool to process different combinations of dates and zones values.
|
||||
If a date doesn't contain a timezone suffix, and zone parameter is not set,
|
||||
then the timezone of the returned DateTime object will be set to the local
|
||||
timezone. This is consistent with the behavior of Date::Parse.
|
||||
If no zone is specified and the date string does specify a timezone/offset or
|
||||
if a zone format can not be parsed by DateTime::TimeZone, the returned
|
||||
DateTime object will have UTC timezone.
|
||||
|
||||
WWW: http://search.cpan.org/dist/DateTime-Format-DateParse/
|
4
devel/p5-DateTime-Format-DateParse/pkg-plist
Normal file
4
devel/p5-DateTime-Format-DateParse/pkg-plist
Normal file
@ -0,0 +1,4 @@
|
||||
%%SITE_PERL%%/DateTime/Format/DateParse.pm
|
||||
%%SITE_PERL%%/DateTime/Format/DateParse.pod
|
||||
@dirrmtry %%SITE_PERL%%/DateTime/Format
|
||||
@dirrmtry %%SITE_PERL%%/DateTime
|
Loading…
Reference in New Issue
Block a user