ports/107103: patch to fix local timezone in devel/p5-DateTime-TimeZone

Steve Wills steve at stevenwills.com
Fri Dec 22 16:50:17 UTC 2006


>Number:         107103
>Category:       ports
>Synopsis:       patch to fix local timezone in devel/p5-DateTime-TimeZone
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Dec 22 16:50:17 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Steve Wills
>Release:        6.2-PRERELEASE
>Organization:
>Environment:
>Description:
The "local" timezone in p5-DateTime-TimeZone is documented to figure out the time zone from the local system timezone. It should work, but there's a slight problem. This patch fixes it.
>How-To-Repeat:
Try to use the "local" timezone:
my $dt = DateTime->now(time_zone => "local");

>Fix:
See attached patch, which makes Local.pm skip the "posixrules" file (whatever that is...).

Patch attached with submission follows:

build.oasys.local
dev.oasysmobile.com
dev56.oasys.local
exchange.oasys.local
fileserver.oasys.local
gameserver.oasys.local
intranet.oasys.local
ldev1.dev.summus.com
newbackup.oasys.local
svn.dev.summus.com
tempdc.oasys.local

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list