https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28632 --- Comment #8 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- We could have a t::lib::Compare module (we already have t::lib::Dates::compare), with a t::lib::Compare::hashrefs subroutine. It will deeply compare the 2 hashrefs passed in parameter. With a 'skip' option we could pass a list of keys to skip. As it does not answer your need, we may better have a 'datatype' option with a list of key to treat as dates. t::lib::Compare::hashrefs($hashref1, $hashref2, { datatype => { updated_on => 'date' } } ) We loop over the keys and when we find 'updated_on' we compare using t::lib::Compare::Dates. What do you think? -- You are receiving this mail because: You are watching all bug changes.