Fix attachment file mtime in right pane
This commit is contained in:
parent
ab36dda6e7
commit
cb6fae694c
|
@ -273,7 +273,7 @@
|
||||||
if (this.displayDateModified) {
|
if (this.displayDateModified) {
|
||||||
this._id("dateModified-label").value = Zotero.getString('itemFields.dateModified')
|
this._id("dateModified-label").value = Zotero.getString('itemFields.dateModified')
|
||||||
+ Zotero.getString('punctuation.colon');
|
+ Zotero.getString('punctuation.colon');
|
||||||
var mtime = this.item.attachmentModificationTime;
|
var mtime = yield this.item.attachmentModificationTime;
|
||||||
if (mtime) {
|
if (mtime) {
|
||||||
this._id("dateModified").value = new Date(mtime).toLocaleString();
|
this._id("dateModified").value = new Date(mtime).toLocaleString();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user