]> 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>
Sat, 21 Jan 2012 04:39:35 +0000 (23:39 -0500)
commit29820c834c32b557feef085102a877cc985b2f77
tree5e7d104672a45eafe44d5dc5ce4b6b4e8155b843
parent0daec463025469d8e7f440568061903b32ef0b30
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>
(cherry picked from commit 0942a21db2a82c002c75f5d303561b9c39a24914)

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