Bug 5601 Fix processing of DueDate return
authorColin Campbell <colin.campbell@ptfs-europe.com>
Wed, 12 Jan 2011 06:34:21 +0000 (07:34 +0100)
committerChris Cormack <chrisc@catalyst.net.nz>
Wed, 12 Jan 2011 06:30:25 +0000 (19:30 +1300)
commitd4842d45601bd0f9c1bd33bf7978586ae746888f
treee7bcb4e2b6ef1b6b662513a2252f72bea3618c71
parentaf60ade73b0ac5c15308994632b45f99b0b8ae1b
Bug 5601 Fix processing of DueDate return

item duedate is not a datetime entity but a string retrieved
direct from the db that only needs restructuring
checkout was doing so but item_info was pretending it was in secs
(actually Item.pm manipulated then overwrote it!!)
assume the date in the db is correct (otherwise madness ensues)
dont try to second guess it
As duedates do not yet include a time element assume end of day
as a safety first

[F. Demians] I confirm Joe Atzberger diagnostic. That's a bug reported by a
library. I've tested Colin Campell solution. It fixes the bug.

Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
C4/SIP/ILS/Item.pm
C4/SIP/Sip.pm
C4/SIP/Sip/MsgType.pm