FreeBSD Bugzilla – Attachment 144010 Details for
Bug 191258
[PATCH] devel/p5-BZ-Client: Fix Broken ISO8601 date format, take maintainership
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for p5-BZ-Client
p5-BZ-CLient-1.04_1.patch (text/plain), 1.65 KB, created by
Muhammad Moinur Rahman
on 2014-06-21 23:03:48 UTC
(
hide
)
Description:
patch for p5-BZ-Client
Filename:
MIME Type:
Creator:
Muhammad Moinur Rahman
Created:
2014-06-21 23:03:48 UTC
Size:
1.65 KB
patch
obsolete
>diff -ruN /usr/ports//devel/p5-BZ-Client/Makefile ./Makefile >--- /usr/ports//devel/p5-BZ-Client/Makefile 2013-10-27 21:12:16.000000000 +0600 >+++ ./Makefile 2014-06-22 04:54:38.342970907 +0600 >@@ -3,14 +3,18 @@ > > PORTNAME= BZ-Client > PORTVERSION= 1.04 >+PORTREVISION= 1 > CATEGORIES= devel perl5 > MASTER_SITES= CPAN > MASTER_SITE_SUBDIR= CPAN:JWIED > PKGNAMEPREFIX= p5- > >-MAINTAINER= perl@FreeBSD.org >+MAINTAINER= 5u623l20@gmail.com > COMMENT= Client for the Bugzilla web services API > >+LICENSE= ART10 GPLv1 >+LICENSE_COMB= dual >+ > BUILD_DEPENDS= p5-XML-Parser>=0:${PORTSDIR}/textproc/p5-XML-Parser \ > p5-XML-Writer>=0:${PORTSDIR}/textproc/p5-XML-Writer \ > p5-URI>=0:${PORTSDIR}/net/p5-URI >diff -ruN /usr/ports//devel/p5-BZ-Client/files/patch-lib-BZ-Client-XMLRPC-Value.pm ./files/patch-lib-BZ-Client-XMLRPC-Value.pm >--- /usr/ports//devel/p5-BZ-Client/files/patch-lib-BZ-Client-XMLRPC-Value.pm 1970-01-01 06:00:00.000000000 +0600 >+++ ./files/patch-lib-BZ-Client-XMLRPC-Value.pm 2014-06-22 04:57:16.474918520 +0600 >@@ -0,0 +1,15 @@ >+--- lib/BZ/Client/XMLRPC/Value.pm.orig 2014-06-22 04:55:15.521928171 +0600 >++++ lib/BZ/Client/XMLRPC/Value.pm 2014-06-22 04:56:11.104922485 +0600 >+@@ -71,7 +71,11 @@ >+ $self->{'level1_content'} = undef; >+ $self->{'level1_elem'} = undef; >+ if ("dateTime.iso8601" eq $name) { >+- $self->{'result'} = DateTime::Format::ISO8601->parse_datetime( $self->{'result'} ); >++ my $val = $self->{'result'}; >++ if ($val =~ /(\d\d\d\d)(\d\d)(\d\d)(T\d\d:\d\d:\d\d)/) { >++ $val = "$1-$2-$3$4"; >++ } >++ $self->{'result'} = DateTime::Format::ISO8601->parse_datetime( $val ); >+ } >+ } >+ }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 191258
: 144010