Bug 14969: (followup) Today's date withoute time when receiving
authorMarc Véron <veron@veron.ch>
Thu, 12 Nov 2015 09:47:09 +0000 (10:47 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 17 Nov 2015 18:35:57 +0000 (15:35 -0300)
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 <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

serials/serials-edit.pl

index efd9c78..309527e 100755 (executable)
@@ -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