Created attachment 3594 [details] [review] Proposed Patch
I tested this with following ODUE template: copyrightdate <<biblio.copyrightdate>> datecreated <<biblio.datecreated>> publicationyear <<biblioitems.publicationyear>> itemscontent <<items.content>> ./misc/cronjobs/overdue_notices.pl -v -itemscontent dateaccessioned, replacementpricedate, datelastborrowed, datelastseen, onloan Result: Illegal Date '1990-09-23' does not match 'us' format: mm/dd/yyyy at /home/katrin/kohaclone/C4/Letters.pm line 534 Illegal Date '2020-12-31' does not match 'us' format: mm/dd/yyyy at /home/katrin/kohaclone/C4/Letters.pm line 534 Illegal Date '1958-05-30' does not match 'us' format: mm/dd/yyyy at /home/katrin/kohaclone/C4/Letters.pm line 534 Use of uninitialized value $fine in string at ./misc/cronjobs/overdue_notices.pl line 676. Illegal Date '1973' does not match 'us' format: mm/dd/yyyy at /home/katrin/kohaclone/C4/Letters.pm line 534 Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at /home/katrin/kohaclone/C4/Letters.pm line 534 Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at /home/katrin/kohaclone/C4/Letters.pm line 534 Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at /home/katrin/kohaclone/C4/Letters.pm line 534 Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at /home/katrin/kohaclone/C4/Letters.pm line 534 Illegal Date '2011-07-17' does not match 'us' format: mm/dd/yyyy at /home/katrin/kohaclone/C4/Letters.pm line 534 Message created: copyrightdate datecreated publicationyear itemscontent 07/17/2011 For comparison, output BEFORE applying patch: copyrightdate 1973 datecreated 2011-07-17 publicationyear itemscontent 07/17/2011
*** This bug has been marked as a duplicate of bug 11244 ***