diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml index 9d862a7e0..705d03f99 100644 --- a/chrome/content/zotero/bindings/itembox.xml +++ b/chrome/content/zotero/bindings/itembox.xml @@ -1260,30 +1260,21 @@ case 'dateSent': case 'dateDue': case 'accepted': - Zotero.debug('============'); - Zotero.debug(fieldName); - Zotero.debug(valueText); if (valueText) { var date = Zotero.Date.sqlToDate(valueText, true); - Zotero.debug(date + ''); if (date) { // If no time, interpret as local, not UTC if (Zotero.Date.isSQLDate(valueText)) { - Zotero.debug('='); date = Zotero.Date.sqlToDate(valueText); - Zotero.debug(date + ''); valueText = date.toLocaleDateString(); } else { - Zotero.debug('-'); valueText = date.toLocaleString(); } } else { valueText = ''; } - Zotero.debug('=='); - Zotero.debug(valueText); } break; }