Bug 11468: Remove given/when from Koha::Dateutils
commitb529ca00e0cac093fc32a1d123cdbcc84582c155
authorColin Campbell <colin.campbell@ptfs-europe.com>
Thu, 2 Jan 2014 14:42:16 +0000 (2 14:42 +0000)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 6 Jan 2014 05:49:29 +0000 (6 05:49 +0000)
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