From 0820d890b29f688ee2d7221d6662cf78752130f9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Thu, 12 Nov 2015 10:47:09 +0100 Subject: [PATCH] Bug 14969: (followup) Today's date withoute time when receiving To test: Change status of a serial from Expected to Received, today's date in column "Expected" should appear without time. Signed-off-by: Jonathan Druart Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- serials/serials-edit.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/serials/serials-edit.pl b/serials/serials-edit.pl index efd9c78295..309527ea4a 100755 --- a/serials/serials-edit.pl +++ b/serials/serials-edit.pl @@ -128,7 +128,8 @@ my ( $template, $loggedinuser, $cookie ) = get_template_and_user( my @serialdatalist; my %processedserialid; -my $today = output_pref( dt_from_string ); +my $today = output_pref( { dt => dt_from_string, dateonly => 1 } ); + foreach my $serialid (@serialids) { #filtering serialid for duplication -- 2.39.5