Bug 8251 - Follow up, use 'day' instead of 'days' for Datetime::truncate
[koha.git] / circ / overdue.pl
index 56e0941..e44e792 100755 (executable)
@@ -239,7 +239,7 @@ if ($noreport) {
 
 
     my $today_dt = DateTime->now(time_zone => C4::Context->tz);
-    $today_dt->truncate(to => 'minutes');
+    $today_dt->truncate(to => 'minute');
     my $todaysdate = $today_dt->strftime('%Y-%m-%d %H:%M');
 
     $bornamefilter =~s/\*/\%/g;