Bug 12669: Centralize the timezone handle into Koha::DateUtils
authorJonathan Druart <jonathan.druart@biblibre.com>
Tue, 16 Sep 2014 11:15:57 +0000 (13:15 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Fri, 20 Feb 2015 13:20:30 +0000 (10:20 -0300)
commitf82064286d3bc97031ad784901716a7a327839bc
tree7dd8ca92d30de1279744fb7d8cd7daac79b70c58
parente8f9000fcca4fd542f7f82e2288d3a627053dd77
Bug 12669: Centralize the timezone handle into Koha::DateUtils

This patch adds unit tests for the previous changes and centralize the
timezone handle into the Koha::DateUtils module.
Like that the behavior will affect all date manipulations using this
module (should be all dates in Koha).

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Koha/DateUtils.pm
Koha/Template/Plugin/KohaDates.pm
t/DateUtils.t
t/db_dependent/Koha_template_plugin_KohaDates.t