Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 716637 Details for
Bug 927999
Not compatible with current Bugzilla
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Fix
BZ-Client-1.04-Noncompliant-ISO-8601-date.patch (text/plain), 1.19 KB, created by
Petr Pisar
on 2013-03-26 16:30:01 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Petr Pisar
Created:
2013-03-26 16:30:01 UTC
Size:
1.19 KB
patch
obsolete
>From 3dd62e5447503537ff97cd64fe1ecdf1086647cb Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <petr.pisar@atlas.cz> >Date: Sat, 23 Mar 2013 20:23:29 +0100 >Subject: [PATCH] Noncompliant ISO-8601 date > >XML RPC allows YYYYMMDDTHH::MM:SS format. > ><https://rt.cpan.org/Public/Bug/Display.html?id=78467> ><https://bugzilla.mozilla.org/show_bug.cgi?id=550618> >--- > lib/BZ/Client/XMLRPC/Value.pm | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/lib/BZ/Client/XMLRPC/Value.pm b/lib/BZ/Client/XMLRPC/Value.pm >index 6f28f58..6610263 100755 >--- a/lib/BZ/Client/XMLRPC/Value.pm >+++ b/lib/BZ/Client/XMLRPC/Value.pm >@@ -71,7 +71,11 @@ sub end($$) { > $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 ); > } > } > } >-- >1.8.1.5 >
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 927999
: 716637