[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:33:11 CEST 2019


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

Bouzid Fergani <bouzid.fergani at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #91355|0                           |1
        is obsolete|                            |

--- Comment #17 from Bouzid Fergani <bouzid.fergani at inlibro.com> ---
Created attachment 91356
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=91356&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>
Signed-off-by: Bouzid Fergani <bouzid.fergani at inlibro.com>

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


More information about the Koha-bugs mailing list