From ffc0097ed89deb1d35758d7a96eda4cb31c25fd3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?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. --- 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 efd9c78..309527e 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 -- 1.7.10.4