Date: Fri, 22 Dec 2006 16:45:29 GMT From: Steve Wills<steve@stevenwills.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/107103: patch to fix local timezone in devel/p5-DateTime-TimeZone Message-ID: <200612221645.kBMGjTMG008642@www.freebsd.org> Resent-Message-ID: <200612221650.kBMGoHrD040263@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612221645.kBMGjTMG008642>