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;
my @lines = ();
# build header ...
- my @keys = qw /duedate title author borrowertitle name phone barcode email address address2 zipcode city country
+ my @keys = qw /duedate title author borrowertitle firstname surname phone barcode email address address2 zipcode city country
branchcode itemcallnumber biblionumber borrowernumber itemnum issuedate replacementprice streetnumber streettype/;
my $csv = Text::CSV_XS->new();
$csv->combine(@keys);