[OPEN-ILS-GENERAL] due date bug in Evergreen 2.x

Jason Etheridge jason at esilibrary.com
Thu Mar 31 11:29:22 EDT 2011


Hey folks,

We found a bug in the 2.x series of Evergreen that happens because of
today's date, the 31st.  If you try to set a due date for a checkout
(existing or new) to a date in April (or any month with less than 31
days), the date will be thrown off into the following month (this is
because, for example, at a certain point in the code, a date is being
told it is April 31st, before a more specific and correct date is
chosen, and since April 31st doesn't exist, it gets moved a few days
forward into May, and then the date is set.  So an attempt at using
4-11-2011 results in 5-11-2011).

I've committed a fix here: http://svn.open-ils.org/trac/ILS/changeset/19919

Equinox customers on 2.0 will be getting this fix very shortly, but I
wanted to make sure others were aware of it.

-- 
Jason Etheridge
 | VP, Tactical Development
 | Equinox Software, Inc. / Your Library's Guide to Open Source
 | phone:  1-877-OPEN-ILS (673-6457)
 | email:  jason at esilibrary.com
 | web:  http://www.esilibrary.com


More information about the Open-ils-general mailing list