[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
Thu Dec 13 22:21:13 CET 2018


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

--- Comment #9 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Jonathan Druart from comment #8)
> (In reply to Jonathan Druart from comment #7)
> > Kyle, Can you give an example please? How would you display table.column in
> > iso format without the time part?
> 
> [% table.column | $KohaDates dateformat => 'iso' %]

or [% KohaDate.output_preference( str => table.column, dateformat => 'iso',
dateonly => 1 %]

Is that what you had in mind?

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


More information about the Koha-bugs mailing list