Fixes concerning the bug 929 introduced in a few pages the use of a Template Toolkit filter.
Now with a TT update looking like...
[% USE KohaDates %]
[% somevariable | $KohaDates %]
... it's possible to format a date according to the system preferences in an efficient way.
Bug 7444 suggests to use this everywhere on Koha.
This bug will simply remove the C4::Dates call in two pages where the filters are now being used (since bug 929), making this call useless (spent.pl and ordered.pl).
Created attachment 8274 [details] [review]
proposed patch #1
Removes C4::Dates in sent.pl and ordered.pl
Created attachment 8320 [details] [review]
[PASSED QA] Bug 7735: removal of C4::Dates when unused
Removes use of C4::Dates in acqui/ordered.pl and acqui/spent.pl
Signed-off-by: Ian Walls <email@example.com>
Pages are fine without these dependencies; tested by loading both on staff client and command line.
Marking Signed Off and Passed QA in one go.
There have been no further reports of problems so I am marking this bug resolved.