[Koha-bugs] [Bug 33242] Allow passing things like add_days => 3 to KohaDates filter

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 16 10:50:39 CET 2023


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

--- Comment #1 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Ack, I'm torn now.

I can see the utility of a dt method allowing us full access to dt functions
from the template..  but I also love the idea of the 'pretty' syntax we could
introduce with this approach.. `[% checkout.issuesdate | $KohaDates add => "3
days" %]`.. I'm overthinking.

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


More information about the Koha-bugs mailing list