[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 13:16:44 CET 2023


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

--- Comment #4 from Kyle M Hall <kyle at bywatersolutions.com> ---
(In reply to Martin Renvoize from comment #1)
> 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.

I think both this bug and bug 33029 can live in harmony. This would be the
"easy" mode to bug 33029's "advanced" mode.

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


More information about the Koha-bugs mailing list