@@ -, +, @@ Failed test 'Hold is suspended with a date, truncation takes place automatically' at Hold.t line 94. got: '2018-03-22' expected: '2018-03-22T00:00:00' Same as $dt->ymd('-') . 'T' . $dt->hms(':') --- Koha/Hold.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/Koha/Hold.pm +++ a/Koha/Hold.pm @@ -92,7 +92,7 @@ sub suspend_hold { $self->suspend(1); if ( defined $dt ){ - $self->suspend_until( $dt->ymd ); + $self->suspend_until( $dt->datetime ); } else { $self->suspend_until( $dt ); } --