]> git.koha-community.org Git - koha.git/commit
Bug 9479: The member notices page doesn't display dates in the syspref format
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 24 Jan 2013 10:50:08 +0000 (11:50 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 24 Apr 2013 21:51:58 +0000 (09:51 +1200)
commitd892aa49d14b794b9336c4d6076fe9d048c6b437
tree214dbcb3c366e3a09ab27bd520b212842e1f3634
parent2ab1400702b3602106e1291cc95b22a2d8e09710
Bug 9479: The member notices page doesn't display dates in the syspref format

In order to let the KohaDates plugin display a datetime, this patch
modify this plugin.
Now it uses Koha::DateUtils instead of C4::Dates.

Test plan:
- check that the date format on the member notices page
  (members/notices.pl) is displayed according your syspref dateformat.
- check that existing dates are always in the good format (without the
  hours) e.g. acqui/histsearch.pl, acqui/basket.pl, etc.
- Modify your syspref and recheck the previous pages

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
This is a nice addition, and works according to the test plan. A nice
follow-up would be to create a system pref for formatting times
(12/24hr).

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Fixed a tab in notices.tt to make QA script happy.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Koha/Template/Plugin/KohaDates.pm
koha-tmpl/intranet-tmpl/prog/en/modules/members/notices.tt