]> git.koha-community.org Git - koha.git/commit
Bug 8251 - Follow up, use 'day' instead of 'days' for Datetime::truncate
authorTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 21 Jun 2012 14:27:20 +0000 (11:27 -0300)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 16 Jul 2012 11:45:45 +0000 (13:45 +0200)
commit9d4e241adadc9a3c62d94a2d487a738e9490925a
treebc8afca2e28f448ec6980b919151cb8765e5d44f
parentc6f1f64cb71e9d8ec560a201a4a0bc16c1510f3f
Bug 8251 - Follow up, use 'day' instead of 'days' for Datetime::truncate

As noted in comment #4 by Jonathan Druart, this should be fixed in every call
to DateTie::truncate function. This patch does exactly that.

julian_m tested that truncate( to => 'days' ) didn't actually do anything, so
it is understandable that this 'fix' might introduce new bugs as we might have
'fixed' at a higher libs level this issue.

'minutes' is used in truncate function too, so fixing.

Signed-off-by: Dobrica Pavlinusic <dpavlin@rot13.org>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Circulation.pm
Koha/Calendar.pm
Koha/DateUtils.pm
circ/overdue.pl
circ/returns.pl
members/moremember.pl