@@ -, +, @@ $estimateddeliverydate = "$year-$month-$day"; --- acqui/basket.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/acqui/basket.pl +++ a/acqui/basket.pl @@ -312,7 +312,7 @@ if ( $op eq 'delete_confirm' ) { if( $basket->{closedate} ) { my ($year, $month, $day) = ($basket->{closedate} =~ /(\d+)-(\d+)-(\d+)/); ($year, $month, $day) = Add_Delta_Days($year, $month, $day, $bookseller->{deliverytime}); - $estimateddeliverydate = "$year-$month-$day"; + $estimateddeliverydate = sprintf( "%04d-%02d-%02d", $year, $month, $day ); } # if new basket, pre-fill infos --