[open-ils-commits] r8311 -
trunk/Open-ILS/xul/staff_client/server/admin
svn at svn.open-ils.org
svn at svn.open-ils.org
Thu Jan 3 16:22:59 EST 2008
Author: erickson
Date: 2008-01-03 15:59:14 -0500 (Thu, 03 Jan 2008)
New Revision: 8311
Modified:
trunk/Open-ILS/xul/staff_client/server/admin/closed_dates.js
Log:
showing last year closed dates in addition to this year and beyond
Modified: trunk/Open-ILS/xul/staff_client/server/admin/closed_dates.js
===================================================================
--- trunk/Open-ILS/xul/staff_client/server/admin/closed_dates.js 2008-01-03 20:49:54 UTC (rev 8310)
+++ trunk/Open-ILS/xul/staff_client/server/admin/closed_dates.js 2008-01-03 20:59:14 UTC (rev 8311)
@@ -128,7 +128,7 @@
}
function cdDrawRange( start, end, alertSuccess ) {
- start = (start) ? start : new Date().getYear() + 1900 + '-01-01';
+ start = (start) ? start : new Date().getYear() + 1899 + '-01-01'; /* include last year's closed info for comparison */
end = (end) ? end : '3001-01-01';
if(alertSuccess) alertId('cd_update_success');
More information about the open-ils-commits
mailing list