https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=37796

--- Comment #13 from Marcel de Rooy <[email protected]> ---
What happens where, is not that trivial in the Serials module..
The commit message says:
"When the patter is translated ot words, we need to do this from the date of
the next issue, so we must pass in the next published date"

GetNextSeq used planneddate before:
-        my $dt = dt_from_string($planneddate);
+        my $dt = dt_from_string($nextpublisheddate);

But the planneddate passed was $expected->{publisheddate} coming from the
GetNextExpected sub. Which uses:
 $nextissue->{$_} //= strftime( '%Y-%m-%d', localtime );

Could you please explain how this went wrong previously? The planneddate comes
from a date field in the serial table or is defaulted to a ISO date.

Wondering if we solve the issue in the right place?

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to