]> git.koha-community.org Git - koha.git/commit
Bug 929 : Followup fixing date formatting
authorChris Cormack <chrisc@catalyst.net.nz>
Thu, 29 Dec 2011 08:46:51 +0000 (21:46 +1300)
committerPaul Poulain <paul.poulain@biblibre.com>
Fri, 6 Jan 2012 12:52:08 +0000 (13:52 +0100)
commit01875b565d7c04b3b00ba1986f824cae7d1fb2a9
tree797214665fbc10051d18c8376c31ade3b97820fa
parentddb6883b578830c75a4d73ca84d630998f89ee6c
Bug 929 : Followup fixing date formatting

This patch introduces a Filter (KohaDates) for use in templates
[% USE KohaDates %]
[% somevariable | $KohaDates %]

This will format the date in the format specified by the systempreference

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
C4/Templates.pm
Koha/Template/Plugin/KohaDates.pm [new file with mode: 0644]
acqui/ordered.pl
acqui/spent.pl
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/ordered.tt
koha-tmpl/intranet-tmpl/prog/en/modules/acqui/spent.tt