[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
Wed Dec 5 17:54:48 CET 2018


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

Owen Leonard <oleonard at myacpl.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #82308|0                           |1
        is obsolete|                            |
  Attachment #82316|0                           |1
        is obsolete|                            |

--- Comment #3 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 82879
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=82879&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