]> git.koha-community.org Git - koha.git/commit
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 Nighswonger <chris.nighswonger@gmail.com>
Wed, 12 Jan 2011 18:42:20 +0000 (13:42 -0500)
commit85943480d3580b3ee1d8f7a2ca189dc59b838f8b
tree0dc370a8c0f2c7311eac4ea01ae8ceebf6a5dd0b
parent9f40dccb22b04d23bc9b18bdfb5122283baf593e
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>
(cherry picked from commit d4842d45601bd0f9c1bd33bf7978586ae746888f)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/SIP/ILS/Item.pm
C4/SIP/Sip.pm
C4/SIP/Sip/MsgType.pm