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 159399 Details for
Bug 248500
perl-DateManip can not determine non-USA local timezone
[?]
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]
Patch for also running 'date +%z' which solve the bug
DateManip-international-timezones.patch (text/plain), 1.04 KB, created by
Oliver Schulze L.
on 2007-07-17 05:41:05 UTC
(
hide
)
Description:
Patch for also running 'date +%z' which solve the bug
Filename:
MIME Type:
Creator:
Oliver Schulze L.
Created:
2007-07-17 05:41:05 UTC
Size:
1.04 KB
patch
obsolete
>--- /usr/lib/perl5/vendor_perl/5.8.5/Date/Manip.pm.ori 2003-07-02 12:42:47.000000000 -0400 >+++ /usr/lib/perl5/vendor_perl/5.8.5/Date/Manip.pm 2007-07-17 01:19:01.000000000 -0400 >@@ -3399,6 +3399,7 @@ > $tz=$ENV{'SYS$TIMEZONE_DIFFERENTIAL'}/3600.; # e.g. '-4' for EDT > } > } >+ push(@tz,$tz); > } else { > $tz=`date +%Z 2> /dev/null`; > chomp($tz); >@@ -3407,8 +3408,14 @@ > chomp($tz); > $tz=(split(/\s+/,$tz))[4]; > } >+ push(@tz,$tz); >+ # for international timezones >+ $tz=`date +%z 2> /dev/null`; >+ chomp($tz); >+ if ($tz) { >+ push(@tz,$tz); >+ } > } >- push(@tz,$tz); > } else { > # We need to satisfy taint checking, but also look in all the > # directories in @DatePath. >@@ -3423,6 +3430,12 @@ > $tz=(split(/\s+/,$tz))[4]; > } > push(@tz,$tz); >+ # for international timezones >+ $tz=`date +%z 2> /dev/null`; >+ chomp($tz); >+ if ($tz) { >+ push(@tz,$tz); >+ } > } > } >
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 248500
:
159398
| 159399