From b6af89309d81507d2f609a2283b2d56557a6fe2a Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 3 Feb 2010 04:53:56 +0000 Subject: [PATCH] Missed file from r5699 --- chrome/content/zotero/xpcom/data/item.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chrome/content/zotero/xpcom/data/item.js b/chrome/content/zotero/xpcom/data/item.js index d982ea69e..ebfb31199 100644 --- a/chrome/content/zotero/xpcom/data/item.js +++ b/chrome/content/zotero/xpcom/data/item.js @@ -3012,7 +3012,7 @@ Zotero.Item.prototype.__defineSetter__('attachmentSyncState', function (val) { * Note: This is the mod time of the file itself, not the last-known mod time * of the file on the storage server as stored in the database * - * @return {Number} File modification time as UNIX timestamp + * @return {Number} File modification time as timestamp in milliseconds */ Zotero.Item.prototype.__defineGetter__('attachmentModificationTime', function () { if (!this.isAttachment()) { @@ -3028,7 +3028,7 @@ Zotero.Item.prototype.__defineGetter__('attachmentModificationTime', function () return undefined; } - return Math.round(file.lastModifiedTime / 1000); + return file.lastModifiedTime; });