[Koha-bugs] [Bug 5601] SIP Due dates miscalculated via DateTime

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 12 02:55:48 CET 2011


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=5601

--- Comment #1 from Colin Campbell <colin.campbell at ptfs-europe.com> 2011-01-12 01:55:45 UTC ---
Actually there is no need to process duedate here as a datetime value at all as
it is never manipulated as such its just the iso format string from the db. We
should pass as is but reformat as required as in checkout. (If we were to need
to do so we should provide a DateTime::TimeZone initialized to local in case TZ
is not set.)
The date processing was a bit messy all told. ILS/Item.pm did all the
manipulation as well then immediately overwrote the result with the string it
had just deconstructed. 
Removed ILS/Item.pm and Sip.pm's dependencies on DateTime.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Koha-bugs mailing list