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

(-)a/Koha/Hold.pm (-2 / +1 lines)
Lines 624-630 sub _set_default_expirationdate { Link Here
624
      C4::Context->preference('DefaultHoldExpirationdateUnitOfTime') || 'days';
624
      C4::Context->preference('DefaultHoldExpirationdateUnitOfTime') || 'days';
625
625
626
    $self->expirationdate(
626
    $self->expirationdate(
627
        dt_from_string( $self->reservedate )->add( $timeunit => $period ) );
627
        dt_from_string( $self->reservedate )->add( $timeunit => $period )->strftime("%Y-%m-%d") );
628
}
628
}
629
629
630
=head3 _move_to_old
630
=head3 _move_to_old
631
- 

Return to bug 29192