]> git.koha-community.org Git - koha.git/commit
Bug 11468: Remove given/when from Koha::Dateutils
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 2 Jan 2014 14:42:16 +0000 (14:42 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 6 Jan 2014 05:49:29 +0000 (05:49 +0000)
commitb529ca00e0cac093fc32a1d123cdbcc84582c155
tree16c367dd880c1be98b1d7209b2e0eee84f55f020
parent81a302360aea10bca1598b32b711c48216e486ac
Bug 11468: Remove given/when from Koha::Dateutils

given and when give warnings due to their experimental
status as of perl 5.18. Replace the construct with
an if/elsif to avoid the keywords

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Passes all tests and QA script, especially t/DateUtils.t.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Koha/DateUtils.pm