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 934401 Details for
Bug 1138185
perl-MooseX-Types-DateTime-ButMaintained-0.16-6.fc22 FTBFS: ''local' timezone worked' t/03_local_floating.t test fails
[?]
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
MooseX-Types-DateTime-ButMaintained-0.16-Accept-DateTime-TimeZone-Tzfile-object-in-place-of-D.patch (text/plain), 1.64 KB, created by
Petr Pisar
on 2014-09-04 12:51:12 UTC
(
hide
)
Description:
Fix
Filename:
MIME Type:
Creator:
Petr Pisar
Created:
2014-09-04 12:51:12 UTC
Size:
1.64 KB
patch
obsolete
>From c53d6ce32d2e4420fcac3f2d68547c3b07e4fce6 Mon Sep 17 00:00:00 2001 >From: =?UTF-8?q?Petr=20P=C3=ADsa=C5=99?= <ppisar@redhat.com> >Date: Thu, 4 Sep 2014 14:02:55 +0200 >Subject: [PATCH] Accept DateTime::TimeZone::Tzfile object in place of > DateTime::TimeZone >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >After fixing <https://bugzilla.redhat.com/show_bug.cgi?id=1135981> by >returning DateTime::TimeZone::Tzfile, we need to allow this class in >this library. > >https://bugzilla.redhat.com/show_bug.cgi?id=1138185 >Signed-off-by: Petr PÃsaÅ <ppisar@redhat.com> >--- > lib/MooseX/Types/DateTime/ButMaintained.pm | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/lib/MooseX/Types/DateTime/ButMaintained.pm b/lib/MooseX/Types/DateTime/ButMaintained.pm >index 458d9a5..44bf3aa 100644 >--- a/lib/MooseX/Types/DateTime/ButMaintained.pm >+++ b/lib/MooseX/Types/DateTime/ButMaintained.pm >@@ -10,7 +10,7 @@ use DateTime::Locale (); > use DateTime::TimeZone (); > use Olson::Abbreviations 0.03 qw(); > >-use MooseX::Types::Moose 0.30 qw/Num HashRef Str/; >+use MooseX::Types::Moose 0.30 qw/Num HashRef Str Object/; > > use MooseX::Types 0.30 -declare => [qw( DateTime Duration TimeZone Locale Now )]; > >@@ -23,7 +23,9 @@ class_type "DateTime::Locale::root" => { name => "DateTime::Locale" }; > > subtype DateTime, as 'DateTime'; > subtype Duration, as 'DateTime::Duration'; >-subtype TimeZone, as 'DateTime::TimeZone'; >+subtype TimeZone, as Object, where { >+ $_->isa('DateTime::TimeZone') || $_->isa('DateTime::TimeZone::Tzfile') >+}; > subtype Locale, as 'DateTime::Locale'; > > subtype( Now, as Str, where { $_ eq 'now' }, >-- >1.9.3 >
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 1138185
: 934401