[Koha-bugs] [Bug 21824] Add ability to format dates in various formats in templates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 5 20:30:02 CEST 2019


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

--- Comment #16 from Bouzid Fergani <bouzid.fergani at inlibro.com> ---
Created attachment 91355
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91355&action=edit
Bug 21824: Add ability to format dates in various formats in templates

This patch adds the ability to set a date format for the Template Toolkit
filter KohaDates

Test plan:
1) Apply this patch
2) In a template, use the filter param "dateformat => 'iso'"
3) Note the output is in ISO format

Signed-off-by: Owen Leonard <oleonard at myacpl.org>

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


More information about the Koha-bugs mailing list