From b82a28e7085fa3b3a7ca131b518b21b4ed9bd502 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Tue, 16 Apr 2013 01:10:42 -0400 Subject: [PATCH] Extra file sync debugging --- chrome/content/zotero/xpcom/storage/webdav.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/xpcom/storage/webdav.js b/chrome/content/zotero/xpcom/storage/webdav.js index ee0c5578c6..756934c23f 100644 --- a/chrome/content/zotero/xpcom/storage/webdav.js +++ b/chrome/content/zotero/xpcom/storage/webdav.js @@ -1002,6 +1002,10 @@ Zotero.Sync.Storage.WebDAV = (function () { var lastModified = req.getResponseHeader("Last-Modified"); var date = new Date(lastModified); + // TEMP + if (date.getTime() == 0) { + Zotero.debug(lastModified); + } Zotero.debug("Last successful WebDAV sync was " + date); return Zotero.Date.toUnixTimestamp(date); })