www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 0fd93c2711725f7862ef40830c8122d86c13525d
parent c89bb0448475dcf60ea97b86e8cf28f83db9a46d
Author: Dan Stillman <dstillman@zotero.org>
Date:   Fri, 20 Jan 2012 17:26:10 -0500

Revove access date debug output

This reverts commit 20afa7e5610847b90534c5ef1a07c0149d483fa5.

Diffstat:
Mchrome/content/zotero/bindings/itembox.xml | 10----------
1 file changed, 0 insertions(+), 10 deletions(-)

diff --git a/chrome/content/zotero/bindings/itembox.xml b/chrome/content/zotero/bindings/itembox.xml @@ -1802,31 +1802,21 @@ if (value != '') { switch (fieldName) { case 'accessDate': - Zotero.debug('=========='); - Zotero.debug(value); // If just date, don't convert to UTC if (Zotero.Date.isSQLDate(value)) { - Zotero.debug('1'); var localDate = Zotero.Date.sqlToDate(value); value = Zotero.Date.dateToSQL(localDate).replace(' 00:00:00', ''); } else if (Zotero.Date.isSQLDateTime(value)) { - Zotero.debug('2'); var localDate = Zotero.Date.sqlToDate(value); value = Zotero.Date.dateToSQL(localDate, true); } else { - Zotero.debug('3'); var d = Zotero.Date.strToDate(value); - Zotero.debug(d); value = null; if (d.year && d.month != undefined && d.day) { d = new Date(d.year, d.month, d.day); - Zotero.debug('-'); - Zotero.debug(d); value = Zotero.Date.dateToSQL(d).replace(' 00:00:00', ''); - Zotero.debug('='); - Zotero.debug(value); } } break;