var cpdNodes = {};
/* showDueDate will show the due date in the OPAC */
-var showDueDate = false;
+var showDueDate = true;
/* showDueTime will show the due time (hours and minutes) in the OPAC;
if showDueDate is false, then showDueTime has no effect
*/
-var showDueTime = false;
+var showDueTime = true;
function cpdBuild( contextTbody, contextRow, record, callnumber, orgid, depth, copy_location ) {
var i = cpdCheckExisting(contextRow);
time = time.replace(/(T\d\d:\d\d:\d\d)([+-]\d\d)(\d)/, "$1$2:$3");
var d = dojo.date.stamp.fromISOString(time);
if(!d) return ""; /* date parse failed */
- return d.iso8601Format('YMD');
+ //return d.iso8601Format('YMD');
+ return dojo.date.locale.format(d, {"formatLength": "medium"});
}
function _trimSeconds(time) {