Colin Campbell
b946d16ec5
Bug 5549 : Format due dates in opac
...
Further change to ensure that where dates are formatted from the
db form the duedate loses the 23:59
2012-03-20 13:24:51 +13:00
Colin Campbell
372216b9c8
Bug 5549 : Don't confuse the users with an irrelevant time
...
If the book is due at 23:59 the due time is irrelevant
and potentially confusing to the user add a DateUtils
routine that strips that off the returned display date
2012-03-20 13:24:32 +13:00
Colin Campbell
8cc5b3452e
Bug 5549 : DateUtils add subroutine format_sqldatetime
...
convenience method for a frequent use of the other
methods in the module
2012-03-20 12:35:40 +13:00
Colin Campbell
170508e7a0
Bug 5549 : DateUtils handling odd cases
...
Really we should not have them but they are in
existing code. They were not handled 100%
added appropriate tests
2012-03-20 12:28:22 +13:00
Colin Campbell
22139db49d
Bug 5549 : Add Tests For Koha::DateUtils
...
Add testscript for DateUtils
Add a parameter to override system pref to output_pref not for
use in calling software (its superfluous) but to enable testing
of call with different settings
2012-03-20 12:24:37 +13:00
Colin Campbell
00bf7cc774
Bug 5549 : Get basic 24 Hr loan working
2012-03-20 12:13:34 +13:00
Colin Campbell
0ce31bfba9
Bug 5549 : Pass time_zone correctly
2012-03-20 12:12:51 +13:00
Colin Campbell
b7b6a8e388
Bug 5549 : Due Date calculation in issue needs to be HH:MM aware
2012-03-20 12:12:09 +13:00
Colin Campbell
894a393950
Bug 5549 : Add DateUtils Module
...
Wraps DateTime object creation from a string
as a tool to enable move to dt objects for more
flexibility
2012-03-20 12:10:57 +13:00