commit 6d9260934d06974f12f685057d16c20e78f8f1f0
parent 9b9c186b4c09584f9159c2cbcfc4d34a9d7d121f
Author: Dan Stillman <dstillman@zotero.org>
Date: Mon, 23 Jan 2012 14:37:11 -0500
Remove accessDate debugging
Diffstat:
1 file changed, 0 insertions(+), 9 deletions(-)
diff --git 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;
}