]> git.evergreen-ils.org Git - working/Evergreen.git/commit
Logic error trying to merge the date component of one date object with the time compo...
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 31 Mar 2011 15:17:19 +0000 (15:17 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 31 Mar 2011 15:17:19 +0000 (15:17 +0000)
commita789932ab71a02c3b8e316175c5dc2c1a509cfe8
treeb63095d35a090ee5ced381df4cf69e5e0ef241c4
parent1944b2c4cd3cc492e42d3728a31c007741666746
Logic error trying to merge the date component of one date object with the time component of another.  We were trying to use the time object and update it piecemeal, which resulted in non-sensical dates that were forced to wrap.  For example, if the date object was to set to March 31, 2011, and we tried .setMonth(3) on it to change it to April, that would result in an April 31st, which doesn't exist, and the date thus moves forward a certain number of days into May.

This affects Check Out, dedicated Renew interface, and the various date picking functions in Items Out and Holds interfaces.

git-svn-id: svn://svn.open-ils.org/ILS/trunk@19917 dcc99617-32d9-48b4-a31d-7c20da2025e4
Open-ILS/xul/staff_client/chrome/content/util/timestamp.js
Open-ILS/xul/staff_client/server/circ/checkout.js
Open-ILS/xul/staff_client/server/circ/renew.js