[Bps-public-commit] r19883 - Net-Google-Code/trunk/lib/Net/Google/Code/Issue

sunnavy at bestpractical.com sunnavy at bestpractical.com
Thu Jun 4 01:47:20 EDT 2009


Author: sunnavy
Date: Thu Jun  4 01:47:20 2009
New Revision: 19883

Modified:
   Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm

Log:
tweak edge condition

Modified: Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm
==============================================================================
--- Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm	(original)
+++ Net-Google-Code/trunk/lib/Net/Google/Code/Issue/Search.pm	Thu Jun  4 01:47:20 2009
@@ -42,14 +42,14 @@
     if (@entries) {
         my $min_updated =
           Net::Google::Code::DateTime->new_from_string( $entries[-1]->updated );
-        if ( $min_updated <= $after ) {
+        if ( $min_updated < $after ) {
 
             # yeah! we can get all the results by parsing the feed
             my %seen;
             for my $entry (@entries) {
                 my $updated = Net::Google::Code::DateTime->new_from_string(
                     $entry->updated );
-                next unless $updated > $after;
+                next unless $updated >= $after;
                 if ( $entry->title =~ /issue\s+(\d+)/i ) {
                     next if $seen{$1}++;
                     push @results,



More information about the Bps-public-commit mailing list