http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8154 Ian Walls <koha.sekjal@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|Signed Off |Failed QA CC| |koha.sekjal@gmail.com --- Comment #5 from Ian Walls <koha.sekjal@gmail.com> --- Reformats the datetime in issue->{returndate} into iso-formatted date. Uses C4::Dates, rather than DateTime, though, which we're looking to phase out. if ( ($input->param('op') eq 'export_barcodes') and ($today eq C4::Dates->new( $issue->{'returndate'}, 'iso' )->output("iso")) ) { could be my $return_dt = Koha::DateUtils::dt_from_string($issue->{'returndate'}, 'iso'); if ( ($input->param('op') eq 'export_barcodes') and ($today eq $return_dt->ymd() ) { My initial testing shows this change should work, and it won't introduce a new dependence on C4::Dates we'll just have to replace later. -- You are receiving this mail because: You are watching all bug changes.