Koha-clms/Koha
Tomas Cohen Arazi 99a70e30a0 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>

Conflicts:

	Koha/DateUtils.pm

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2012-08-07 08:53:45 +12:00
..
Indexer Bug 7818: utility to generate DOM indexing configs 2012-06-26 09:15:28 +12:00
Template/Plugin Bug 7562 Add strict & warnings to KohaDates Plugin 2012-04-03 18:11:46 +02:00
Calendar.pm Bug 8251 - Follow up, use 'day' instead of 'days' for Datetime::truncate 2012-08-07 08:53:45 +12:00
DateUtils.pm Bug 8251 - Follow up, use 'day' instead of 'days' for Datetime::truncate 2012-08-07 08:53:45 +12:00