]> 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)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 16 Jan 2012 20:59:41 +0000 (15:59 -0500)
commit0942a21db2a82c002c75f5d303561b9c39a24914
tree3b5345c7184fc6d1067c13716c918a5adfcae0dc
parent6790357243223ff21bd58ea8d8d88b81f92e2b34
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>
(cherry picked from commit 01875b565d7c04b3b00ba1986f824cae7d1fb2a9)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
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