sub build_issue_data {
my $issues = shift;
my $return;
my $return = [];
my $today = DateTime->now( time_zone => C4::Context->tz );
$today->truncate( to => 'day' );
-