]> git.koha-community.org Git - koha.git/commit
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)
committerMason James <mtj@kohaaloha.com>
Fri, 28 Aug 2015 05:13:31 +0000 (17:13 +1200)
commitf0673e738b02fde26f8192009c2ee5d7398bbe7e
treed076be48d8f9d37c4bc98b9248c2cd3ce22fa8c9
parentef48b139cfd72ae2ddba0d8b6a30b27fdabff71b
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: Mason James <mtj@kohaaloha.com>
Koha/DateUtils.pm
Koha/Template/Plugin/KohaDates.pm
t/DateUtils.t
t/db_dependent/Koha_template_plugin_KohaDates.t