www

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

commit b6af89309d81507d2f609a2283b2d56557a6fe2a
parent a2d9dbba8341ddeb06f0bc54f2b83a547c95d5eb
Author: Dan Stillman <dstillman@zotero.org>
Date:   Wed,  3 Feb 2010 04:53:56 +0000

Missed file from r5699


Diffstat:
Mchrome/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 @@ -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; });