[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:32:00 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21824
--- Comment #11 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I am not convinced we really need this additional parameter (and even less the
new subroutine).
The following is much more readable IMO:
[% USE date %]
[% date.format(biblio.timestamp, '%F') %]
[% date.format(biblio.timestamp, '%Y-%m-%d') %]
The only advantage would be to take into account the timezone if defined in the
config.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list