[Koha-bugs] [Bug 7806] Don't use 0000-00-00 to signal a non-existing date
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Mar 8 12:06:44 CET 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7806
--- Comment #30 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Andrew, resolve the conflict like that:
108 $patron->{dateexpiry} = undef;
109 my $d = C4::Circulation::CalcDateDue( $today, $item->{itype},
$branch->{branchcode}, $patron );
110 is( ref $d eq "DateTime" && $d->mdy() =~ /^\d+/, 1, "CalcDateDue with
expiry undef" );
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list