diff --git a/chrome/content/zotero/bindings/attachmentbox.xml b/chrome/content/zotero/bindings/attachmentbox.xml index 7fb7fb2e4..2d6b29513 100644 --- a/chrome/content/zotero/bindings/attachmentbox.xml +++ b/chrome/content/zotero/bindings/attachmentbox.xml @@ -273,7 +273,7 @@ if (this.displayDateModified) { this._id("dateModified-label").value = Zotero.getString('itemFields.dateModified') + Zotero.getString('punctuation.colon'); - var mtime = this.item.attachmentModificationTime; + var mtime = yield this.item.attachmentModificationTime; if (mtime) { this._id("dateModified").value = new Date(mtime).toLocaleString(); }