[Koha-bugs] [Bug 22007] KohaDates output does not need to be html filtered
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Sat Dec 15 03:58:05 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22007
--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 83248
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83248&action=edit
Bug 22007: Remove html filters when KohaDates called with a parameter
Bug 13618 took care of the KohaDates output but not if it is called
with a parameter (eg. [% var | $KohaDates with_hours => 1 %]).
We could avoid unnecessary processing by removing the extra html filter.
Patch generated with the following command:
% perl -p -i -e 's/KohaDates([^%\|]*)\s?\|\s?html\s?/KohaDates $1/g' **/*.inc
**/*.tt
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list