Extra file sync debugging
This commit is contained in:
parent
c185ffc728
commit
b82a28e708
1 changed files with 4 additions and 0 deletions
|
@ -1002,6 +1002,10 @@ Zotero.Sync.Storage.WebDAV = (function () {
|
||||||
|
|
||||||
var lastModified = req.getResponseHeader("Last-Modified");
|
var lastModified = req.getResponseHeader("Last-Modified");
|
||||||
var date = new Date(lastModified);
|
var date = new Date(lastModified);
|
||||||
|
// TEMP
|
||||||
|
if (date.getTime() == 0) {
|
||||||
|
Zotero.debug(lastModified);
|
||||||
|
}
|
||||||
Zotero.debug("Last successful WebDAV sync was " + date);
|
Zotero.debug("Last successful WebDAV sync was " + date);
|
||||||
return Zotero.Date.toUnixTimestamp(date);
|
return Zotero.Date.toUnixTimestamp(date);
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in a new issue