]> git.evergreen-ils.org Git - 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:46 +0000 (15:17 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Thu, 31 Mar 2011 15:17:46 +0000 (15:17 +0000)
commit14e6cc732ce96be27f4af4ca92e4464d62d21963
tree1242b56d366c991430860be5d813492d980ab482
parentab2c2dc337206c48602e9f05b8a1949de7e95ad9
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/branches/rel_2_1@19918 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