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

(-)a/t/db_dependent/Members/IssueSlip.t (-3 / +2 lines)
Lines 250-256 EOS Link Here
250
        $date_due_in_time_as_formatted = output_pref( $date_due_in_time );
250
        $date_due_in_time_as_formatted = output_pref( $date_due_in_time );
251
        $issue_date = $date_due_in_time->clone->subtract_duration( DateTime::Duration->new( minutes => 1 ) );
251
        $issue_date = $date_due_in_time->clone->subtract_duration( DateTime::Duration->new( minutes => 1 ) );
252
        AddIssue( $borrower, $barcode1, $date_due_in_time, undef, $issue_date );
252
        AddIssue( $borrower, $barcode1, $date_due_in_time, undef, $issue_date );
253
        $date_due_in_late = $today->clone->set(hour => $today->hour - 1);
253
        $date_due_in_late = $today->clone->subtract( hours => 1 );
254
        $date_due_in_late_as_formatted = output_pref( $date_due_in_late );
254
        $date_due_in_late_as_formatted = output_pref( $date_due_in_late );
255
        $issue_date = $yesterday->clone;
255
        $issue_date = $yesterday->clone;
256
        AddIssue( $borrower, $barcode2, $date_due_in_late, undef, $issue_date );
256
        AddIssue( $borrower, $barcode2, $date_due_in_late, undef, $issue_date );
Lines 374-380 EOS Link Here
374
        $date_due_in_time_as_formatted = output_pref( $date_due_in_time );
374
        $date_due_in_time_as_formatted = output_pref( $date_due_in_time );
375
        $issue_date = $date_due_in_time->clone->subtract_duration( DateTime::Duration->new( minutes => 1 ) );
375
        $issue_date = $date_due_in_time->clone->subtract_duration( DateTime::Duration->new( minutes => 1 ) );
376
        AddIssue( $borrower, $barcode1, $date_due_in_time, undef, $issue_date );
376
        AddIssue( $borrower, $barcode1, $date_due_in_time, undef, $issue_date );
377
        $date_due_in_late = $today->clone->set(hour => $today->hour - 1);
377
        $date_due_in_late = $today->clone->subtract( hours => 1 );
378
        $date_due_in_late_as_formatted = output_pref( $date_due_in_late );
378
        $date_due_in_late_as_formatted = output_pref( $date_due_in_late );
379
        $issue_date = $yesterday->clone;
379
        $issue_date = $yesterday->clone;
380
        AddIssue( $borrower, $barcode2, $date_due_in_late, undef, $issue_date );
380
        AddIssue( $borrower, $barcode2, $date_due_in_late, undef, $issue_date );
381
- 

Return to bug 18009