Koha-clms/Koha
Tomas Cohen Arazi 9d4e241ada 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>
2012-07-16 13:45:45 +02:00
..
Cache Bug 8092 follow-up: Fix perlcritic violations 2012-06-14 17:56:56 +02:00
Indexer Bug 7818: utility to generate DOM indexing configs 2012-06-09 11:44:00 +02:00
Template/Plugin Bug 8004 - Items on Hold Lose Transfer After Being Scanned Twice 2012-06-11 15:53:57 +02:00
Cache.pm Bug 8092: Cheer up Jenkins on loading Cache modules 2012-06-11 16:55:43 +02:00
Calendar.pm Bug 8251 - Follow up, use 'day' instead of 'days' for Datetime::truncate 2012-07-16 13:45:45 +02:00
DateUtils.pm Bug 8251 - Follow up, use 'day' instead of 'days' for Datetime::truncate 2012-07-16 13:45:45 +02:00