[Koha-bugs] [Bug 28258] New: Bad date formatting in AUTO_RENEWALS notice

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Apr 28 21:11:37 CEST 2021


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

            Bug ID: 28258
           Summary: Bad date formatting in AUTO_RENEWALS notice
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: Notices
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
        QA Contact: testopia at bugs.koha-community.org

Bug 24378 updated the AUTO_RENEWALS notice to formate the date as a due date,
however, it seem to have an error:

[% checkout.date_due as_due_date => 1 %] 

Generates an error:
ERROR PROCESSING TEMPLATE: file error - parse error - input text line 18:
unexpected token (as_due_date)
  [% checkout.date_due as_due_date => 1 %] at test.pl line 18.


I think it should be:
[% checkout.date_due | $KohaDates as_due_date => 1%]

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list