View | Details | Raw Unified | Return to bug 40159
Collapse All | Expand All

(-)a/serials/showpredictionpattern.pl (-4 / +3 lines)
Lines 155-168 while ( $i < 1000 ) { Link Here
155
            last;
155
            last;
156
        } elsif ( $subtype eq "weeks"
156
        } elsif ( $subtype eq "weeks"
157
            && $date
157
            && $date
158
            && Delta_Days( split( /-/, $date ), Add_Delta_Days( split( /-/, $firstacquidate ), 7 * $sublength - 1 ) ) <
158
            && Delta_Days( split( /-/, $date ), Add_Delta_Days( split( /-/, $nextacquidate ), 7 * $sublength - 1 ) ) <
159
            0 )
159
            0 )
160
        {
160
        {
161
            last;
161
            last;
162
        } elsif ( $subtype eq "months"
162
        } elsif ( $subtype eq "months"
163
            && $date
163
            && $date
164
            && ( Delta_Days( split( /-/, $date ), Add_Delta_YM( split( /-/, $firstacquidate ), 0, $sublength ) ) - 1 )
164
            && ( Delta_Days( split( /-/, $date ), Add_Delta_YM( split( /-/, $nextacquidate ), 0, $sublength ) ) - 1 ) <
165
            < 0 )
165
            0 )
166
        {
166
        {
167
            last;
167
            last;
168
        }
168
        }
169
- 

Return to bug 40159