commit b82a28e7085fa3b3a7ca131b518b21b4ed9bd502
parent c185ffc7280c515095a3797ed58d4480891bf56e
Author: Dan Stillman <dstillman@zotero.org>
Date: Tue, 16 Apr 2013 01:10:42 -0400
Extra file sync debugging
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git 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);
})