[libdatetime-timezone-perl] 01/09: In blead infinity is now "Inf" instead of "inf", apparently

gregor herrmann gregoa at debian.org
Wed Apr 15 19:03:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to annotated tag v1.82
in repository libdatetime-timezone-perl.

commit a74cb35142b59fe90d5a266dfeb00a857216442c
Author: Dave Rolsky <autarch at urth.org>
Date:   Sat Nov 22 15:52:14 2014 -0600

    In blead infinity is now "Inf" instead of "inf", apparently
---
 tools/parse_olson | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tools/parse_olson b/tools/parse_olson
index 56449f3..99ff0f1 100755
--- a/tools/parse_olson
+++ b/tools/parse_olson
@@ -189,8 +189,8 @@ sub parse_file {
 
         my $spans = serialize_spans( zone_as_spans($zone) );
 
-        $spans =~ s/-inf/DateTime::TimeZone::NEG_INFINITY/g;
-        $spans =~ s/inf/DateTime::TimeZone::INFINITY/g;
+        $spans =~ s/-inf/DateTime::TimeZone::NEG_INFINITY/gi;
+        $spans =~ s/inf/DateTime::TimeZone::INFINITY/gi;
 
         $spans =~ s/('(?:start|end)_date'\s+=>\s+)'(\d+)'/$1$2/g;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libdatetime-timezone-perl.git



More information about the Pkg-perl-cvs-commits mailing list