if (backdate && (backdate == util.date.formatted_date(new Date(),'%Y-%m-%d')) ) backdate = null;
//var params = { 'barcode' : barcode };
- if (backdate) params.backdate = util.date.formatted_date(backdate + ' 00:00:00','%{iso8601}');
+ if (backdate) params.backdate = util.date.formatted_date(backdate,'%{iso8601}');
if (typeof params.disable_textbox == 'function') {
try { params.disable_textbox(); }
if (thaw_date || thaw_date == '') {
circ.util.batch_hold_update(
hold_list,
- { 'frozen' : 't', 'thaw_date' : thaw_date == '' ? null : util.date.formatted_date(thaw_date + ' 00:00:00','%{iso8601}') },
+ { 'frozen' : 't', 'thaw_date' : thaw_date == '' ? null : util.date.formatted_date(thaw_date,'%{iso8601}') },
{ 'progressmeter' : progressmeter, 'oncomplete' : function() { obj.clear_and_retrieve(true); } }
);
}
if (expire_time || expire_time == '') {
circ.util.batch_hold_update(
hold_list,
- { 'expire_time' : expire_time == '' ? null : util.date.formatted_date(expire_time + ' 00:00:00','%{iso8601}') },
+ { 'expire_time' : expire_time == '' ? null : util.date.formatted_date(expire_time,'%{iso8601}') },
{ 'progressmeter' : progressmeter, 'oncomplete' : function() { obj.clear_and_retrieve(true); } }
);
}
}
//alert('backdate = ' + backdate);
if (backdate) {
- backdate = util.date.formatted_date(backdate + ' 00:00:00','%{iso8601}');
+ backdate = util.date.formatted_date(backdate,'%{iso8601}');
var barcodes = util.functional.map_list(retrieve_ids,function(o){return o.barcode;});
var do_not_move_these = {};
for (var i = 0; i < barcodes.length; i++) {